Questions tagged [routing]
the process by which data packets on communication networks are forwarded into the direction of their ultimate destination by routers.
3,683
questions
1
vote
0
answers
42
views
Using an Ubuntu Server VM as a router for a private subnet on an ESXi host [closed]
I have some Linux VMs on an ESXi 7 host, which all have addresses 172.16.0.x in the 172.16.0.0/24 subnet. They are all connected to a portgroup called internal_network on my vSwitch and they can all ...
0
votes
1
answer
44
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
50
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
82
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
21
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
17
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....
-1
votes
0
answers
35
views
How to access OpenVPN Client from server side LAN
My network looks like this:
-------------------------------
| OpenVPN Server |
| LAN address: 192.168.1.50 |
| tun0 pool: 10.8.0.0/24 |
-------------------------------
...
0
votes
0
answers
57
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
42
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
14
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
32
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
31
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
votes
0
answers
76
views
Partially route client VPN traffic through nested VPN tunnel
The goal is to let user (roadwarrior) access subnet A through Gateway A, but route all traffic to resource B on the internet through Gateway B only.
Roadwarrior -> Gateway A <-site-to-site> ...
1
vote
1
answer
231
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 ...
1
vote
0
answers
26
views
GCP VPC IPv6 routing to an OpenVPN instance
Previously, on premises, I successfully setup an OpenVPN server (on Ubuntu) that assigned globally routable IPv6 addresses to VPN clients (which is a project requirement). A generous /48 IPv6 prefix ...
0
votes
1
answer
107
views
Looking for a systematic approach to resolve a 403 error
I wonder, how to tackle this strange problem.
Update 2
Using your comments and answers this seems to be the current situation:
apparently constant over time
variable with "location" (like ...
0
votes
0
answers
125
views
Routing VPN traffic through VPN router
I have looked through lots of Double-VPN / VPN Chain questions over the internet and it looks like my case is a bit special.
Long story short. I have a Raspberry Pi acting as WiFi-to-USB-C dongle (...
0
votes
1
answer
40
views
iptables not accepting my rule
I am trying to add a rule to my iptables, so that traffic trying to connect on port 9091 is forwarded to a different IP address. When searching I found this answer, which seems to fit my exact use ...
0
votes
0
answers
24
views
iptables port forwarding rules only work for first response packet
I have the following scenario:
+---------------+ +-------------+ +-------------------------+
| PC | | Linux | | Router ...
0
votes
1
answer
74
views
Windows Server 2019 RRAS lab can't make NAT and routing work together
I setup a lab, but i can't make it work.
The lab is:
network
I can access the internet via 10.0.0.254.
If i configure RRAS with static routing, i can access the other network. But i can't access the ...
0
votes
1
answer
53
views
How to route all traffic going to specific address to localhost using nft?
I need intercept traffic going to external IP and reroute it to localhost. Its quite simple using iptables, but I could not understand how to make it work through nft. I create table and chain inside ...
0
votes
0
answers
38
views
How to change routes dynamically based on route availability on Linux?
I have an odd and somewhat specific routing question. I want to change routes/next-hop based on next-hop availability.
My setup is quite odd, and probably a far cry from any best practice.
It looks ...
0
votes
0
answers
52
views
Adding a whole /64 block to a network interface - again!
Okay, so, there were A LOT of different answers for this thing. Someone had the same problem as me.
Here's what i tried already from all these existing answers:
disabling DAD and enabling nonlocal ...
-1
votes
1
answer
105
views
OpenVPN - Server cannot access devices in client's LAN
I have an OpenVPN server (10.1.0.0, 255.255.255.0 VPN subnet) and a client with a local subnet of 192.168.1.0 255.255.255.0.
Server VPN IP is: 10.1.0.1
Client VPN IP is: 10.1.0.2
Server local IP: 172....
0
votes
1
answer
23
views
Managing and Securing OpenVPN Routing: Controlling Client Access to Subnets
In OpenVPN, the server.conf file can distribute a routing table, for example, I only distributed two subnets:
route 192.168.1.0 255.255.255.0
route 192.168.18.0 255.255.255.0
But clients can edit the ...
0
votes
1
answer
48
views
Windows can't reach IP host through two routes
Problem: Windows 10 can't reach an IP host behind two routers, where the path is specified in static routes.
Windows has the following setup:
Windows Host (192.168.3.1/24 for the local LAN with ...
0
votes
1
answer
49
views
Site to site routing rules
I have installed strongswan tunnel to Site to Site vpn providing in our datacenter. I have in iptables set up masquerade. That is working fine.
But now, I want to setup that same traffic with routing ...
0
votes
0
answers
73
views
Routing error in strongswan VTI config
I try to use strongswan to make tunnel between Server 1 and Server 2, and route traffic to specific host (8.8.8.8) through Server 2 using vti tunnel to make simple routes not ipsec polices.
The ...
0
votes
0
answers
12
views
Setting Up Proper Routing for SQL Instance in Different GCP VPCs without Public Exposure or Gateway VM
I'm facing a networking challenge with Google Cloud VPCs and peering, and I'm hoping to get some guidance on how to resolve it. Here's my setup:
I have two VPCs in Google Cloud:
VPC "bastion"...
0
votes
1
answer
70
views
Forward (NAT) port on FW to the device without having GW set on it?
In short:
Is it possible to access the device/server (without the GW address set in the Network configuration of this device) from outside the device's LAN?
Current setup:
I'm renting an ESXi server ...
0
votes
0
answers
19
views
How can I troubleshoot why packets aren't coming back from Hyper-V host to guest?
I have a Win11 host ("Host") running Hyper-V and I have a Win10 guest ("Guest"). My Win11 host may connect to the Internet via Cisco AnyConnect VPN.
Without VPN connected, Internet ...
0
votes
1
answer
60
views
VPN on Linux - IP routing issue
I got the following scenario:
an ubuntu server 20.04 lts, for simplicity named A server with the following network interfaces:
loopback
enp1s0 (wan) PUBLIC-IP/23
enp8s0 (lan) 10.9.96.3/20
ppp0 (l2tp) ...
0
votes
2
answers
256
views
How to change MS-SSTP (RRAS) server port?
I have a webservice on port 443 and 80 in IIS. I want run SSTP Server on port 8443. How can I change the default port (443) to 8443?
0
votes
1
answer
133
views
VLANs and Bridges on Debian to share the same address
Right now I have a simple topology with the debian gateway, few managed switches and access points.
I'd like to add 3 VLANs to my topology and maybe use 802.1Q on debian gateway, so that all the ...
0
votes
0
answers
25
views
How to forward UDP traffic between two interfaces using iptables
Good morning,
I need help to forward traffic in two interfaces on a debian12 server.
I have a server with two interfaces like this scheme:
INTERNET come on the ens224
|
LAN go to the ens192
I want ...
0
votes
0
answers
462
views
MACVLAN Docker containers on Synology NAS with 2 VLANs cannot reach the host
I have 2 VLANs on ETH1 port on Synology DSM 7.2. I use the MACVLAN driver, so my containers look like "seperate computers" on the network. I can reach the container from the network and I ...
0
votes
0
answers
82
views
Force torrents to be announced on another interface of a router
We have a MikroTik router with 2 WANs, main (good and expensive bandwidth) and backup. main is for our day-to-day use, and backup has slow bandwidth.
We have a Synology NAS handling the downloads, I ...
0
votes
1
answer
81
views
Access subnet from another subnet
I have ipv4 address 192.168.88.130 assigned by DHCP (cannot use static IP).
I have to access devices on 192.168.20.X by changing adapter settings to static and assigning some IP from 192.168.20.X, and ...
-1
votes
2
answers
195
views
How can I keep network routing internal?
I have a web server behind Nginx reverse proxy. When I access the server with a client from the same internal network via its secure URL, how can I ensure the traffic routing stays within the internal ...
1
vote
0
answers
131
views
Routing 2 public IP ranges on 2 bridges
I've set up a new Proxmox 8 server, and I'm struggling to get my networking set up correctly. A normal bridge interface with a single IP range is easy enough, but I can't seem to get my 2 IP ranges to ...
0
votes
1
answer
107
views
OpenVPN - Problems routing between clients in different subnets
I've been searching for many hours to try and solve a problem I am facing, but with no luck.
I have an OpenVPN (CentOS 7) setup consisting of a VPN server and clients, some of which are in different ...
1
vote
1
answer
62
views
TCP Packet Loss in nftable nat chain
I am trying to connect to a Minecraft server but get a connection Timeout when tryping to connect although the Server is showing up as online
Minecraft Multiplayer screen
This question meight seem out ...
-1
votes
1
answer
104
views
Route traffic between two interfaces on windows server
I have windows server and having two NIC lets say NIC1 and NIC2, I want to use one NIC for internet and other for my SIP traffic.
NIC is used for Internet and its IP is as follow
IP Pool: 192.168.0.0/...
0
votes
0
answers
48
views
Apache2 - serves a subdirectory as root but now other sites in subdirectories are broken
So I have a new tool installed on my webserver and it has a somewhat complicated folder structure, in order to get it to run, I put everything in a subdirectory and serve that as root of my domain.
...
0
votes
1
answer
70
views
Iptables duplicate/Mirror incoming UDP traffic from HOST1 to an external HOST2
I need an advice about the following scenario:
IoT devices are sending UDP packets to a 18.04 Ubuntu server environment (HOST1) on port 1234.
HOST1 processes the UDP packets as per the internal ...
0
votes
1
answer
98
views
Routing traffic between A and C using A-B wireguard's network
I'm having some difficulties setting up a routing between 3 nodes. Here's the situation:
A, B and R are wireguard (wg0) peers
R is a public hub (vpn.example.com) with IP 172.0.0.1
A is a peer ...
1
vote
1
answer
53
views
Route outgoing packets from VM to GRE tunnel from which income packets came from? (TCP flows)
We have a network infrastructure with Anycast IPs on edge servers in multiple countries, those servers encapsulate traffic in GRE tunnels to endpoint nodes with virtual machines
Currently we route all ...
-1
votes
1
answer
64
views
How to reroute packets to other gateway in LAN?
I have local network 192.168.203.0/24 with 2 gateways:
192.168.203.1 - router that gives access to the internet,
192.168.203.5 - OpenWRT which gives access to other private network through OpenVPN.
...
0
votes
1
answer
53
views
requests from different web sites are egressing from the routing src ip not assigned ip
I have dedicated server from OVH, that has 40 ip addresses on three routes.
ip route show
default via x.y.z.254 dev eno0
a.b.c.0/24 dev eno0 proto kernel scope link src a.b.c.161
x.y.b.0/24 dev eno0 ...