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
0answers
22 views

Wireguard not routing traffic from client to other servers on the network

I am having CentOS 7.6 version, and I installed test Wireguard VPN server. The whole installation and configuration is pretty easy, at least according to documentation, so what I did, I installed ...
0
votes
1answer
22 views

Linux Local Tables

Could you help me understand the practical use of the "local tables" ( versus the "main routing table"), displayed with command : ip route show table rt_eno2 My understanding of basic routing is that ...
0
votes
1answer
26 views

Forwarding traffic back to localhost

I'm implementing some kind of router which has multiple internet connections, based on current throughput of those connections it would forward packets/frames using faster connection. In order to ...
0
votes
0answers
18 views

From VLAN10 (eth0.10) Internet access to the whole network and clients? How to route?

Can I make the Internet Access of VLAN10 (eth0.10) to whole Router an Clients? iptables -A FORWARD -i br0 -s 192.168.1.0/255.255.255.0 -j ACCEPT iptables -A FORWARD -i eth0 -d 192.168.1.0/255.255.255....
0
votes
0answers
10 views

Wireguard fallback to relay when direct connection is unavailable

I have three machines hooked together: A desktop, a laptop, and small public server. The desktop and laptop are usually on NAT-ed networks, while the server has a static IP with publicly accessible ...
0
votes
1answer
16 views

openvpn connected successfullry but machine not reachable

I am trying to understand why the following is a problem. I have an EC2 machine with Open VPN client running. I'm able to connect the EC2 machine within the same VPC machines but not able to connect ...
1
vote
0answers
12 views

tc: route all traffic from default gateway to ifb0

Traffic from eth0 arriving from gateway should be sent to ifb0 for ingress shaphing. Here some relevant outputs and commands ip route default via 192.168.0.1 dev eth0 metric 200 realm 1 What ...
0
votes
0answers
23 views

How to route services from remote over VPN to my LAN-server and forward that in my LAN?

I am trying to bridge my LAN over TAP to remote machine. The connection is established per VPN over SSH and I can ping already from remote to local host over TAP and the other way. Now I need help ...
0
votes
1answer
40 views

Pinging one interface of Linux router by another interface of this router

I have such a topology made of network namespaces and veth pairs: ------ ------ ------ | a1 | | r1 | ...
0
votes
2answers
46 views

Routing problems when activating IP forwarding

Working Scenario I have the following scenario with two subnets Subnet 1: 192.168.1.0/24 Subnet 2: 192.168.2.0/24 and three routers Router 1: 192.168.1.1 Router 2: 192.168.2.1 Router 3: 192....
0
votes
0answers
15 views

Determining the network interface through which data is sent

I am working on a busybox embedded Linux platform which is running on a imx.6ull based development board. I have written a c++ application which enables the embedded device to collect data from ...
0
votes
0answers
11 views

Mac static routes with weight

We have a company VPN connection that I use on my Mac. They had it setup where only the company networks were advertised through the VPN. This meant that I was able to use my home network and the ...
0
votes
1answer
21 views

Linux route selection not taking expected rule

I have the following routing rules (displayed using route -n): Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 10.0.2.1 0.0.0.0 UG ...
0
votes
1answer
44 views

How to route all incoming packets to remote proxy?

I have a Wi-Fi hotspot setup in Kali. Interface wlan0 on 10.10.10.1/24. I setup an Android (10.10.10.2) to proxy requests through Burp on port 10.10.10.1:9999. This is done in the Android's Wi-Fi ...
1
vote
1answer
22 views

how to get packets log which are dropped by rp_filter=1

I do need a log of packets which are dropped by rp_filter ... how to do this logging ? which logs how to enable.
0
votes
0answers
15 views

Routing from LXC container to another host over VPN

I've got an LXC container 10.10.3.100 on host server 10.10.3.1 On server 10.10.3.1 I have tunnel to another server 10.10.2.1 I've added iptables rule: -A POSTROUTING -s 10.10.0.0/16 -o vmbr1 -j ...
0
votes
1answer
48 views

Policy routing with 2 NICs on the same network seems to not do anything

As noted by dirkt, I'm missing information: This is the continuation of this question, but to summarize, I'm trying to receive a lot of multicast traffic, more than one interface can handle, so in ...
0
votes
0answers
15 views

Netplan doesn't create default route

