Questions tagged [routing]
Questions about using a router/networking, e.g. port forwarding, VPNs
2,675
questions
0
votes
0
answers
11
views
One computer (RPi CM4), 2 NICs, two separate networks
I have a RPi CM4 machine with 2 NICs. I want to be able to communicate with the main network on eth0 (192.168.1.x) and a separate network on eth1 (192.168.0.x).
For the main network connection, IT ...
0
votes
2
answers
27
views
How to explain this ip routing table
On my Ubuntu desktop
ip route help does not help me:
Usage: ip route { list | flush } SELECTOR
ip route save SELECTOR
ip route restore
ip route showdump
How to explain the following ip route:
default ...
0
votes
1
answer
15
views
Routing an internet connection to 2 VLANs using an EdgeCore ECS2100 Series
The L3 Switch in question is an EdgeCore ECS2100 series.
Basically I would like to have 2 VLANs/network segments/broadcast domains/whatever you want to call it, and share an internet connection with ...
0
votes
0
answers
37
views
Connect one PC to separated networks with the same subnet mask
I need to connect one PC with two network interfaces, Windows 10, to two separated LANs, that share the same subnet mask (and same IP addresses):
The purpose is have a bidirectional connection (TCP, ...
0
votes
0
answers
16
views
VPN connection now drops instantly after running route delete. Win10
This is on Windows10, my connection goes ISP-Modem-Router-My Win10 PC. I have statically assigned an IP to the normal internet connection of my Win10 PC, so no DHCP. I disabled IPv6 for the VPN ...
0
votes
1
answer
23
views
With Two WireGuard VPN interface clients, route dummy iface via VPN0 and normal eth0 iface via VPN1, is it possible?
i have:
Normal eth0 interface with ip 192.168.1.100/24 gw 192.168.1.1 (normal router)
Dummy virtual interface with ip 172.16.1.1/32
WireGuard client interface called VPN0 up and running against ...
0
votes
0
answers
19
views
using wireguard peer as default gateway for another peer
Here my config (server wg in docker, peer1, peer2)
S = 10.14.88.1
P1 = 10.14.88.2
P2 = 10.14.88.3
[Interface]
Address = 10.14.88.1
ListenPort = 51820
PrivateKey = XXX
PostUp = iptables -A FORWARD -i %...
1
vote
1
answer
32
views
VPN client cannot access network behind VPN server(wireguard)
I have created a wireguard VPN server, but the clients cannot access some networks behind the server,
wireguard-server
eno1: 10.10.10.2/24 (GW)
eno2: 10.10.11.2/24
wg0: 10.66.66.1/24
I want the ...
-1
votes
0
answers
15
views
VPN through VPS
I don't know much about networking and routing, but I've recently set up a VPS linux server to be my personal openconnect/anyconnect VPN so that all my traffic goes through the linux VPS. Is it ...
0
votes
0
answers
34
views
windows does not honor routing table entries
I'm trying to get to reason with Microsoft Windows 11 to respect the entries I create.
First thing I noticed when using route ADD, is that well Windows keeps overriding metrics of entries I attempt ...
0
votes
0
answers
28
views
Dual-NIC Ubuntu Netplan configuration for webapp via DMZ and internet via LAN
I have a Dual homed Ubuntu 22.04.2 LTS Server that has one NIC in DMZ and the other in LAN. I've been wrestling with the netplan configuration and my searching has found many mixed recommendations on ...
0
votes
1
answer
28
views
No internet on subnet after static routing setup
I am trying to setup this network
[Dev PC] Internet
| ^
| |
| |
| |...
0
votes
0
answers
50
views
When both a proxy and a VPN are enabled, how is network traffic routed?
Due to work requirements, a network proxy software(V2rayN) is installed on the computer and a VPN (globalVPN) is also enabled. When visiting a website, how is the network forwarded? Does it go through ...
0
votes
0
answers
35
views
Accessing a website over L2TP using OrangePi as a middle man?
Android 13 no longer supports L2TP. I need to access my work website over L2TP. The only solution I could came up with so far is to use a single board computer as the middle man to handle L2TP traffic ...
1
vote
3
answers
97
views
access second router network from the first router
I have a router (R1) of my ISP on 192.168.0.1, it gives the second router (R2) the ip 192.168.0.2 and is connected lan to wan port.
R2 is an archer c20 and has the network 192.168.5.0/24, it's on 192....
1
vote
1
answer
52
views
IP Routes to connect to every subnets in the local network
I have an ethernet only network.
I don't know the IPs and the subnets used by some devices so I can't setup my computer to connect to those devices.
I have used tools like masscan to create a map of ...
0
votes
0
answers
28
views
Access VPN through the proxy
I have a MacOS laptop that is connected to the VPN.
My final goal is to have access to everything behind the VPN from my linux laptop. Both laptops are connected to the same wifi network.
I tried to ...
0
votes
0
answers
25
views
Allow traffic through 2 tunnels on pfsense
I have a device X 192.168.60.123 on location A and a 3rdparty server 172.16.0.2 on location C .
There is a ipsectunnel between location A 192.168.60.0 and location B 192.168.1.0.
Then there is a ...
1
vote
0
answers
60
views
[Mininet/Miniedit]: The hosts cant ping/reach other in a 2 router system
As a part of an experiment, my network has the following topology for two host machines connected to a router in mininet(on Ubuntu 22.04.02 Virtual Machine)
h1 - r1 - r2 - h2
The host ...
1
vote
0
answers
42
views
OpenVPN server not routing to its own LAN (Windows)
I'm trying to enable communication between local LAN of existing oVPN server and remote networks.
Both remote and local devices are communicating with PC (this was working for years) but they cannot ...
1
vote
1
answer
53
views
How do I connect two LANs via routing?
I have the following layout. The OpenVPN client on 192.168.100.100 (Raspbian) is connected to OpenVPN Server/router 192.168.72.72 (Ubuntu) through TAP (bridged connection).
I want to make PC1/PC2 see ...
1
vote
0
answers
47
views
Define route that is preferred "always"
I'm currently implementing an IPv6 only service. Since it should also be consumed using IPv4, I'm implementing a translator.
In the translator server, I need to add a route to a different netns to be ...
2
votes
3
answers
155
views
How routing works on Internet
When computer A (e.g. in Paris) wants to send e.g a HTTP request to server B (e.g. in Berlin), then as I understand, (after all upper layers) computer A has to send an Ethernet frame to the default ...
3
votes
1
answer
62
views
Why a packet is sent with a wrong source IP address when setting fwmark using iptables mangle to change routing table?
I want to route a traffic from a specific program through a WireGuard VPN.
I set the wireguard interface, config, routings, etc.
To do routing through the VPN only for a single program, I run the ...
1
vote
1
answer
67
views
Home network traffic monitoring and routing solutions?
Here is a data scientist building a home network and looking for opinions of experienced people in this area. I have a following components I wanna connect together in a correct way:
Mini-PC (linux ...
0
votes
1
answer
49
views
nftables: isolate VLANs with some exceptions
Say there is a custom router (a Raspberry Pi box) with Debian 11 and nftables installed, with a single physical Ethernet inferface and the following VLANs configured:
eth0.501 192.168.41.0/24 CCTV ...
0
votes
0
answers
25
views
how to route traffic of google.com from ipv6
im running a openvpn server on rocky linux 9 server. it has both ipv4 and ipv6 public ip, however im trying to add a static route so i connect to google.com using ipv4.
something like this would work :...
0
votes
0
answers
37
views
Unable to connect two devices via Ethernet because the default gateway for connection keeps getting set as 0.0.0.0
I am trying to connect my PlayStation 2 with my Windows 10 laptop into a network using an Ethernet cable between the two. My laptop is connected to the internet via Wi-Fi hotspot on my Android phone ...
0
votes
1
answer
72
views
Static routing between Huawei and TP-LINK not working
I have a fiber internet hooked up to a Huawei EG8145V5 @ 192.168.100.1, DHCP turned on. I am sharing this connection with a second office that I added an ordinary TP-Link router connected via cable to ...
0
votes
0
answers
23
views
How to access an Ubuntu Host PC running a Windows Guest VM connected to a Remote PC?
Environment:
Host PC: Ubuntu
Guest VM: Windows
Remote PC: Ubuntu
Setup:
Host PC <-> Guest VM <-> VPN <-> Remote PC
Description:
For some reason, I can only use my VPN in Windows
I ...
-1
votes
1
answer
113
views
Layer 3 switch routing and DHCP
I have two VLANs (VLAN10 + VLAN20)
I've got them configured successfully on my routers and L3 switches and now wanting to get routing working efficiently on IPv4.
What I want to solve now is getting ...
1
vote
1
answer
50
views
Network Manager causing duplicate routes
I am using nmtui to create a network with multiple IP addresses on a single interface. The problem is that it creates a separate duplicate route for each. This is on AlmaLinux 8.7
ip route shows ...
0
votes
1
answer
28
views
Settings for direct connection from one PC to another with WDS enabled
I have the following network topology:
The main router (installed by provider with proprietary software) connected to the Internet, the repeater is WDS bridge in repeater mode with OpenWRT and relayd....
2
votes
1
answer
249
views
How do I connect a corporate VPN client such as Pritunl (OpenVPN) through another VPN tunnel such as Mullvad (WireGuard)?
I'm on Windows 10 and 11. I use the Pritunl/OpenVPN client to connect to a corporate LAN.
At some point, the VPN stopped working. It won't connect. Maybe my ISP is blocking it, maybe my IP got ...
0
votes
0
answers
200
views
Issue with routing (?) in site to site wireguard vpn in pfsense VM setup
To preface, my networking experience is limited but I have a general sense of concepts and can definitely read up on any suggestions.
I am trying to set up a site-to-site with wireguard. Both sites ...
2
votes
1
answer
806
views
Routing WireGuard peer's traffic via another peer
I want to use the RPi in my house as a WireGuard VPN. Unfortunately, my ISP mandates a CGNAT. My plan was to have the RPi connect as a WireGuard peer to my server (with a static IP). I would then ...
0
votes
1
answer
17
views
Set Static Route between two countries (OpenVPN)
I have a situation that when i try to connect to a destination via a VPN tunnel connection, something goes wrong and the route to destination goes wrong and gets lost and never reach the destination!
...
1
vote
1
answer
36
views
How to add IPv6 static route via host on other network?
I have a bunch of IPv6-only hosts in location A. To let them connect to IPv4-only hosts, I have set up a NAT64 gateway on a dual-stack host in location B. Now I want the IPv6-only hosts in location A ...
0
votes
1
answer
55
views
How can I ping a device outside my VPN network but connected to a router that is in my VPN network
A schema will better explain the situation:
With the computer (10.8.0.2) I would like to be able to ping the cameras. From the computer I can already ping the router since the VPN is configured to ...
0
votes
2
answers
85
views
Force every destination IP address on certain ports to go through a specific gateway IP only on windows
I have one network adapter interface connected to 2 gateways. I am trying to dedicate traffic on certain ports (80, 443, 8080, 8443) to go only through gateway IP #1 and everything else by default ...
0
votes
1
answer
25
views
How can I share a windows network drive to another computer which is in a different network?
I have a computer (Computer 1) which is in a different subnet than the Network Server. Computer 1 should be able to map a network drive on that server.
There is another computer (Computer 2) which has ...
0
votes
1
answer
152
views
Asus router static route not behaving correctly
I am running into a roadblock that I thought I could troubleshoot but have not been able to.
I am running a Asus RT-AC86U router (192.168.120.1) with Merlin and am trying to set up a site to site VPN ...
1
vote
0
answers
42
views
One IP is not reachable unless creating a dummy route
One host can ping everything but one other host.
Let's say that I've 4 hosts in my network:
My Internet Box (Gateway) : 192.168.0.100
My Ubuntu machine : 192.168.0.1
My RPi machine : 192.168.0.2
My ...
0
votes
0
answers
72
views
Can I use VLANs (or virtual interfaces) to create a firewall on single pysical interface?
As my router/gateway to the internet I have an (NB6) SFR-provided, very barebones wifi router. I have to use this to connect to the internet, for auth reasons. This facilitates a mandated 192.168.1.0/...
0
votes
1
answer
79
views
Can't reach host on internal network
I have 3 hosts running on the same Proxmox node with two network interfaces each. The first network interface on each node is on the 10.100.59.0/24 subnet with 10.100.59.1 being the default gateway ...
1
vote
0
answers
26
views
How to configure DNAT on linux PC so that windows PC destination address can NAT to external linux server?
Topology:
Windows PC (Eg.,20.0.0.2) <---> enp6s0 20.0.0.1 [Ubunthu 20.04 as NAT] enp8s0 172.30.18.95<-->eth1 - Linux PC {172.30.18.90}
Requirement:
I want to ftp 30.0.0.1 from windows PC, ...
0
votes
1
answer
74
views
What's wrong with this network setup, is there a way to fix it?
I have the following network setup:
I have shown this setup to a colleague who is an experienced network engineer and he said my current setup isn't optimal.
After some back-and-forth we got to the ...
0
votes
1
answer
68
views
How to make the incoming and outgoing interfaces the same by packet?
My server has two interfaces.
First interface is directly connected to local ISP and second interface is connected to other region that connected with GRE tunnel.
So it looks like:
┌──────────────────┐...
0
votes
0
answers
33
views
Route incoming packets on interface through another interface
I think I have a simple scenario that I cannot manage to make it work:
I have a router (Edgerouter-X) whose eth0 is connected to my home LAN (192.168.0.0/24) which is connected to the internet. The ...
0
votes
0
answers
83
views
Issues with Wireguard routing from a single NIC
I am having issues with Wireguard seemingly not routing everything. Basically I have a ubuntu box at home, where I have installed Wireguard.
I want to be able to connect to that box and access both ...