Questions tagged [routing]

Routing (in IP-based networks) is the process of selecting paths in a network along which to send network traffic.

Filter by
Sorted by
Tagged with
0
votes
1answer
26 views

Networking between 192.168.0.0/24 & 192.168.2.0/24 Results in Partial Packet Loss

I am attempting to route between subnets 192.168.0.0/24 & 192.168.2.0/24 across two separate routers. The first router (192.168.0.1) manages 192.168.0.0/24 and the second router (192.168.2.1) ...
1
vote
0answers
22 views

OpenVPN client as a gateway: Ping from server to client works, but gateway does'nt

I have a working OpenVPN server up and running on an OpenWRT router, and want to use an OpenVPN client as a gateway for some local machines that are connected to my router. What i have done / What ...
-1
votes
1answer
41 views

how do i setup reverse proxy game server?

I first posted this question on Reddit which got deleted, after discussing with the mods they banned me. So I decided to give this community a try. If you don’t have the time or don’t want to please ...
0
votes
0answers
4 views

Routing for custom software gateway

I'm building my own gateway in software, running on a Linux machine. For the simplest case I have two subnets 17.16.1.0/24 and 17.16.2.0/24 with one client each. The Linux machine with my router is ...
-4
votes
1answer
36 views

Is 172.20.0.2/24 an ip address or subnet? [duplicate]

Can we also assign a subnet to a computer as an ip address?
1
vote
1answer
24 views

How can I access a local network namespace from an external node?

I am trying to set up a runc container running mongoDB Enterprise Edition v4.4 on an EC2 Ubuntu x86 20.04 node, kernel v5.10. I am using the following to set up a network namespace for the container: ...
1
vote
2answers
30 views

Packet routing from docker container to host ip

I am wondering what is tbe route for a packet sent from src being the docker container with its own 'dockerised' IP, to the IP address of the VM, on which this docker process runs? Will the packets ...
1
vote
1answer
59 views

wireguard does handshake, but ping does not get through

I have a server with a static IP and a client which is located in my local network at home. What I am trying to achieve is a vpn connection between these two (might add more clients later though). I ...
1
vote
1answer
25 views

How to Connect 3 Networks With Ethernet and WIFi/VPN?

I have two computers on a robot that are directly connected via Ethernet. Called" Magni" and "Jetson". Magni is connected to a wireless network. On this wireless network, there is ...
1
vote
1answer
21 views

What is meant by a MSS of 0?

Am studying and I used the command netstat -rt to check the routing table and understand more about it. The output said that MSS is 0. What is the meaning of this value? Can it also take another ...
0
votes
0answers
14 views

My rhel7 host cannot ping its gateway, but it can ping its ip address totally fine

I am having issues pinging my default gateway (10.200.0.1), however, I can ping my IP address 10.200.0.23 from the server, or from other servers that are part of the same vlan. I also checked netstat -...
1
vote
1answer
38 views

What steps must be taken to manually setup a shared internet connection?

I am looking to find out exactly what steps must be taken to manually provision a shared internet connection on a workstation running a Linux based operating system. I am aware that when using any ...
0
votes
0answers
23 views

iptables routing on multiple virtual interfaces

I have 1.1.1.1 outside, which is the public interface of vm1 in azure. VM1 has 192.168.1.1 an internal IP. In addition there's also 1.1.1.2 (virtual) which is attached to the same interface and is ...
1
vote
1answer
39 views

marked packets not detected by routing policy database

I have a following mangle table rule in a lab server which marks UDP traffic with 1 if the destination address is 6.6.6.6: $ sudo iptables -t mangle -L PREROUTING 2 -v -n --line-numbers 2 17 ...
1
vote
1answer
60 views

Routing trough 2 interfaces

VPS A with KVM virtualization with Ubuntu 20.04 LTS VPN server: 10.29.0.0/24 VPS B with KVM virtualization with Ubuntu 20.04 LTS VPN client from VPS A: 10.29.0.19 VPN server: 10.8.0.0/24 I don't ...
0
votes
0answers
97 views

Setting up a NordVPN gateway on my Raspberry Pi

Goal Set up NordVPN on my Raspberry Pi and use it as a gateway. Current set-up Raspberry Pi2 running Arch ARM, connected to my router via ethernet cable NordVPN account nordvpn installed on my Rpi ...
1
vote
1answer
85 views

Linux source routing with nexthop pointing toward Docker

I have a similar question linked over to ServerFault, but after further working on the problem, I believe I've refined the problem to a Linux route table question. Background: AWS released their ...
0
votes
1answer
13 views

