Command line tool for manipulating and listing the routing table.
Questions tagged [route]
620 questions
1
vote
1 answer
SSH to VPN server via the VPN connection
I am running OpenVPN server on server (EC2 node on AWS).
I am using this server as an access to internal AWS network.
In order to route traffic from my PC (VPN client) to restricted AWS resource via whitelisted VPN IP I am using those commands:
sudo…

Tom Raganowicz
- 183
- 1
- 1
- 9
1
vote
2 answers
How do I setup a router to forward packets (to/from) a specific IP to a specific _hardware port_?
I would like to route all traffic to 192.168.1.10 to hardware port 1 on my router and all traffic to 192.168.1.11 to hardware port 2 on my router. The issue here is that I have a network attached device (192.168.1.10) that claims to have the fastest…
Lance
1
vote
0 answers
How to route all traffic through another server at the same subnet?
I want to forward all traffic that comes from clients (192.168.1.0/24) out of openwrt gateway (0.0.0.0/0) to the Server openvpn tunnel.
Server has an openvpn tunnel. It has also set options:
iptables -t nat -A POSTROUTING -o tun0 -j…

Alex
- 11
- 2
1
vote
0 answers
How to debug tun0 issues with OpenConnect Juniper
I'm using OpenConnect in Debian testing to connect to a corporate Juniper VPN, this way:
sudo openconnect --juniper -v
I'm doing this from three physical instances of this OS and in all cases I'm passing authentication…

Antonio López
- 133
- 4
1
vote
1 answer
Centos configure outbound IP address
On my CentOS server I have configured 7 ip addresses.
The default IP address is 87.233.82.98 en this address should be used for outbound connections. However the 87.233.82.99 address is used for outbound connections.
The .99 address is also…

Jochem Gruter
- 113
- 1
- 5
1
vote
0 answers
Openvpn Route specific ip - Not working
I am currently using OpenVPN client on my ubuntu server to access my vpn service provided by cyberghost vpn. I am trying to configure the client to only use the vpn for a specific ip address. I have removed the line redirect-gateway def1 and have…

Adam
- 11
- 2
1
vote
1 answer
IPSec Tunnel is up but I cannot ping destination ip
I am attempting to setup an IPSec tunnel to an external service that we do not control. The tunnel appears to be up but I am unable to ping the private IP address at all. I just receive a Destination host unreachable.
ifconfig
docker0 Link…

Jeff van Aswegen
- 11
- 1
- 3
1
vote
1 answer
Multiple openvpn clients in different hosts
I'm trying to run multiple openvpn instances at the same time, all works fine running a single one, but I would like to have several instances, one of each connected to a different host and from there be able to use the interface that I want.
I'm…

therealbigpepe
- 153
- 1
- 6
1
vote
0 answers
Route HTTP packets into tun/tap interface
What I simply want is to redirect all HTTP packet from any interface to my tun/tap interface. A scapy script will listen on this interface and do some treatments to these packets.
First, I created a tun/tap interface:
sudo ip tuntap add mode tap…

Duke Nukem
- 111
- 2
1
vote
1 answer
OpenWRT: don't forward private networks IPs
How to block any private networks destination IPs (10.0.0.0/8. 172.16.0.0/12, 192.168.0.0/16) to be forward to WAN?
When I forget to connect VPN to work I wouldn't like to forward this packages to WAN and it should REJECT those packages so I'll know…

Hadogenes
- 13
- 2
1
vote
1 answer
Persistent Routes in 2008R2 - does this keep a static ARP cache or only L3 cache?
When using/defining persistent routes in windows 2008R2, what level of info is cached? Is this working at the ARP/MAC level? If a new router is put into play, but Layer 3 remains the same, would the persistent route still be valid?

FunkyColorado
- 13
- 2
1
vote
0 answers
Windows Server - Route any request via a set IP
We have a Windows 2008 server that has multiple IP address' on it. When the server makes requests to other machines (Via a .Net Web App) we've found that the IP it's 'calling out' on is un-predictable which makes things difficult in terms of…

LiamB
- 270
- 5
- 13
1
vote
1 answer
Accessing internally stored documents via hyperlinks in Websites on a DMZ server
We have a vendor-provided application running internally (LAN) on a Windows/MS-SQL 2012 server, providing access via IIS on the same box. The application is able to store attached documents - these are physically held in a share on this…

user360712
- 11
- 1
1
vote
1 answer
add new route linux
I need to add a new route 10.10.10.0 and now I have this:
# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 xx.xxx.xxx.1 0.0.0.0 UG 0 0 0…

Mihai Rusan
- 11
- 3
1
vote
1 answer
Linux adding a bad route on startup?
I've got several Linux (Debian Wheezy) machines that have a peculiar problem. After booting them up, an extra route is created that has to be deleted before the machine can talk to other machines on the same subnet. After booting, the routes look…

Extra Sauce
- 71
- 1
- 1
- 6