Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more

Questions tagged [routing]

Questions about using a router/networking, e.g. port forwarding, VPNs

Filter by
Sorted by
Tagged with
0 votes
0 answers
22 views

Establishing a VPN connection between 2 PCs behind CGNAT through a cloud server

I have 3 devices in different countries. I want to establish an OpenVPN server on my machine and a client on the other 2 machines and route all their traffic through my network. The problem is that ...
Madara's user avatar
  • 101
2 votes
1 answer
126 views

How are `vti` and `xfrm` iproute2 interfaces supposed to be configured and used with xfrm states and policies?

XFRM states and policies enable configuring IPsec encryption without a virtual interface. The vti and xfrm interface types, however, I think make it possible to route traffic through a virtual ...
rafiki's user avatar
  • 27
0 votes
0 answers
19 views

Running an application with an VPN in a systemd-nspawn container while host is using different VPN

My host is behind a NAT and connects to some other bastion host via wireguard, on interface wg0, with AllowedIPs set to 0.0.0.0/0,::/0, which routes all traffic through that bastion host. Now, I'd ...
Sir-Photch's user avatar
0 votes
0 answers
14 views

OpenVPN bridged setup: Unable to reach hosts

Disclaimer This was originally posted on the Game of Active Directory repository: https://github.com/Orange-Cyberdefense/GOAD/issues/233 Descriptions I've setup a tap/bridged VPN using this guide to ...
shad0w's user avatar
  • 1
0 votes
2 answers
27 views

VMware DHCP server (vmnet-dhcpd) rejects option "rfc3442-classless-static-routes"

I am trying to set up the VMware DCHP server to push a static route (192.168.248.0/24 -> 192.168.248.129) to DHCP clients (VMs) connected to a custom interface called vmnet14. I referred to this ...
Bolong's user avatar
  • 125
0 votes
0 answers
21 views

Bridged network with ips not in the same subnet

My problem: I aim to configure multiple guest machines managed by libvirt to connect to a single bridge. These guests must utilize IP addresses provided by my hosting provider, which may not belong to ...
Юрий Баринов's user avatar
0 votes
0 answers
18 views

add network route with higher priority than wifi on windows

I'm trying to configure the following: General access to internet - via WiFi Access to specific internet IPs - via USB Tethering on mobile phone I run command ... route add 123.123.123.0 mask 255....
Xtra Coder's user avatar
0 votes
0 answers
20 views

Routing between phone and laptop on wireless LAN not working

I am developing a Flutter app, and I use Firebase Emulator to test my app locally. In order to be able to test my app on my physical Android phone, I need some way of making my phone communicate with ...
Anakhand's user avatar
  • 113
0 votes
2 answers
131 views

Must 127.0.0.1 be belong to an interface/adapter?

The route table on my PC is like: IPv4 Route Table =========================================================================== Active Routes: Network Destination Netmask Gateway ...
William's user avatar
  • 173
0 votes
0 answers
21 views

Pinging a website from a cloud server in private network on hetzner over opnsense router not working

