Command line tool for manipulating and listing the routing table.
Questions tagged [route]
620 questions
0
votes
1 answer
Proxying packets back using iptables
Problem: requests from web-application server to main server should be proxied back to web-application server. So if I perform a request from web-application server to application's domain (or public ip of main server) I expect to get an actual…
0
votes
1 answer
How do I provide Internet Access to both of my VLANS?
I have a TP-LINK T1600G-28TS, and I have 2 different VLANS (10.0.0.0/24 ID 101 and 10.1.1.0/24 ID 102), their IP addresses are defined by the switch's DHCP server. This part is working fine, I can see other devices in the same VLAN, and can't see…

user613017
- 1
- 1
- 1
0
votes
0 answers
Openshift Route - Cookie specification - Istio Routing
I have requirement to pass cookie or headers in openshift route to istio virtual service and decide the traffic routing based on cookie or header passed from route to virtualservice.
Please share pointers on the same.

Nagendra Vummadi
- 101
0
votes
1 answer
How to only allow routing to IP range on particular interface?
I have two interfaces eth0 (192.168.10.x) and wlan0 (172.16.30.x) on my device (Raspberry Pi, Raspbian GNU/Linux 10 (buster)).
Both networks have access to the internet, but I want my device to only use the eth0 for any IP ranges apart from the…

ItsBoffo
- 3
- 2
0
votes
1 answer
Use a gateway from another NIC
I have a machine (machin-A (Ubuntu 18.04)) with two NIC's. one is eth0 and the other eth1. eth0 connected to the company subnet. eth1 connected to a second Linux machine (Machine-B) . both physical machines.
i need to traffic information from…

koby058
- 1
0
votes
0 answers
Setup dynamic ip route via rules
I've got a setup like:
|<-->|---> server 1 <---|
clients <-| <--> proxy <-->
|<-->|---> server 2 <---|
Hope my ASCII art works :)
On my proxy I would like to be able to route back via the server, the…

Alfred Balle
- 409
- 3
- 9
- 22
0
votes
1 answer
How do I route a specific ip address via the default system gateway?
I send all the traffic through a Wireguard VPN, but I need to setup an exception. Packets directed to my own public IP have to go through the default gateway of the system.
It works as intended if I add this to the kernel routes:
route add X.X.X.X…

NANI SORE
- 3
- 1
0
votes
0 answers
How can I accept IPIP connection in CentOS 7?
Guys I have a server with Mikrotik Router OS installed on it and there are some PPTP users using that server as a VPN server . What I want to do is to create an IPIP tunnel between this Mikrotik Server and a CentOS 7 server !
What I'm trying to…

Mr Pro
- 33
- 3
0
votes
1 answer
Routing in linux with two nics
I've been squeezing my mind with this problem since a couple of days, unfortunately I can 't find a way out.
May be it's lack of theory or just a bad setup. I will appreciate a bit of help :-)
schematic diagram
I 'm having a problem to achieve this…
0
votes
1 answer
use dns instead of ip address windows static route add
I need to add some static route with this command on a Windows command prompt:
ROUTE ADD -p IPADREESS GATEWAYIP
But what I want is to use Dns instead of Ip address Is there a way ? How ?
For example:
ROUTE ADD -p *.example.com GATEWAYIP

Hamid Shoja
- 123
- 5
0
votes
1 answer
How do I show that a network interface is working?
How do I show that a particular network route is working without that route being the default route?
Here is the situation at hand.
$ ip route
default via 192.168.2.1 dev enp0s31f6 proto dhcp metric 100
default via 10.162.141.192 dev wwp0s20f0u11i12…
0
votes
1 answer
Virtualizor Hetzner IPV6 subnets
I am trying to configure a Virtualizor instance on a Hetzner machine but I can't make it to work since I need to "nat" the IPV6 subnets.
I divided my /64 subnet by multiple /80 subnets and I added a few addresses to use with the machine.
I tried to…

Poli
- 3
- 4
0
votes
1 answer
How to Hide real DNS server from OpenVPN?
OpenVPN show the DNS server in clear when you connect but i want to hide that from public. ( It shows that in logs and network adapter in Windows for example )
DNS server alreadly have rules to receive DNS request only from the VPN IP address. ( i…

rayjhp
- 1
- 2
0
votes
0 answers
VM in KVM with different network, A can ping B but B can't ping A ? (Bridge KVM network)
I have 2 VM in KVM, and 2 network default and new
1 use defaut network:(virbr0)
192.168.122.0/24
IP: 192.168.122.152.
fowarding: NAT
the other use new network:(virbr1)
192.168.124.0/24
IP: 192.168.124.182
fowarding: NAT
Both have empty iptables…

Lê Minh Quân
- 301
- 2
- 13
-1
votes
1 answer
Cannot use a secondary IP for outgoing traffic
I have a server (Ubuntu 18.04) with multiple IP address in the same network device.
This is the ip a return:
1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd…

Gui
- 59
- 7