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
9 views

Create static ipv6 address without 'noprefixroute' using NetworkManager

I have created a static ipv6 address on my firewall (armbian) LAN ethernet. I used NetworkManager. The problem is the address shows as: inet6 2001:DB8:c101:b700::1/64 scope global noprefixroute The ...
0
votes
0answers
9 views

VPN: interface OK, route table OK, can't reach local addresses

I'm trying to connect a Debian 10.3 to an OpenVPN VPN through OpenVPN's linux client, installed with apt. The connection is succesfull, the network interface is created correctly and the routing table ...
0
votes
0answers
10 views

How to set up DNS when connecting to two networks with one stable and one dynamic nameservers?

I have a Fedora 31 linux machine with two network interfaces. They are both connected to local networks -- one is 192.168.*.*, the other is 10.*.*.*. The 192.168.*.* network connects to a router ...
0
votes
0answers
15 views

Define specific outbound public IP in servers in single network behind NAT

Case: I have two CentOS7.5 servers in a single private network. There's a external NAT router for public routing. No server firewall enabled or anything fancy. Servers are not aware of external IPs, ...
0
votes
0answers
13 views

Multi-WAN Routing on Ubuntu DHCP Server

I am not an expert on Linux, however I am trying to achieve something for our small office configuration. I have an Linux machine with Ubuntu 16.04 server installed. The machine has two NIC's on it. ...
0
votes
0answers
19 views

How make routing on VPS with VPN?

I bought VPS with ubuntu 18 server. I set VPN on L2TP connection. After this I had problems with ssh ssh root@VPS_IP, because VPN_IP override VPS_IP. To fix it I changed ssh settings in place /etc/ssh/...
0
votes
1answer
20 views

How do I route traffic back over a VPN to other servers

I am currently setting up an environment in 2 sites. all servers are linux/ubuntu. First site is my office and second site is AWS. I have 2 servers in AWS within a VPC with site to site VPN Web01 - ...
0
votes
0answers
36 views

Mystery Interface and Routes on ipsec0, Catalina OSX

Any clue what is causing the ipsec0 interface to establish PTP and then adding a default route to the PTP? It's borking my routing and I can't seem to find the culprit I have no VPN profiles ...
0
votes
0answers
28 views

SoftEther VPN Client IP Routing on Linux

I'm having some problems to establish routing tables on my linux client machine using a Site-to-Site(LAN-to-LAN) VPN (softether). It works great for Windows clients , but for linux I don't know how to ...
1
vote
2answers
62 views

How to change the default source IP address to be something other than the address facing the default route?

Background Information I'm using a Linux system to route traffic for a small block of public IPv4 addresses (by enabling IP forwarding in sysctrl.conf). The router is connecting to the ISP over eth1 ...
0
votes
1answer
25 views

Strongswan only last person connected routed through tunnel

I have site2site VPN tunnel using StrongSwan. Everything seems to work - except only last connected person gets the access. I.e. I connect from PC1, can ping server on the other side, connect from PC2,...
0
votes
0answers
21 views

force network routing out different interface

I have 3 interfaces: eth0 accepts vpn connections from two networks, eth2 should route traffic from netA through it, and eth3 should route traffic from netB through it. netA eth2 &...
0
votes
0answers
18 views

Multiple IPs - binding connection sockets for server (listening) sockets