OVH cloud host allows an easy way to route multiple blocks of their IPs to virtual MACs on one interface. For example, eth0 has an address on the 40.30.20.0/24 network with a gateway of 40.30.20.254, ...
1
vote
0answers
44 views

How to send traffic to a specific IP address via a specific interface?

On a Debian Stretch VM (running in VirtualBox on a Windows 7 host), I would like to connect via SSH to a specific remote host (let's call it myServer, with IP 12.34.56.78). To do so, I'm using my ...
0
votes
1answer
62 views

How to route all VPN traffic via specific hardware interface?

I have a computer with two eth interfaces and one wlan interface. It is also connected to a VPN (openvpn), so it has a tun0 interface too. Now, I'd like to make sure that all VPN traffic is sent using ...
1
vote
2answers
29 views

Which of my network devices is used in making/maintaining a connection

If I have two network devices, how do I know which is being used for any requested connection out. With this : ip r default via 10.0.0.1 dev wlp3s0 proto static default via 10.0.0.1 dev ...
0
votes
2answers
40 views

Linux routing flow

I want to know how Linux uses routing table when reaching out to another ip. As i know for example when we run "ssh 192.168.21.2", system will create the tcp packet with destination ip as 192.168.21.2 ...
0
votes
0answers
32 views

How does route-to work in the BSD pf firewall?

I've recently learned about the route-to functionality in the pf firewall, and I wonder how it works. Is it similar to the "policy-based routing" system in linux? How does route-to allow the ...
0
votes
0answers
17 views

Adding Options To IPv6 SLAAC RA-learned default routes that survive RA-updates

I use IPv6 SLAAC to distribute routing information in my network. The default route has a lifetime of 1800s and is getting regular updates through the router. However, if I modify the default route, ...
1
vote
1answer
32 views

Is it possible to talk to a different subnet through another device?

I am trying to adjust the networking on a system so that two subnets can talk to each (ping) other via a device. Setup looks as follows: (192.168.1.128) (172.16.248.223) Router <------&...
1
vote
0answers
18 views

Routing specific user/application through VPN only

I have a similar setup to a question raised here some time ago. Here I have a VPN (OpenVPN) running on my ClearOS server (acting as a gateway for my LAN's internet/security, with two network ...
0
votes
0answers
78 views

Wireguard server with active OpenVPN client

I need to run a Wireguard server on a machine with an active OpenVPN client. Clients connected to the Wireguard server would be NATed to the OpenVPN client at 'tun0' and access the internet through ...
0
votes
0answers
59 views

Ping a network hosted in a server from hosts in different subnet

Setup and Environment Host A is Ubuntu VM (GNS3). All other Servers are RedHat. Network Path [Host A(x.x.y.b) --via-- Host B (x.x.y.a)] ----|---- [Host C (x.x.z.c) & Host D (x.x.z.d)] Host A ...
3
votes
1answer
90 views

Completely separate network interfaces [duplicate]

I have some machines that have several network interfaces, and one or more IP addresses per interfaces. These IP addresses might or might not be in the same subnet. For example, the outcome of ip a ...
1
vote
1answer
55 views

IP A can ping IP B, But IP B can't ping IP A on centos with two network interfaces

I am trying to get copied packets from machine A to machine B. When I ping machine B from machine A, I get a ping response. When I ping machine A from machine B, I don't get a response. Machine A has ...
0
votes
0answers
24 views

Network gateway with OpenVPN and HAProxy on one server --> routing problems

I am setting up a gateway for my network that includes a reverse proxy (HAProxy) and a openvpn server on the same machine. I want to use the openvpn to connect to a vpn provider so that all the ...
0
votes
1answer
17 views

Trying to setup port redirection through 2nd gateway

I am trying to setup configuration where all connections to port 161 will go through another gateway (through openvpn) while others are going directly [localhost] -> [gateway] -> [remote] - OK [...
0
votes
0answers
23 views

How can the IP masquerading forwarding through a VPN gateway be configured to access the WAN router the gateway is attached to?

I have a gateway machine on my network running a VPN which routes outgoing traffic through a router, but the masquerading rules prevent the machines on the network from connecting directly to the ...
3
votes
0answers
199 views

How to route traffic through VPN only accessible within VM (without a bridged adapter)?

I have an interesting situation where I have a corporate VPN that can only connect through a specific (outdated) version of Ubuntu (and/or Windows) using a vendor-supplied client that creates a VPN ...
0
votes
0answers
47 views

IPTables and Port Forwarding on an OpenVPNAS Server

I have a new OpenVPNas server running on CentOS 7 (Not married to CentOS 7). That I working on replacing an expensive Commercial VPN that has a Public Static IP. Being that the OpenVPNas server is ...
2
votes
0answers
29 views

Linux AP does not route ping replies to final user

I am struggling with the routing in my topology. In this topology I have the following structure with 2 PCs. Each one of them has 2 different interfaces configured in different subnets: 192.162.2.10/...
1
vote
2answers
39 views

Map IP to use specific Network

I have (sometimes) two different networks connected with my Ubuntu system. One WLAN and one over LAN. Both are local networks, but the WLAN is run/managed by a DHCP server. I now want to connect to ...
0
votes
0answers
30 views

Does routing table work like a per-IP-address firewall, while iptables work like a per-port firewall?

I heard that in a routing table, we can drop packets. Does that work like a per-IP-address firewall to prevent access to certain range of IP addresses from the local device? In comparison, does ...
1
vote
1answer
119 views

What is the network 169.254.0.0/16 used for in the routing table on a virtual machine?

What is the network 169.254.0.0/16 used for in the routing table on a virtual machine (guest: Debian; host: Lubuntu)? How can I find out some or all the network interfaces assigned with IP addresses ...
2
votes
1answer
42 views

How can I access a virtual machine running on a remote machine directly?

My local Lubuntu's wifi IP address is 192.168.1.97 A remote Lubuntu's wifi IP address is 192.168.1.198, A virtual machine running on the remote Lubuntu has IP address 192.168.122.169. I can access ...
3
votes
1answer
97 views

How shall I understand the routing table “local”?

$ ip route show table local broadcast 127.0.0.0 dev lo proto kernel scope link src 127.0.0.1 local 127.0.0.0/8 dev lo proto kernel scope host src 127.0.0.1 local 127.0.0.1 dev lo proto kernel scope ...
1
vote
1answer
84 views

What do a network route and a host route look like in a routing table?

In the routing table output by route, What do a network route and a host route look like? From https://www.cyberciti.biz/faq/what-is-a-routing-table/ Network Route: A route (path) to a specific ...
3
votes
1answer
71 views

Is there no routing entry for loopback addresses?

$ /sbin/route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 192.168.122.1 0.0.0.0 UG 0 0 0 ens3 192....
1
vote
1answer
38 views

Why does a routing rule directing to a local network interface accept more than one destination IP addreses?

$ /sbin/route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 192.168.122.1 0.0.0.0 UG 0 0 0 ens3 192....
1
vote
2answers
52 views

Traffic between subnets VirtualBox

I'm trying to build a prototype of a real network in VirtualBox. I have 3 guest systems: Debian-based router with 3 NICs: enp0s3 Looks outsude.(bridged) enp0s8 LAN1.(gateway to internal ...
1
vote
0answers
47 views

How to add a default route to a DHCP-enabled interface?

All my servers' networking is configured via DHCP which sends, among others, a static route (needed for a VPN) and a gateway. This works fine. I have one exception: a server which should not get the ...
0
votes
0answers
49 views

Isolating bridge interfaces from interfaces not connected to them

I am trying to build an emulation platform for emulating an LTE connection using ns-3 and tap interfaces inside a single real host. I have found this very complicated. I want to be able to create a ...
0
votes
0answers
37 views

static routing wwan vs ppp

I have private APN with few sim cards. In the old days NetworkManager created ppp connection with my modem and then I've run ip route add 10.9.200.0/24 dev ppp0 (or add routing via NM) And every ...
1
vote
1answer
31 views

How to control which network is used for different things on Ubuntu? [duplicate]

System: Ubuntu 18.10 I have a linux Desktop running that is connected to two different networks: WLAN adapter connects to the wifi network for: internet access connect to vpn with openconnect LAN ...
0
votes
0answers
18 views

Redirect traffic between two hosts via iptables

I have 2 hosts: A and B inside 1 local network. (A ---> B) Host A (192.168.1.1) has no access to the telegram server (149.154.167.50:80) Host B (192.168.1.2) has an access (46-Ubuntu x86_64 GNU/Linux, ...