Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

Questions tagged [routing]

the process by which data packets on communication networks are forwarded into the direction of their ultimate destination by routers.

0
votes
0answers
3 views

Routing between OpenVPN subnets in tunnel modes

Hope someone can help me and understand what is wrong in my setup. I have installed OpenWrt Chaos Calmer 15.05 on m TP Link router. The router have the WAN connected and a WiFi and wired subnet on ...
0
votes
1answer
17 views

Problems with routing to VPN or ISP based on source IP

I'm trying to set up my DD-WRT router so that it directs traffic either through my VPN, or directly through my ISP, depending on the subnet of the requesting machine. In my case specifically, the ...
0
votes
0answers
7 views

systemd-networkd fails to run DHCPServer on trunk port with multiple VLAN interfaces

I'm trying to configure a Linux host running systemd-networkd on a switch trunk port. The host has a single interface, enp4s0. There are only a couple VLAN ports in the switch, others are untagged. I ...
0
votes
1answer
28 views

Reroute IP to different IP, but there is a catch

This is not the normal reroute IP through iptables but it is a bit more complicated. I am using a very stripped down version of Busybox. The version has dropbear installed only a few limitations. It ...
-2
votes
0answers
15 views

Arguments for “exactly one default gateway, no manual routing tables” [on hold]

I have my personal rule of thumb: There should be exactly one default gateway. Avoid other entries in the routing table. It is the job of the network to do the routing, not the job of the server. ...
0
votes
1answer
27 views

How to route or use iptables to forward one server port to client on different subnet

The setup (all is linux): client IP address: 192.168.2.15 (interface eth1) box IP address: 192.168.2.2 (interface eth1) box IP address: 192.168.101.11 (interface eth0) server IP address: 192.168.101....
0
votes
0answers
19 views

Multiple routes to same subnet

I've successfully configured multiple network interfaces on the same subnet following this guide by RedHat: https://access.redhat.com/solutions/30564 I can ping from any NIC to hosts on the subnet, ...
0
votes
2answers
27 views

How to add a second router to LAN for certain destinations

I have an office LAN 192.168.1.0/24 which has a general internet connection via Router1 which is the default gateway on our LAN. I wish to add a second router/gateway which will route messages to a ...
1
vote
0answers
30 views

Amazon EC2 Web Server not Serving Content

I was using an EC2 Ubuntu 16.04 Server instance that was working fine but I had to reboot it briefly and since then I have been unable to connect via HTTP/HTTPS or ping it. I can SSH in and Telnet ...
0
votes
1answer
27 views

Interface with static IP that answers pings, but doesn't route outgoing connections

I have an old Linux computer_1 with 2 network interfaces: wlan0 and eth0. There's no iptables there, but there is the ip command. I cannot install extra software there. I assign eth0 a static IP ...
0
votes
1answer
23 views

ubuntu route traffic to specific remote port via another host

There are three servers: A, B and C. C exposes a service on port 8080 and a firewall rule allows connections from B only. I need to set up A and B so that A can access C too, through B. Please note:...
0
votes
0answers
9 views

How can I stop systemd from setting VirtualBox's host only network as the default route? [migrated]

I set up a VirtualBox instance running ArchLinux with two network adapters. Adapter 1 is attached to a NAT (10.0.2.0/24) and Adapter 2 is on the host only network (192.168.56.0/24). I use udev rules ...
0
votes
0answers
17 views

Routing troubles on secondary FIB/routing table on FreeBSD

I have a need for a secondary routing table on this machine. I've got everything mostly set up, but I'm having an issue getting the default route working on the secondary fib. In most information I ...
0
votes
0answers
14 views

iptables DNAT to Virtual IP on the same server

I'm trying to setup a transparent proxy with multiple cluster. The proxy server with act as default gateway, which will redirect some specific package and forward everything else. This iptables rule ...
2
votes
1answer
23 views

Reducing number of static routes in VPN cluster

I'm trying to set up a high availability OpenVPN cluster for worker nodes that have a fixed ip regardless of which OpenVPN server they connect to. This is a requirement, as things are bound ...
1
vote
2answers
48 views

Forwarded packets are visible by tcpdump but not received by application

I have 3 machines: A 10.8.0.8/24 B 10.8.0.13/24 10.248.0.34/23 C 10.8.0.40/24 10.248.0.12/23 On A I add a route from A to C using: ip route add 10.248.0.12 via 10.8.0.13. Then I test the ...
-1
votes
1answer
70 views

Can not NAT from IP routed via VPN

