Questions tagged [routing]

the process by which data packets on communication networks are forwarded into the direction of their ultimate destination by routers.

Filter by
Sorted by
Tagged with
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 ...
Andrea Di Stefano's user avatar
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 ...
risclr's user avatar
  • 1
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 ...
Hanz94's user avatar
  • 1
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 ...
asimovwasright's user avatar
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 ...
felix34's user avatar
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 ...
Sakadude's user avatar
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....
T McTrain's user avatar
-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 | ------------------------------- ...
Knowledge's user avatar
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 ...
JamesThomasMoon's user avatar
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 ...
Adrian Sevcenco's user avatar
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 ...
djshaw's user avatar
  • 1
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 ...
Hassan Bosha's user avatar
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 ...
djshaw's user avatar
  • 1
-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> ...
fw gw's user avatar
  • 1
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 ...
Asher's user avatar
  • 13
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 ...
Paulo's user avatar
  • 11
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 ...
MS-SPO's user avatar
  • 143
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 (...
amexcommunicado's user avatar
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 ...
samikool's user avatar
0 votes
0 answers
24 views

iptables port forwarding rules only work for first response packet

I have the following scenario: +---------------+ +-------------+ +-------------------------+ | PC | | Linux | | Router ...
J_S's user avatar
  • 101
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 ...
hutchuck's user avatar
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 ...
zealot's user avatar
  • 3
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 ...
espenfjo's user avatar
  • 1,686
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 ...
ololololololo's user avatar
-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....
Hanz94's user avatar
  • 1
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 ...
zhouxiaolong's user avatar
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 ...
Thomas's user avatar
  • 111
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 ...
Dave's user avatar
  • 25
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 ...
Suhan's user avatar
  • 101
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"...
anaconda1337's user avatar
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 ...
Leonid Pervak's user avatar
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 ...
Bridgey's user avatar
  • 131
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) ...
Emiliano Spada's user avatar
0 votes
2 answers
255 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?
Pouyan Danesh's user avatar
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 ...
EasyMoney322's user avatar
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 ...
ArnOCP's user avatar
  • 11
0 votes
0 answers
461 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 ...
Ellessar's user avatar
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 ...
Max13's user avatar
  • 141
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 ...
gmijo47's user avatar
  • 11
-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 ...
Marc's user avatar
  • 1
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 ...
Richard Keller's user avatar
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 ...
btongeorge's user avatar
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 ...
leonard georg's user avatar
-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/...
Fareed's user avatar
  • 3
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. ...
tulekparson's user avatar
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 ...
user3132858's user avatar
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 ...
ARDVL's user avatar
  • 53
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 ...
Oleg Pawson's user avatar
-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. ...
tmk555's user avatar
  • 1
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 ...
Shreef Entsar's user avatar

1
2 3 4 5
74