I am a newbie in nategateway and networking I want to make a cloud server in a private network accessible to the internet through opnsense. I am using hetzner cloud provider I tried to ping google ip (...
etranz's user avatar
  • 119
0 votes
1 answer
22 views

Communication between 2 internal NICs when using ip tables to route internrt

My Setup: In my home setup, I have 3 NICs one that is connected to the internet (enp1s0), The other two forward internet access to local devices (enp2s0 & enp3s0). PC1 is connected to enp2s0 with ...
Mohammad Muwafi's user avatar
0 votes
0 answers
16 views

Why does traefik only work if containers are placed into the network traefik_default?

I've inherited some Docker host being used as reverse proxy for a public HTTPS entry-point, so that multiple different webapps can be hosted underneath the same HTTPS entry-point. https://foo.example....
Thorsten Schöning's user avatar
0 votes
1 answer
58 views

Devices on a secondary router are not reachable from a primary router

I have two home routers. Router A is a TP-Link AX1500 and Router B is a TP-Link AX1800. Router A is downstairs with its WAN interface connected to my modem. Router B's WAN interface is connected to ...
777bpc's user avatar
  • 3
1 vote
0 answers
103 views

How to connect PC to Fa0/6 and ping router?

The following is the question I have been given. I have set everything up on the routers and switches as has been asked. What I am struggling with is connecting the PC; the last item in the question: ...
yool's user avatar
  • 11
0 votes
0 answers
46 views

simple route to 192.168.1.1 always ends up in loopback interface instead of eth0

I'm sshing to a raspberry pi over wlan0 and trying to connect to a modem at the ethernet interface. Take a look at my table and my ip route get: lz@raspberrypi:~ $ route Kernel IP routing table ...
Gatonito's user avatar
  • 101
0 votes
1 answer
31 views

Can you forward custom domain traffic to an ip address that is behind a NAT?

I do not know much about this topic so any help would be appreciated. I live in university residences and the internet connection that is provided to us is hosted by Wifinity networks. I run a media ...
SmokySauce's user avatar
0 votes
0 answers
24 views

How can i setup a proxy to redirect traffic to VPN

For work i need 2 use 2 differents VPN to access 2 differents networks. Switching beetween VPN each time I need to one or the other context is very painfull because of double factor auth etc... I can ...
tblaisot's user avatar
0 votes
0 answers
41 views

Propagate Windows routing to Windows Subsystem

I set up routing on my Windows 11 machine to be able to route some specific IP addressed (for example 1.2.3.4) to VPN. route add 1.2.3.4 MASK 255.255.255.255 1.2.3.4 This works fine in windows. Once I ...
Tomas Kubes's user avatar
0 votes
0 answers
75 views

Why is networking not working on “Ubuntu22.04.img” VM under KVM Ubuntu 22.04?

I am trying about 5 hours now and cannot get it work. I want that my VM can get access to the Internet. Host Ubuntu 22.04 with kvm/virt-manager installed followed different how to's (mostly the same, ...
Maddy's user avatar
  • 1
0 votes
1 answer
77 views

Route docker network traffic through cisco VPN connection on host

I have a bridge docker network and want the containers to be able to access devices on my company LAN through the CiscoAnyConnect VPN. (i.e. I want to route traffic from docker0 to cscotun0 However, I ...
Rob Audenaerde's user avatar
1 vote
0 answers
26 views

I would like to connect two discrete NIC in one computer

I have a system with two discrete NIC, therby, I have two discrete network on my window client. How are clients on network 1 able to see the clients that sitting on network 2? I hope I have been able ...
Mojtaba Mokhtari's user avatar
0 votes
1 answer
32 views

Routing a cgroup to a different table and back to the main table

I want to have the following setup. There are two interfaces: wlan0 and wg0. wlan0 is the default, wg0 is a wireguard interface, configured manually. By default traffic goes to wlan0. But if a process ...
EmErAJID's user avatar
0 votes
1 answer
44 views

Fast switch on a slow / older router possible?

I wanted to know if this will work as intended - being that I will get full 10G link between computers on the network. I have a router with 4 x 1G LAN ports, but I will have 10G SFP+ switches all ...
user241252's user avatar
0 votes
0 answers
30 views

Route traffic to LAN IP via a public server

I'm trying to setup a homelab server that can be accessed from externally from anywhere. My assumption was that my ISP provides me a dynamic IP that I can work around with Duck DNS Unfortunately, it ...
Abijeet Patro's user avatar
1 vote
0 answers
48 views

How to ping a LAN behind a VPN router client from another VPN client?

I am trying to access my LAN devices over a WireGuard VPS setup. I have 2 WireGuard peers connected to a WireGuard server having a public IP on AWS EC2 running Ubuntu. I am new to WireGuard and also a ...
Omkar Pai's user avatar
0 votes
0 answers
24 views

Converting WireGuard from docker to k8s, handshake ok but no internet access

Problem: I have a working WireGuard setup in Docker (see guide: link) but am struggling to achieve internet access for clients when porting the configuration to Kubernetes with host networking. I can ...
ohshitgorillas's user avatar
1 vote
1 answer
35 views

Why Linux chooses shorter prefix? (strongSwan, table 220)

I'm having 2 following routes: # ip ro show table 0|grep 10.250 10.250.0.0/16 via 10.80.1.1 dev ens5 table 220 proto static src 10.80.1.76 10.250.1.4 via 10.80.1.45 dev ens5 The first one comes ...
zerkms's user avatar
  • 1,058
0 votes
0 answers
38 views

Unable to Ping Remote Database Server from Home WiFi Network

I am encountering a network connectivity issue when attempting to ping a remote database server from my home WiFi network. The server, identified by the IP address 192.168.100.91, is accessible via a ...
M Umer Masood's user avatar
0 votes
2 answers
108 views

Default route appears on ethernet interface with DHCP disabled

I have an Ubuntu system with an ethernet interface (eth0) connected to a router that acts as a DHCP server providing a default route. However I have set eth0 to use a static address and ignore routing ...
Clyde's user avatar
  • 175
0 votes
0 answers
40 views

IPv6 routes mysteriously disappearing on Linux

I have a complex routing setup involving an IPv6 /64 routed over Wireguard. Both ends of the wg tunnel are configured as routers (forwarding=1) and not running any automated network device management (...
R.. GitHub STOP HELPING ICE's user avatar
0 votes
0 answers
33 views

Debian how to route traffic from/to a web app through eth0 instead of tun0 (VPN)

I have a web app which calls some public APIs which block VPN connection. I would like to route all traffic coming/going to the web app through eth0 and not through the default tun0 which is the ...
bcsta's user avatar
  • 113
0 votes
0 answers
34 views

UDMP Wireguard Server + IPSec Site-to-site

We have a UDMP with a few VLANs : 10.92.10.0/24 , 10.92.41.0/24, 10.92.42.0/24 We have added a Wireguard server, which uses 192.168.4.0/24, and works wonderfully (clients can connect and access ...
Nick Andriopoulos's user avatar
0 votes
1 answer
70 views

Accessing resource with a single URL over two networks -- home network and remote (wireguard) network

Wireguard network I am currently trying to setup a wireguard tunnel in this format. The reason I am using wireguard is to tunnel through my home's NAT (I do not have a static IP or access for port ...
Aryan's user avatar
  • 123
0 votes
1 answer
23 views

multilevel sub domain no control over root domain's provider

I have a multi tenancy requirement where I need to host couple of apps in my service cloud (AWS + lambda, EC2, S3). I have a couple of UI apps in Angular(hosted in AWS-S3) and an API in Node (AWS ...
Joy Biswas's user avatar
0 votes
2 answers
47 views

What determines if a packet should be routed locally or forwarded?

As seen in the diagram, when the Linux kernel receives a packet, it goes through the prerouting chain, and then a routing decision is made on whether to forward it to somewhere else or deliver it to a ...
discape's user avatar
  • 138
0 votes
0 answers
34 views

Route all TCP traffic from port to another host:port

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 ...
winwin's user avatar
  • 125
0 votes
0 answers
38 views

Problems configuring OpenVPN to use the public IP and LAN as their own, for clients

I ran into a problem when configuring an OpenVPN server to use my public IP address and access devices on my local network through that server. My goal is to allow users to use my public IP and access ...
DEN35's user avatar
  • 1
0 votes
0 answers
50 views

How do I direct connect via Ethernet two Windows machines and keep their connection to the internet via WiFi?

I have two Windows 10 laptops connected to the same router over WiFi. They can access the internet and can see each other in Explorer, file sharing works fine. I can ping one machine from the other ...
Semisonic's user avatar
  • 101
0 votes
1 answer
22 views

IPSec S2S peer B host cannot receive ICMP reply or access host resources on peer A

I've got an IPSec S2S tunnel setup. The VPN is connected, tunnel established. Here's the network topology: (for reference, I am Peer A) Problem: host A pings host B and gets reply (this is not a ...
autobottodoggo's user avatar
0 votes
1 answer
37 views

Unable to get Main and Backup Routers to connect to each other

I have two networks and routers (both on Advanced Tomato by Shibby) laid out as such: Backup Router network (192.168.1.1/24) WAN - Xfinity LAN - small number of clients. Importantly, main network ...
Ayush's user avatar
  • 1
0 votes
0 answers
40 views

Can I autoconfigure both interfaces as slaac (accept_ra 1) on a non-router device?

Need clarification to the following statement Also, due to restrictions in the IPv6 specification, it is not recommended to autoconfigure a host with multiple external interfaces (like 2 ethernet ...
Marinela's user avatar
1 vote
0 answers
1k views

How to configure WireGuard AllowedIPs to allow local connections and route all other traffic?

I am using WireGuard on Windows 11 to connect to a VPN server. I want to allow local connections to my Wi-Fi network, which starts with 192.168.45.1, and route all the rest of the internet traffic ...
poqdavid's user avatar
  • 643
0 votes
0 answers
187 views

How to setup static routes between multiple home networks

I have multiple networks at home and I am trying to setup static routes so computers on different networks can see each other. I don't generally do networking, so I am probably missing something ...
JamesL's user avatar
  • 101
0 votes
1 answer
35 views

How do I connect to a device with hardcoded static subnet mask and ip?

My home network has subnet mask 255.255.255.0 my workstation has dynamic ip currently 192.168.1.117 I want to connect to a device (an old zebra printer) with static ip and subnet and gateway setup as ...
AbsolutelyFreeWeb's user avatar
0 votes
1 answer
310 views

Wireguard: Communicating with the peer through one interface and sending it through another

I am sorry if this is a trivial question. I've spent the last 3 days trying to sort this problem out, so I've certainly tried to find a solution myself. I have a host with two network interfaces that ...
Dreamplay's user avatar
0 votes
0 answers
50 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 -...
Dmitry Bubnenkov's user avatar
0 votes
2 answers
685 views

How to route all the Windows traffic into WSL2?

I want to route all traffic from Windows to WSL2 (172.28.20.4), but I have little knowledge about networking. I did try to add a route: route add 0.0.0.0 mask 0.0.0.0 172.28.20.4 I also enabled IP ...
user23410276's user avatar
1 vote
1 answer
93 views

Masquerading traffic with non-default routing table

I have a network set up as follows: ┌──────┬────────┐ ┌───────────┐ │ │ eno1.1 │ │ Network A │ │ │ ├─┤ │ ┌────...
Jack Wilsdon's user avatar
0 votes
0 answers
40 views

VPN connected but routing tables unchanged

I'm trying to understand how does a VPN I'm using works. In this case it's nordvpn, but the question should be vendor neutral focusing on the underlying Linux mechanisms and tools to check what's up ...
TheMeaningfulEngineer's user avatar
0 votes
1 answer
907 views

Forward Wireguard traffic through Shadowsocks

I want to set up Wireguard obfuscation through Shadowsocks because WG stopped working due to ISPs in my country starting to block Wireguard and OpenVPN connections to foreign servers. I've tried to ...
KindFrog's user avatar
  • 105

1
2 3 4 5
57