Questions tagged [routing]
the process by which data packets on communication networks are forwarded into the direction of their ultimate destination by routers.
3,703
questions
0
votes
1
answer
29
views
Networkd Carrier Loop And Conflicting Default Route Declarations
I got this system with 2 NICs, 4 ports on each and a total of 7 are up and used. For some reason networkd goes in a carrier lost and gained loop. One of the ports goes down, but is shown as up, no ...
0
votes
1
answer
67
views
Route all TCP traffic from port to another host:port [closed]
I have a wireguard config, creating a VPN between a remote server (10.0.1.1) and my local machine (10.0.1.2), so that the server can reach the local machine and vice versa.
I'd like the server to ...
-1
votes
1
answer
53
views
PFSense: Subnet can not communicate to the outside
I have multiple subnets on a hypervisor with four Ethernet ports. Two are called subnets. Both of them are utilizing a NordVPN tunnel as their default gateway.
The first subnet LAN can talk to ...
0
votes
0
answers
19
views
Email Routing is currently disabled and not routing emails. - but... it is working
Im using cloudflare as my domain host and google business email.
We have not had any noticable issues receiving or sending email, however when I logged into cloudflare today I see the error message in ...
2
votes
0
answers
84
views
How Linux kernel selects the source IP of outgoing data packets?
I have multiple IP addresses assigned to a network interface, each corresponding to a different outbound IP.
:~# curl --interface 112.73.59.255 ip.sb
157.119.73.25
Using the above command, I ...
1
vote
1
answer
162
views
Port unreachable when wireguard is connected
I have a server that routes all of its traffic through wireguard. When I start the wireguard, all ports listening on this server's public IP are unavailable - even ssh does not work.
What I want is to ...
0
votes
0
answers
15
views
Flask or one of its derivatives: one route to handle multiple endponts that are defined in a config file?
We are using Flask-3.0.2 under Python 3.11.
We want to write a highly configurable REST service which manages a few dozen endpoints whose characteristics are defined in a config file (either YAML or ...
-1
votes
0
answers
119
views
Redirect all HTTP/HTTPS traffic through WireGuard to external HTTP Proxy
I have set up a Wireguard VPN whereby all of my devices connect to a Wireguard peer running on a computer with a public IP address (host).
My Wireguard is set up so that clients connect to the host on ...
0
votes
0
answers
53
views
UFW blocks traffic despite there is an allow rule
I have Ubuntu server with OpenVPN server running there.
IP addresses as follows:
enp1s0: 192.168.3.67/24
tun0: 172.18.37.1/24
OpenVPN is configured so that devices behind the VPN client are ...
0
votes
1
answer
118
views
Which ip is chosen as source ip when sending a multicast packet on a specific interface with multiple ip addresses?
I am trying to send a multicast packet on a network interface with multiple host ip addresses(lets say ips A and B). How can I specify the source ip field of said multicast packet to the host ip that ...
0
votes
0
answers
34
views
VPN netmap multiple sites with same LAN network address
I have some issues applying netmapping to a case for which I could not find much info about on the web.
I am trying to set up a VPN network (server ip: 10.1.0.1) where a user (VPN IP: 10.1.0.2) can ...
0
votes
0
answers
30
views
Debian Firewall will not forward traffic from interface x to tun0
I want to have a debian system working as a router with openvpn traffic, where all traffic on interface x should be forwarded to openvpn interface y.
Following pic shows my network setup, more or less ...
0
votes
0
answers
74
views
Reply on same interface from which the request came?
Virtual machine with two network interfaces. Both interfaces have a default gateway. One is connected to the Intranet. The other is connected to the Internet.
...
0
votes
1
answer
40
views
No internet connection after setuping OpenConnect server on ArchLinux
ip tuntap add mode tun dev vpn0
ip addr add 192.168.2.2/24 dev vpn0
# systemctl restart ocserv
iptables -A INPUT -p tcp --dport 22 -j ACCEPT
iptables -A INPUT -p tcp --dport 8443 -j ACCEPT
iptables -...
0
votes
1
answer
199
views
Dockerized http services are not accessible from nordvpn meshnet
I am setting up a home server (using ubuntu server 22.04) with several services deployed on various ports.
For example, my homepage server is deployed on port 3000.
When on the local network:
Ssh ...
0
votes
1
answer
61
views
ocserv VPN with 2 NIC CentOS6 routes
I have a working installation of ocserv 0.12.6 on an old CentOS 6 machine with 2 physical interfaces: eth0 (192.168.10.155) and eth1 (192.168.0.190).
eth0 has a manual configuration and uses default ...
-1
votes
1
answer
91
views
Routing with an Allied Telesis switch and ARP bottleneck
I use an Allied Telesis x610/24-Ts switch as a central switch in a company building. The central switch connects several edge switches and also provides routing between VLANs.
The forwarding ...
0
votes
2
answers
208
views
What is systemd "refresh-policy-routes" [AWS Linux 2023]?
I'm trying to find the cause of an instance outage, which seems to be from a scheduled systemd refresh-policy-routes service, followed by a 404 Error call to EC2RoleProvider. After the error, all ...
0
votes
2
answers
114
views
Routing with ipsec tunnel
We are trying to determine how to route traffic from our office 1 worker subnet through the office 1 server subnet over the IPSec tunnel to our office 2 server subnet.
We want the office 2 worker ...
0
votes
0
answers
22
views
Mikrotik cloud router with vlans routing
I have a MikroTik router configured with 30 VLANs, all passing through a trunk via a bridge. The router provides internet access via three PPP links with load balancing, and also local services to ...
0
votes
1
answer
76
views
Interpreting a route that does not specify a gateway
The following line is part of the output of ip route show
10.244.0.0/24 dev kube-bridge proto kernel scope link src 10.244.0.1
The above route has no gateway specified. Does this mean all it does is ...
0
votes
1
answer
86
views
Dhcpcd not assigning IPV6 address to LAN Interface
I am trying to use Raspberry Pi Zero 2 W as an IPV6 router having a debian based os. I have a usb wifi adapter (Interface Wlan1 ) facing wan . The inbuilt wifi (Wlan0) is facing LAN with hostapd ...
0
votes
0
answers
21
views
How to 'rename' IPs in a subnet while they go through WireGuard?
first question here, I hope I'm at the right spot.
I have successfully configured WireGuard on my Linux server and am able to connect my laptop to it. The laptop is able to access a subnet that's on ...
0
votes
0
answers
40
views
Routing setup with nmcli does not seem to work correctly
I have an ec2 instance with 2 interfaces (ens5 and ens6) attached both using the same subnet. ens6 has a private IP assigned along with eip. I am trying to route out this interface but seems ...
-2
votes
1
answer
60
views
Can two LAN networks both at one level behind a router higher up the routing chain use the same subnet mask and network ID? [duplicate]
Can two LAN networks both at one level behind a router higher up the routing chain use the same subnet mask and network ID? See the diagram below.
This question was already answered here, but I am ...
-2
votes
2
answers
88
views
Ip routing two subnets
I've got two subnets
A: 192.168.2.0/24. Within A we have got a firewall and a connection to the internet.
B: 172.16.12.0/24.
They are connected with each other via a switch and both subnets are ...
0
votes
1
answer
80
views
Creating a server with fixed IP that can be freely moved among networks
Given a public /24 prefix, announced via BGP, 192.0.2.0/24. I have split this prefix into various smaller networks. I would like to use 1-2 servers for the DNS server (forward and reverse) which needs ...
0
votes
0
answers
39
views
Route between ip adresses on same interface
I have on my linux host several vitualbox machines and one docker machine. Docker created the default network interface docker0 with ip=172.17.0.1/16. To connect vbox machine to the docker one I've ...
0
votes
1
answer
76
views
Ping from a network namespace to another EC2 instance not working without NAT rule
I have the below setup.
I have setup two EC2 instances. I have added the security group rules on both machine to allow ICMP traffic and both can ping each other.
On one machine I have created two ...
-2
votes
1
answer
65
views
Routing webserver access between LAN and VLAN
I have a LAN set up with IPs 10.0.0.X and a VLAN with 10.147.18.X (Zerotier) and I have a webserver (Plex) that is accessible within the VLAN. I have a ubuntu 22.04 pc connected directly to the LAN ...
0
votes
1
answer
193
views
Configuring 2nd and 3rd NIC on Ubuntu 22
I'm trying to install 2nd and 3rd NICs on a Ubunutu 22 VM running on VMWare.
At first setup new VM with 1 NIC - that was successful and able to go out to internet:
network
ethernets:
ens160:...
0
votes
0
answers
73
views
AWS EC2 networking
I've been trying to understand how exactly networking works for EC2 instances, more specifically I'm coming from on-prem infrastructure where I had dedicated networking devices (switches/routers) ...
-2
votes
1
answer
72
views
Multiple server processes on a Multihomed machine with one process bound to 0.0.0.0
I develop a data broker service that repeats individual device data onto multihomed IP addresses on a single interface. Each repeat server is a separate process bound to a specific TCP IP and port (e....
0
votes
2
answers
51
views
S2S VPN on AWS EC2 - routing issue for VPC
I'm trying to prepare VPN setup from scratch. I used Terraform + AWS + Strongswan. Basic diagram is attached here:
AWS diagram, S2S VPN
So I have VPC_left: 172.32.0.0/16 with subnet_left: 172.32....
0
votes
0
answers
56
views
Configuration to remote-site networking
Sorry if I miss some things or are unclear, I'm a bit noob in network.
We have this configuration of network:
I can't change local IP of remote site machine.
I can't use IPV6 because of software that ...
0
votes
0
answers
71
views
Route traffic to the Softether server via it's own vpn gateway
I want to route traffic to the Softether server via the VPN gateway. It may sound foolish, but for security reasons, some ports on the server have to be accessible only with the server's public IP ...
-2
votes
1
answer
52
views
How do I set up multiple networks to 1 computer with 4 ethernet cables with quad-nic (IS SOMETHING POSSIBLE?)
I'm not going to act like I know what I’m doing because obviously, I don’t. Complete n00b here.
So let's start with this. I have 4 networks. All 4 have their own router and switch.
Mega Computer has ...
0
votes
1
answer
403
views
Use Windows as a router
I need a client application to connect to a server in a different network. Another computer is connected to both networks as shown here:
Client Computer ...
0
votes
1
answer
50
views
How to route traffic from private LAN to specific public remote host via alternate gateway?
Overview
I am trying to deal with the following scenario:
+------+ (Internet) 50.a.b.c +---------+
| edge + eth0 <-----------------------------> + outpost |
+--+---+ 25.u.v.w ...
0
votes
1
answer
101
views
IPsec tunnel gets connected, Phase 2 is successful but no IP adapter is created thus tunnel does not work
I am trying to establish an IPsec tunnel between my virtual server and a customer's server. The IPsec tunnel gets established successfuly in Phase 2, but no IP gets added to my system.
This is the ...
0
votes
1
answer
121
views
nginx rewrite should be a loop
Is chatGPT bullsh!ttn me, or am I missing something obvious?
This is my question:
I have an nginx location block like this:
location / {
location ~ \.html {
# First send it back to ...
0
votes
0
answers
69
views
MIKROTIK ONE LAN - TWO WAN - TWO GATEWAY how to dispatch internet trafic depending on PC's gateway
On the LAN there are two configured type PC.
All PC belongs to the same network (ie : 192.134.234.0/24) but there are two different gateway:
192.134.134.253 et 192.134.134.254.Each of them are ...
0
votes
0
answers
33
views
Default gateway setup in different networks connected through intranet service
How do I setup default gateway on two different networks connected to a third network (home office) through a provider? the provider provides intranet service. The two sites need access to internet ...
0
votes
1
answer
43
views
route to VPN network
I have a VPN question and hope there is an answer in the ether. :-)
My setup so far: (layer 3)
OpenVPN Server: NIC eth0 10.85.202.20
tun
topology subnet
server 10.10.16.0 255.255.240.0
route 172.16.0....
0
votes
0
answers
287
views
send Windows Sandbox network traffic through host VPN connection
I want to run an application in a Windows Sandbox. The application must contact a server only accessible through the host Windows PC VPN connection. But Windows Sandbox network traffic only uses the ...
0
votes
1
answer
98
views
systemd-networkd: add second gateway for the second public ip
What is the recipe for adding a second gateway/route for the second public ip that the machine has for systemd-networkd (on the single interface that is used)? This is Alma9/systemd-252
L.E. to ...
0
votes
0
answers
32
views
When I create a bridge and make my ethernet port the bridge's master, what device does the kernel use for sending and receiveing
If I create a bridge and set its master to my ethernet port, how does the kernel send and receive packets?
# Create the bridge
ip link add name br0 type bridge
ip link set dev br0 up
# Make eno1 the ...
0
votes
0
answers
44
views
How to Set Up a Server to Route Local and Global Requests to Different Web Servers (Server1 and Server2)
I have 2 Servers (Server1 & Server2) where is each one should have a web application on its own
and I have a centralized server (for example DNS Server)
The Centralized server receives a URL ...
0
votes
0
answers
155
views
converting ip to netplan
I'm trying to convert a set of ip commands to a netplan configuration. I haven't had any luck so far, and I'm not sure why.
My script for creating the bridge is:
# Create the bridge
ip link add name ...
1
vote
1
answer
1k
views
Prevent routing loop with FwMark in Wireguard
I want to set up a VPN server so that the VPN connection is used only when accessing resources within the server. Normally, I'd do this by using the server's internal IP, but I want to use the domain ...