Questions tagged [route]
Command line tool for manipulating and listing the routing table.
618
questions
1
vote
0
answers
945
views
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:
...
-1
votes
2
answers
8k
views
ip route add: RTNETLINK answers: Network is down
I'm quite new to networking and I really can't figure this out.
I am trying to add a static route so that all traffic to aa.aa.aa.aa goes through eth0:0 interface
root@LSW-199:~# ifconfig
eth0 ...
1
vote
0
answers
612
views
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 <my_corporate_VPN_url>
I'm doing this from three physical instances of ...
9
votes
3
answers
19k
views
What is the local routing table used for?
I am trying to understand what is the local routing table.
If I add a random address in it with the following command:
sudo ip route add to local <any-ip-address> dev <network interface>
...
0
votes
2
answers
3k
views
Can't ping nor connect to my mail server with Outlook but internet works fine
Well, the internet is working flawless, all the sites are fine, and I can use my webmail from the provider website, althought I can't send anything from Outlook, funnily I receive everything, and all ...
2
votes
0
answers
320
views
Changing the interface of a IPV6 route on AIX
My current IPV6 routing talbe:
Route Tree for Protocol Family 24 (Internet v6):
::/96 0.0.0.0 UC 0 0 sit0 - - =>
default link#2 ...
0
votes
1
answer
105
views
Subnet is big enough but no connection between two servers (within IPSec vpn)
I could bet that everything is set up correctly. But it doesnt work :-(
As you can see the network is quite simple. - I hope.
My goal is a connection between Server 2 and Server 4.
On Server 2 there ...
1
vote
1
answer
3k
views
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 ...
1
vote
0
answers
253
views
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 ...
-1
votes
1
answer
788
views
How to change loopback network mask or redirect subnet to another interface [closed]
I have the following problem.
First of all. Here are my interfaces.
# ip addr
ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd ...
-1
votes
3
answers
7k
views
Is there a way to ssh using hostname alias without modifying the etc/hosts file?
I spent hours researching how I can automate 100s of hosts that are all under one local domain. (i'm on a ubuntu linux 17.04 machine)
For example, I have node1.domain.org, node2.domain.org, and the ...
0
votes
1
answer
1k
views
Redirect port to openvpnas client
I've been trying really hard to allow a distant pc to access to my web server hosted on a vpn client (openvpn access server).
I'd like to make this setup possible:
The VPS's os is debian 8 btw
I ...
-1
votes
1
answer
644
views
Windows setup up bad route
I am seeing a weird problem on a Windows 7 x64 PC.
The PC has two network interfaces: 10.0.7.80 and 169.254.198.30
For some reason when 169.254.X.X interface comes up Windows sets up incorrect ...
0
votes
1
answer
566
views
Allow only subnet routes for a given network interface (Windows)
I use a laptop, which has two physical network interfaces: wireless (IF 11 as printed by route) & Ethernet (IF 12). I have two routers R1 & R2, but only the first one does have an internet ...
0
votes
1
answer
815
views
Openswan server not routing traffic to LAN instances
I created an openswan instance which connected with AWS VPN and tunnel is up. I can ping from Openswan server to EC2 instance in VPC and EC2 instance can also ping Openswan private interface.
But ...
1
vote
1
answer
4k
views
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 ...
0
votes
2
answers
254
views
reroute traffic from A going to B to instead go to C
I have TCP traffic from 192.168.3.51 going to 192.168.3.10 but instead I would like to have it sent to 192.168.3.50
Is there a way to set this up in iptables such that only tcp traffic coming from A ...
0
votes
1
answer
4k
views
Why first hop of traceroute is not the default router?
default route is:
ip route show:
10.0.0.0/23 dev eth1 proto kernel scope link src 10.0.0.150
default via 10.1.1.1 dev eth0 metric 100
And
traceroute www.google.com
traceroute to www.google....
0
votes
2
answers
1k
views
BGP advertising routes accross connected virtual networks
I have 2 vnets (same subscription), one in AU (10.2.0.0/18) and one in UK (10.2.64.0/18).
The vnets are connected together and virtual PCs connected to each vnet can ping each other.
Click here for ...
0
votes
3
answers
2k
views
How to find out the interface inbound traffic is using?
For a outgoing packet, by route I can know which interface is using, but for a incoming packet, how to find out which interface is using?
-1
votes
1
answer
621
views
routing all network traffic over a internet host
i would like to replicate what openvpn redirect-gateway does, routing all traffic over a internet server into the internet and back.
my client pc -> home router -> internet -> 1.2.3.4 -> internet
...
2
votes
1
answer
182
views
static routing - multiple subnets through 1 server
I'm wanting to establish a static route to a separate subnet, routing through a vpn. Debian linux.
Machine A: vpn IP 10.1.1.10 --> machine b (server) ip 10.1.1.2
Machine B: 3 network ...
2
votes
2
answers
21k
views
add default route for redhat permanently
I have a cluster consists of several RedHat_7 PCs. The master node connects to two networks(Internal and Internet). I used to utilizing NAT to provide Internet service for all the computers.
For ...
0
votes
1
answer
450
views
Iptable Prerouting chain
I am setting up honeypot network to trap attackers. I have some routing issues. I have configured static routes in all machines so that I can connect any machine to any machine in the network. I want ...
0
votes
1
answer
3k
views
Ping is working but curl not working on a specific interface
I would like to be able to make a curl through 2 different interfaces: ppp0 (data connection) and enp3s0 (ethernet connection).
ppp0 connection is mounted by pppd. This gives the following route ...
2
votes
0
answers
3k
views
In the output of netstat -r, what is the meaning of the "Netif" column and how does it differ to the "Gateway" column?
I can find virtually no documentation of the meaning of the column "Netif" in the output of netstat -rn. Googled for it, searched through the netstat(1) and route(8) man pages and found the following ...
0
votes
2
answers
221
views
Define route which is being created on the client when connecting to Windows VPN server
I have the following situation:
VPN with Server 1:
- Server IP: 10.8.4.1
- Client IP Range: 10.8.4.1 to 10.8.4.254
- Netmask: 255.255.255.0
VPN with Server 2:
- Server IP: 10.8.5.1
- Client IP Range:...
0
votes
1
answer
56
views
Extra routes being created when assigning virtual network interfaces
I'm running a Ubuntu VPS that I'm using as a squid proxy server. From my provider I've got a load of IP addresses which I'm assigning as virtual interfaces within /etc/network/interfaces.d/eth0.cfg ...
0
votes
2
answers
73
views
How can I route SYN and RELATED TCP 80,443 out a different interface than my default GW?
I have a server with two nics (eth0 = 10.10.10.1/24, eth1 = 192.168.1.2/24). eth0 is the default route for both local and internet traffic. I'd like to route anything which is not 10.10.10.x traffic (...
4
votes
3
answers
188
views
Connect a computer through VPN with a different network
Hi,
I would like to connect to a computer through a vpn in another network.
My computer (Debian 7.11) is in the network 192.168.2.0/24. My gateway (192.168.2.1) is a VPN router. It connects to ...
0
votes
0
answers
377
views
Hyper-V ping VM from different physical host
Here is the setup, I'd appreciate if someone can tell me why this doesn't work. This illustration should make it easy to understand.
From 192.168.1.3 how can I get to 10.0.0.5 ?
Wouldn't a route ...
4
votes
1
answer
5k
views
Routes for two openvpn connections (different hosts) in the same client
Im trying to make multiple tunnels in the same client, and after a successful connection to the openvpn server I've applied some routes for the tunnels created without success. My first tunnel works ...
3
votes
2
answers
34k
views
how to add static route to specific host
I'm currently using "strongSwan" ipsec VPN client on linux.
I can connect to my VPN server, default route automatically set to 10.10.10.1.
And I can access my local network by ip route add 192.168.7....
1
vote
1
answer
650
views
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 ...
0
votes
1
answer
7k
views
How to route all traffic from a specific port to a specific network interface?
I have the following setup:
A computer with two network cards connected to two different routers. The first router redirects all outside traffic coming on port 5122 to port 22. So that I can connect ...
0
votes
1
answer
472
views
Accessing Tunnelled Local Server via Cloud Server's Public IP
I have tunneled my local server to cloud server with VPN tunnel (Tinc). Both servers can talk each other on tun0 interfaces.
My cloud server can be accessible through Internet with public IP address ...
21
votes
2
answers
173k
views
Specify route to an interface in Windows cmd
I have a computer with 2 network interfaces.
One interface is connected to LAN network with IP 192.168.0.254, and the other is connected to a recorder server (192.168.0.233).
192.168.0.10 is the ...
1
vote
0
answers
783
views
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 ...
0
votes
1
answer
359
views
unable to route through linux gateway
I have 2 linux box A and B, both are RHEL 7.
B nic configuration:
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 9001
inet 10.74.61.131 netmask 255.255.254.0 broadcast 10.74.61....
1
vote
1
answer
377
views
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 ...
0
votes
1
answer
336
views
Can't access LAN host from the firewall
I have a problem I cant seem to comprehend, here's the thing: I want to have access to a LAN server on 192.168.100.32 from the firewall (192.168.1.100). This network is managed by eth0, and I can (...
3
votes
3
answers
21k
views
openvpn --client-connect example script
Good day all
I require a --client-connecting script and --client-disconnect script.
My issue: is that I am unable to find an example anywhere, I have been searching for the past 4 hours.
I have ...
4
votes
1
answer
1k
views
Route IP from server A to server B
I try to route 137.74.9.193 from server A to server B (Ubuntu 16.04).
If i try to ping 137.74.9.193 from Server A it works as expected, but when i try to ping from my personal computer it doesn't ...
0
votes
1
answer
120
views
Share internet access with route
I'm trying to share internet connection of a linux machine with another machine.
Both created in vmbox, PC A has a internal network connection, PC B has both an internal and external connection. ...
2
votes
2
answers
813
views
Connection refused on shared internet connection
The following picture shows the topology of my network.
I now want to route all http traffic from 10.8.0.15 via 10.8.0.42 to the outside world, using wlan0. Unfortunately, I am a noob when it comes ...
1
vote
1
answer
63
views
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 ...
3
votes
2
answers
2k
views
Change default outgoing IP adress on latest Ubuntu
I just set up a second IP adress on my Ubuntu server and now I'm trying to change the default outgoing IP adress to the new one with
ip route replace default via <old-ip> src <new-ip>.
...
-2
votes
1
answer
132
views
Default Gateway is skipped when adding an additional IP address
I'm currently faced with an issue were when adding an addition IP address, Tracert results to intended IP address but skips the gateway and goes straight to that IP as the 1st/last hop.But when I ...
0
votes
2
answers
1k
views
OSRM on Nginx over SSL
I have set up OSRM (Open source routing machine) with nginx. It works as it was supposed to. But, the problem is I can't make it work over ssl. I have set the ports 443, the site over nginx works with ...
0
votes
2
answers
60
views
Servers don't communicate via directly connected network card
I have 2 servers (Windows Server 2012 R2), with each having (more than) 2 network cards. I want both server to use 1 network card for "The Internet", and 1 network card to communicate directly with ...