I have a server that has multiple network interfaces (let's say eth0 and eth1), and they both have multiple IPs. I also have a server type of software that is listening on 0.0.0.0 (this is something ...
0
votes
0answers
12 views

How to treat packets emited locally equally to those received via network (iptables)?

If a network packet is emitted by a local IP (an IP set to a network interface in the system), it is treated differently to those packets that arrive via the non-locally (i.e. via the network)? An ...
0
votes
0answers
4 views

Problems routing Internet traffic from client through host w/multiple IP address on same i/f

Need routing configuration advice (preferably with commands): I'm trying to somehow forward Internet requests originating on the client through a host (over 192.168.200.0 network) to an Internet ...
1
vote
0answers
21 views

OpenBSD ipsec routing

I have an OpenBSD VM that I wish to connect to my OpenBSD home router with ipsec. The objective is to have a secure channel between my home network and the VM. So I have the following ike conf' on ...
0
votes
0answers
19 views

How to make nftables duplicate multiple interfaces to one interface

My home router has 2 internal interfaces on different subnets, and one external interface plugged into the comcast modem. I'd like to duplicate every packet that enters each interface out to a single ...
0
votes
0answers
66 views

IPv6 Doesn't Route Outside Of Libvirt Network

I have VM which has a single interface that itself only has IPv6 available from libvirt's dnsmasq: 2: enp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default ...
0
votes
1answer
55 views

Options up or down in /etc/network/interfaces.d/ not working with static method

I have the following network (all machines are Debian GNU/Linux 10 Buster): +----+ +--------+ +--------+ +----+ |.1.x| <--> .1.1 |ROUTER-A| .101.1 &...
1
vote
0answers
44 views

How does Linux route packets destined for another interface? [duplicate]

How are packets routed inside a single linux machine? Imagine the following setup: +--------------------+ | apache on | | 192.168.1.30:80 | | | | ...
0
votes
1answer
43 views

Correct routing of IPv6

I have a Raspberry Pi connected via eth0 to a router and via eth1 to my computer. I use systemd-networkd to masquerade IPv4 to my computer which works like a charm. Because of some reasons I now need ...
0
votes
1answer
57 views

OpenVPN Client and Server on same machine - Server doesn't allow connections when client is connected (more detailed)

I have exactly the same problem like the user khofm asked in https://unix.stackexchange.com/a/352968/394150 So in summary: The openVPN client and the openVPN server instance work fine as long as I ...
0
votes
0answers
24 views

Setting up a linux DNS server for a smart TV

I'd like to know if what I'm indtending to do is possible - I would like to set up a DNS server for my smart tv on a remote VM for it to be able connect to the internet through it. The server itself ...
0
votes
0answers
11 views

nginx 2 locations for different static sap

I have a React application and an admin dashboard which is built in Angular: /var/www/example.com/example/web <- React /var/www/example.com/example/admin <- Angular This is my Nginx ...
0
votes
0answers
61 views

Default route on 4G modem does not work wwan0 instead of ppp0!

I am strugling to get mobile connection to work from my Raspberry Pi gateway. I have Huawei 4G modem that I am using via sakis3g. Connection does not come up on boot and connecting manually does work ...
0
votes
1answer
29 views

What does target stand for in AWS route table? [closed]

I am trying to understand properly how AWS routing works. I am looking at https://tutorialsdojo.com/aws-cheat-sheet-amazon-vpc/ Main route table Destination Target 172.31.0.0/16 local 0.0.0.0/0 ...
0
votes
1answer
182 views

Understanding ip route output

I am learning about Linux routing, routing tables, IP routing, etc... The following is the output from ip route followed by the output of route: default via 192.168.1.1 dev wlp0s20f3 proto dhcp ...
0
votes
1answer
85 views

Routing traffic for a user through specific interface (tum1)

Question: How do I route traffic though tun1 for a specific user? What I've tried so far: I followed: 1: iptables forward all traffic to interface sudo iptables -t nat -A POSTROUTING -m owner --uid-...
0
votes
1answer
60 views

What routing protocol does linux use by default?

I know that there are multiple routing protocols (BGP and so on), but which one does linux use when I'm connected to my home network? I'm using a debian based system.
0
votes
1answer
25 views

Incoming packets not reaching PPP interface when request originated by another machine on network

Let's say, I have a "network" of two machines, connected by an Ethernet cable. Let's say, machine M is a 'master' and machine S a 'slave'.I am giving them such names because only M has access to the ...
0
votes
0answers
46 views

Wireguard “Road Warrior” configuration

The examples I see for Wireguard usually have the server specify an IP for the client but I don't want that. I want N number of clients to be able to connect and get an IP, and to route all traffic ...
0
votes
0answers
26 views

How can I connect my android phone to my ubuntu laptop without internet?

I have an external Wi-Fi modem. In an ubuntu laptop I have an internal Wi-Fi card and internal network card. I want my android phone and laptop to be in the same network without using internet. Is ...
0
votes
1answer
62 views

2 hosts on same subnet route thru 3rd host?

Here's the setup: Host A : 192.168.0.5/24 Host B : 192.168.0.6/24 Host C : 192.168.0.1/24 All connected via switch. I want to monitor traffic between A and B by setting a route on A and B to use C ...
0
votes
1answer
50 views

Unable to ping external network from namespace, probably postrouting not working

I'm trying to ping an external ip (in this case google) from inside a network namespace. ip netns add ns1 # Create v-eth1 and v-peer1: v-eth1 is in the host space whereas peer-1 is supposed to be ...
0
votes
0answers
18 views

Subdirectory frontend to root backend

I’m looking for some help with figuring out the best way to handle routing URLs with subdirectories to applications hosted on the root of a webserver. Say I have URL domainx.com/path1, I want users ...
0
votes
2answers
86 views

NAT and complex bridge configurations

I have a complex bridging configuration, which looks like this: There is a default route via 172.31.0.1 dev eth0_bridge. Now I'm trying to set up masquerading between lan_bridge and eth0_bridge so ...
0
votes
0answers
22 views

Configuring OpenVPN on Asus router

I would like to configure VPN server on my home AsusWrt router. I have created OpenVpn server on my router, did OpenVPN client installation and configuration in my remote PC. Home network with ...
0
votes
1answer
64 views

Accessing Virtualbox host-only guests via VPN (tun0)

My question seems to be the exact same as this one, but the solution didn’t work for me. Set-up: I have one Ubuntu machine acting as a Virtualbox host and OpenVPN server, and several Virtualbox ...
0
votes
0answers
22 views

Change default route permanently

My Ubuntu server has 3 network interface. How can I change the routing table permanently? I saw a similiar question at Making routing table changes permanent, but I did not understand what entries ...
0
votes
0answers
36 views

GRE between two routers

Need help with setting a Generic Routing Encapsulation (GRE) tunnel between two routers. I have three routers (left - Debian 10, middle & right - CentOS 7), which already can ping each other (I ...
0
votes
0answers
14 views

iptables ptpp interface forwarding

I'm trying to setup a virtual bridge using iptables. There are gateway and client machines. Client has gateway as a default route. Current setup on the gateway machine: ppp0 has all the required ...
0
votes
1answer
132 views

Route incoming traffic on openVPN server to client

I have a VPS with a public IP that is running OpenVPN and a local server that is the only VPN client on this. Is it possible to route incoming traffic on lets say port 80 to the client? My local ...
0
votes
1answer
326 views

Linux IP bridge and vlan_filtering

I'm using DSA in Linux to support an ethernet switch (KSZ9897). The switch is behaving but I'm having trouble setting up the bridge vlan filtering features through Linux (kernel 4.19). I create the ...
1
vote
1answer
48 views

`ip route add` does not allow duplicate entries, can I depend on that?

If I add a route with ip route add 172.10.1.0/24 via 10.0.0.100 dev eth0 and then execute the same command a second time, it fails because the route is already present. I don't see that behavior ...
0
votes
1answer
12 views

Freenas Bridging networks

Apologies if this has been asked before: I have 2 networks, msk1 = 192.168.0.0/24 (DHCP) msk0 = 172.10.30.0/24 (STATIC) Each picked up the correct IP Address: msk0 172.10.30.5/24 msk1 192.168.0.9/...
3
votes
1answer
249 views

Set routing metrics for static IPs with systemd-networkd?

I recently set up a server with its network managed directly by systemd-networkd (nuked netplan.io and Network Manager) and gave it static IPs like this: /etc/systemd/network/10-ethernet.network [...
2
votes
2answers
112 views

debian: cannot ping beyond the router

Hello fellow stackers, I'm not sure I planned my network configuration in a perfect manner. I have a home network topography like this: modem/router <-> debian router <-> LAN. I need to ...
0
votes
0answers
68 views

Debian routing table configuration when working with PPP wvdial and ethernet interface at the same time

I am a programmer and not an IT personal and I would like to get some help with regards to network configuration of ethernet interface and PPP cellular device The device I have has a linux debian ...
0
votes
0answers
26 views

Sending TCP packets to specific back-end worker through Linux gateway

I'm looking for a way to implement a gateway that will route TCP packets from clients (1-4 client hosts), to specific back-end worker (docker container), according to some specific identifier (task_id)...
0
votes
0answers
21 views

How does this specific routing rule works?

ip rule add from ip.ip.ip.ip table 128 ip route add table 128 to ip.ip.cidr.cidr/range dev eth0 ip route add table 128 default via gate.gate.gate.gate Why is table 128 specifically? Why is there a ...

1
2 3 4 5
17