block all VM connections but forward to a single host

I want to restrict internet access of a virtual windows machine. I want this machine to be able to reach a certain IP address and upload/dowload files from this server. I set up an OPNsense ...
0
votes
0answers
20 views

Tor middlebox IPTABLES redirect not working correctly

I appreciate this has probably been asked 1000+ times, but I just can't get it to work in my scenario! I'm trying to create a tor middlebox for hosts on my LAN. I followed the steps (Transparently ...
2
votes
0answers
23 views

Bypass openvpn for incoming connections [duplicate]

I have an Ubuntu machine at home which I can access over SSH (my router forwards that port). It works fine except when my PC is connected to the VPN, in which case all traffic (including response to ...
0
votes
0answers
9 views

Cannot Access Host if Host is Sharing Network Connection

I have something similar to the following network (albeit on a larger scale): Device A, Tablet, and Phone Connected to the router over wifi. Device A, B, and C Connected to the switch over ...
0
votes
1answer
30 views

can ping but not ssh - eth0 lan

Stumped which direction to troubleshoot...... Server1 can ssh out to any computer but no other computer can ssh to Server1. Even if Server1 ssh to Server2 -> Server2 can not ssh back through same ...
0
votes
0answers
19 views

Using network namespaces in production?

I have been looking at two pages https://gist.github.com/dpino/6743226422594b6c02c7150b6e5e7df7 (no nat) and https://gist.github.com/dpino/76b0bf7f522bd0d2e442eca06ae9db76 (nat but I don't know what ...
1
vote
0answers
9 views

Provide a missing network via tunnel to a gateway having access to that network

I'm very new to tunneling, so I may either misunderstand the concepts, or I made some beginner's mistake: Trying to add new SLES15 hosts to an existing infrastructure I tried to provide a connection ...
0
votes
1answer
16 views

How to do static Routing for different networks on Linux?

I am new to networking. And I have 3 networks are LANA "10.8.0.0/16" that consists of (pc1a "10.8.0.10/16" and pc2a "10.8.0.11/16") and are connected to RouterAC "10....
0
votes
0answers
12 views

VPN Server with two interfaces

im looking to setup a OpenVPN (or IPSec) server on a linux box with two network interfaces: eth0 which is connected to the outside world eth1 which is connected to my local network the server should ...
1
vote
0answers
36 views

Configuring two network cards properly so that I can access them at the same time on Linux

I'm a bit of a beginner in Linux (I'm using CentOS 7). I have a workstation with two network cards. I configured them so that each has its own WAN. However, I can't access (using ping) them at the ...
2
votes
1answer
39 views

Why does this command break networking? ip rule add from 0.0.0.0/8 unreachable

By chance I found out that ip rule add from 0.0.0.0/8 unreachable breaks networking. Not even ping on the same LAN works. I don't understand why. I remember that the 0.0.0.0/8 IPv4 address block is ...
0
votes
0answers
27 views

debian routing issue

I have three interfaces on a Debian 9 box. Once of the interfaces is publicly accessible and is the default GW. When I set the LAN as the default route I am able to run apt-get without any issues, ...
0
votes
2answers
36 views

persistant default route on debian 9

I have three interfaces on a Debian 9 box. I need to set the default route permanently for the entire system. I have attempted to add it in different ways to the /etc/network/interfaces file, but ...
0
votes
0answers
17 views

Using IpTables route two Virtual Private networks to Internet

My scene is simple, I am getting ONE machine with 3 Network adapters, one with nat (has internet), two with two internal networks. This one machine is used as a DHCP. If I connect another virtual ...
0
votes
1answer
32 views

Forward SSH traffic from public IP to local IP

I need to find a way to forward ssh traffic from a WAN ip address to a specific host IP address on a local network. The set up is as follows: WAN ---------|Firewall| ----SSH Machine EXTERNAL | ...
0
votes
0answers
24 views

How to route 2 interfaces to the same destination IP address

I have a RPi with two different interfaces (wwan0, wwan1) each one with one IP provided by two different wireless network operators. The RPi has to communicate with a server for the correct ...
1
vote
0answers
14 views

ISC BIND 9.16.7 - Is it possible to limit forwarder traffic to a specific network interface?

Situation: A Linux box with two physical network interfaces (say eth0 for LAN and eth1 for WAN). Box acts as a router and IPTables firewall, too. Furthermore, an XFRM-Interface (say 'vpn') is there (...
0
votes
1answer
137 views

Docker container as network gateway [Not responding]

I wanted to set up a Wireguard Docker container acting as a network gateway. My setup looks like this: Client (user-Virtual-Machine) | IP: 172.22.100.157 Host (user-Virtual-Machine) | IP: 172.22.105....
0
votes
0answers
12 views

Testing setup for ICMP Redirect Messages (Linux distribution using network namespaces)

I'd like to create setup for testing ping from iputils (for Linux) behavior with ICMP Redirect Messages. How to do that, preferably virtualized (with Linux network namespaces or other Linux virt ...
0
votes
1answer
57 views

How to add static route in Linux (comparing to Windows)

On Windows, I just type: C:\Users\WindowsUser>route add 8.8.8.8 mask 255.255.255.255 10.25.10.28 OK! (my ip 10.10.201.15/8) With Linux (its ip 10.10.201.16/8) on eht0 route add -net 8.8.8.8 ...
0
votes
0answers
11 views

Specific website not answering when using OpenVPN with custom tun-mtu

I have setup my own OpenVPN server. I tried to manually tune tun-mtu and use a custom value of 1345. Almost everything works pretty well (except for potential DNS leaks) and the following: The website ...
0
votes
0answers
36 views

Multiple routes to remote network, send response out same interface as request?

I have the following host, with one interface and two GRE tunnels. It thinks it is locally connected to three networks. eth0: inet 10.1.0.123/16 gre1: inet 172.16.0.123/16 gre2: inet 192.168.0.123/...
0
votes
0answers
56 views

Performing MITM on Bridge Interface

I would like to run mitmproxy on 'host1', a Debian 10 Linux PC in order to view a decrypted TLS session. Host1 has the following network interfaces: eth0 - this is connected to 'target', the machine ...
0
votes
0answers
35 views

Connect to OpenVPN on server but still allow SSH

I'm trying to setup an openvpn client on my Google cloud Ubuntu 18.04 VM, which will encrypt outbound traffic to my VPN provider and obfuscate my public IP. I have done this before on other providers ...
2
votes
1answer
32 views

Prevent local network route creation at ifup

I have a multihomed host with 2 Ethernet interfaces and a usb-connected cell modem. The Ethernet interfaces are configured in a typical way on the main routing table, with only one default route ...
0
votes
0answers
156 views

Cant start vtysh service of frr routing

so I'm trying to open vtysh service, but I can't enter it because of this error. Exiting: failed to connect to any daemons. output of systemctl status -l frr frr.service - FRRouting Loaded: loaded ...
0
votes
2answers
58 views

Routing traffic for one IP address though a specified interface

I have a device with fixed IP address (192.168.1.86). I also have a DHCP network using 192.168.1.x--and I'm not allowed to just reserve 192.168.1.86 on that network. I have one machine (call it a ...
0
votes
0answers
42 views

Linux Machine as a Router with Several VPN Gateways

I'm trying to configure a linux machine as a router with multiple VPN connection onboard for my intranet net. At the moment there are 2 VPN Gateways on the machine. I want them to be used randomly for ...
0
votes
0answers
47 views

Route all HTTP/HTTPS traffic through specific interface using newer kernels ( >= 4.17)

My question is very similar to Output traffic on different interfaces based on destination port. However, that question was asked in 2011. Now we have newer kernels that can have ip rules with tcp or ...
0
votes
0answers
454 views

No suitable destination host found by cups-browsed

I've a Debian 10 CUPS server with 2 Network Interfaces 10.1.0.3 on the Printers LAN : 10.1.0.0/16 10.2.0.3 on the Computer LAN : 10.2.0.0/16 My computers (Debian 9) received Printer Queus & ...
-1
votes
1answer
39 views

iptables - use different outgoing IP if destination is certain domain

I have a VM that has two IPs. Let's say 1.2.3.4 and 4.3.2.1. If i do "ip a", it shows me 1.2.3.4 as first one and 4.3.2.1 as second: 2: venet0: <BROADCAST,POINTOPOINT,NOARP,UP,LOWER_UP>...
0
votes
0answers
22 views

2 interfaces with netplan

my server(Ubuntu 18.04.5 LTS) has 2 interfaces: regular over LAN to the Router (known as enp0s31f6) GSM-USB-Stick (known as enx001e101f0000) i want to request stuff in the internet from 2 different ...
0
votes
0answers
74 views

Squid and openvpn client same time - route Squid traffic through VPN client

I'm doing proxy setup squid. I set up squid as a forward proxy listening to my public IP where my firefox browser connects to port 3128 of that public IP and I can browse the web without any issues. ...

1
2 3 4 5
18