I have a linux server running Centos7 that uses a VPN to route to a public IP homed in a remote network. I want to NAT from an IP address on that remote network to a local subnet over a VPN connection ...
4
votes
3answers
104 views

ESXi - Multiple Separate Concurrent Uplinks on vSwitch?

I currently have an ESXi server hosting a PFSense guest which is being used as an internet-facing router. This ESXi server is set up with two vSwitches (each with an associated port group): WAN - 1 ...
0
votes
0answers
17 views

How to specify outbound IP when running Teamspeak 3 server within a Docker container?

I have a Teamspeak 3 server Docker container on my server. My server has several IPs assigned to the one interface eth0. 198.51.100.17 Main IP 198.51.100.18 Second additional IP 198.51.100.19 ...
0
votes
1answer
36 views

OpenVPN is not connecting to services behind it (iptables?)

After connection to openvpn i can not ping even vpn address (172.16.0.1) here is my vpn config: ##protocol port port 1194 proto tcp dev tun ##ip server client server 172.16.0.0 255.255.0.0 ##...
0
votes
2answers
119 views

Weird routing behavior between 2 Subnets

I have two Subnets and the Routing works like this: Client A can Ping (ICMP) Client B Client B can't Ping (ICMP) Client A There are no Routes manually configured in the Access Point (Google Wifi ...
0
votes
2answers
23 views

Linux routing issue with two nics

I have a Server (SERVER1) with two network interfaces, as shown in the diagram. I have another Server (SERVER2) from which I am trying to connect to SERVER1. When I connect to eth0 (10.0.0.124) I ...
0
votes
1answer
22 views

OpenVPN client change hostname resolving in Windows 2003 Server

I have OpenVPN client at Windows server 2003 and OpenVPN works right. Also I have 1C service there. Also I have stopped and have deleted Routing and Remote Access Role for Windows server 2003 (and ...
0
votes
1answer
32 views

Opening a Hyper-V VM to the Outside World

I created a Windows Server 2016 virtual server using Hyper-V Manager on the host. I have several virtual machines. The host computer has 2 network connections to our main switch: a dual bonded 10G ...
2
votes
1answer
32 views

Is it possible to change the IPv6 address of docker0 bridge?

I'm trying to set up a docker based application on a virtual server running Ubuntu. The application is supposed to work with IPv6. No problem, I got a /64 network from my server provider, it is ...
0
votes
0answers
10 views

OpenVPN Router - Can't access other services on OpenVPN host

I have a VPN server running on IP A.A.A.A. I have a mini-router running an openVPN client and masqurading traffic on my local network with an IP of 192.168.99.1. Everything works perfectly, except if ...
0
votes
1answer
64 views

Ubuntu defaults to IPv6, should default to IPv4

Ubuntu 16.04.5 with kernel 4.4 used to work as intended: IPv4 is default. Since changing to kernel (hwe) 4.15, it uses IPv6 as default. It has IPv6 available via Tunnelbroker, broadcasted by the ...
0
votes
0answers
53 views

RAS Routing issue (No local LAN, but internet works)

I have an issue with RRAS on Windows Server 2016 for which I'd really appreciate some help, I've been hacking at this for two days now and am at my wits end... I've tried looking for the same problem ...
1
vote
1answer
49 views

Excluding fwmark(ed) Packets from Wireguard Tunnel

In the scenario described here, I ended up with this config in the client (the endpoint WG server has two public IPs) [Interface] Address = <ip_to_use>/32 PrivateKey = ...
0
votes
0answers
19 views

iptables smart loadblancer with geoip

I'm trying to setup load balancer via iptables that will forward new connection to the closest (geographical) node. I've seen examples of blocking traffic by country and was able to setup traditional ...
0
votes
2answers
162 views

Route ONLY specific LAN through VPN

I have ONE PC with two internal LANS. 192.168.10.4 is internal LAN and 192.168.42.2is the ip that get it from my Raspberry. Raspberry connect via wifi from my wifi router, then run tor daemon and give ...
0
votes
0answers
18 views

Traffic Routing to DR Site in case of a disaster

We are working on a project where we are deploying a HyperV cluster with a bunch of Virtual Machines. This is the primary site of the client and has about 200 Computers accessing these VMs 24X7. This ...
-1
votes
1answer
39 views

Adding specific route to my IP camera through eth0 wont work, but adding a range will [closed]

I have an IP camera configured to always use the IP 192.168.1.37 connected through ethernet to my raspberry pi. I'm also connected to the raspberry pi, through wifi. If I do: pi@raspberrypi:~ $ sudo ...
0
votes
2answers
84 views

How to route traffic from host in VPC via host in different VPC

tl;dr Is there any way to route traffic from 172.20.0.100 to 200.0.0.100 in the diagram via 10.0.0.6 ? I have a setup where we have an existing AWS VPC (172.20.0.0/16) with a number of hosts in it. ...
1
vote
1answer
17 views

Redirect traffic to local machine in local network otherwise to remote server

TP-Link repeaters allow to access their web interface through a certain domain when being connected to them. If you are not connected to them and access the very same domain, you see their website. ...
0
votes
0answers
29 views

Connecting 2 different networks (routing / Gateway)

I have a basic question about connecting two networks, and the routing / dns settings required: Network A (company, 2008 R2 Environment) is a Domain-Network, containing it's own dhcp, dcs, Internet-...
1
vote
0answers
28 views

How to change default gateway nic?

My /etc/network/interfaces looks like this: # The primary network interface allow-hotplug enp3s0 iface enp3s0 inet dhcp # iface enp3s0 inet6 dhcp # USB 3.0 Gigabit Ethernet allow-hotplug ...
1
vote
1answer
37 views

Route traffic over forwarded ipsec tunnel

Perhaps somebody can enlighten me... I think I have a problem in IPTables but no idea anymore... I have an IPSEC site-2-site tunnel between a pfSense server and a virtual machine with strongswan. I'm ...
0
votes
0answers
18 views

Is there any way, in pfSense, to set up multiple routes to the same LAN subnet?

What I mean is, that I've got a given subnet with multiple points of ingress for redundancy - multiple gateway IPs to those subnets. I haven't found a way in pfSense, though, to be able to specify ...
0
votes
0answers
35 views

How to connect two different networks hosted on 2 different NICs

I have a Windows 2012 R2 server which has 4 NICs. Two of these NICs are connected to seperate private networks(not connected to internet). NIC3 is connected to 192.168.137.1 (Subnet mask: 255.255.255....
0
votes
2answers
52 views

How to access host in LAN using alternate IP address?

I have a server in LAN (192.168.1.0/24) with static IP address 192.168.1.100, now I would like all service on this server to be accessible using 192.168.100.100 for hosts in the same LAN(192.168.1.0/...
0
votes
1answer
15 views

HP A5500 Routing to second firewall

My current network configuration is All ISPs are 100/100Mbps and the PA-500 currently does all of the routing. ISP 3 has offered an upgrade to 500Mbps however, the PA-500 it has a throughput of ...
0
votes
0answers
42 views

How to configure a management IP address on a router on a stick?

I'm setting up a simple Router on a stick following this tutorial (https://www.youtube.com/watch?v=2_xpsk-uRug&t=338s) The actual routing part works fine, however, I'm struggling to assign the ...
0
votes
1answer
45 views

Route SSH to internal virtual network via centos7 vm router

Trying to route ssh traffic to vm servers in isolated network on a centos7 KVM host. Can ping from either side but ssh times out. I'm connected to my home router from work via vpn. i have a static ...
0
votes
0answers
20 views

How to permanently set a default network interface using ifmetric?

Here's my /etc/network/interfaces allow-hotplug wlan0 iface wlan0 inet manual wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf I tried changing to allow-hotplug wlan0 iface wlan0 inet manual ...
0
votes
1answer
19 views

Routing IP to a VM Server 2012 R2

We are moving to a rental office. Trying to configure a server. The server runs Windows Server 2012R2. There are two VM's. One is a AD server, the other is a remote access server. There are two ...
0
votes
1answer
66 views

Restricting access to a specific domain on AWS

Our current setup is ALB -> Target Group -> EC2 instances At the moment it's possible to access the EC2 servers behind the load balancer using the IP address of the ALB, the DNS Name (e.g. ...
0
votes
2answers
59 views

iptables: Access single destination host without VPN

I have a device where eth0 is connected to the internet, a VPN running on tun0 through eth0, and all traffic for any devices connected on wlan0 is being routed through tun0. This works great with: # ...
0
votes
2answers
176 views

Losing first few pings on an asymetric network

I have a set of CentOS 7 machines that all have two NICs, one connected to a subnet with a default gateway, one that is entirely self-contained. When I send pings from an internal node to another ...
1
vote
0answers
67 views

Setup routing in nested virtualization cluster on vagrant / hyper-v / libvirt

I'm trying to setup a specific VMs cluster using vagrant on my local notebook. I have a Win10 Pro with HyperV as a host. Unfortunately I cannot change it thus I want to create a Linux VM on HyperV (I ...