A route is the path through the network packets take in order to reach their destinations. The route command lets the user view and modify the IP routing table
0
votes
2answers
55 views
Undestanding the output of route -n
Can someone explain me what the out put of route -n?
# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.0.1 ...
1
vote
1answer
56 views
Routing 4 Networks
I've been trying for almost a week to make it work but without success. I'm starting to feel hopeless.
I have 4 Ethernet adapters :
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state ...
2
votes
0answers
56 views
How to bind ppp0 interface (PPTP VPN) as 'external' in proxy server?
I'm trying to bind ppp0 interface (PPTP VPN) as 'external' interface in proxy server (Tinyproxy). Unfortunately it does not work.
Using route add -net default gw 10.9.0.1 I can make all the traffic ...
1
vote
0answers
50 views
I have a route to the network but from the traceroute output it doesn't leave the server
I have an HP-UX box and I'm trying to determine why a host can't be reached. I'm trying to reach the host 10.32.13.146
root@hp-ux:/root # traceroute -I 10.32.13.146
traceroute to 10.32.13.146 ...
0
votes
1answer
27 views
Restoring default ip rule
I accidentally issued ip rule flush, now the default ip rule are all gone, which is,
32766: from all lookup main
32767: from all lookup default
Anyone know how to add them back?
1
vote
1answer
115 views
With two interfaces, how can I make one the default route and the other an alternate?
I have wired connection to intranet / lan of my work (with proxy) and one wireless without proxy that doesn't have access to the office lan. (Like Guest Wifi)
My idea is to route all traffic to eth0 ...
2
votes
1answer
134 views
Route SSH to host through interface
is it possible to route all outgoing requests for SSH (port 22) to mydynamicdns.afraid.org via wlan0 instead of eth0 when both are connected?
Since my IP is dynamic, I would like to use a name ...
2
votes
1answer
69 views
How do I route traffic through specific interface for a specific process
I have a script that runs from cron every 15 minutes. The script is meant to ping my DNS server to update a dynamically changing IP. I want this script to ping through the wlan interface and not the ...
1
vote
1answer
361 views
Only routing certain traffic through VPN
I have a central development server, running a VPN server, and a couple clients that need to connect to it. The server is running Apache, but is only accepting local requests (only listening on ...
1
vote
0answers
108 views
Packets not received by TUN device
I created a TUN device(nat64) and created a route so that all the required packets are forwarded to the TUN device from an eth device. But, I see that many packets are not received by the TUN device.
...
1
vote
1answer
95 views
Point IP to an application instance
I was just wondering how I go about pointing a static IP address which I have purchased to an application instance on my server, using a different IP from the one I currently have pointing to my main ...
1
vote
1answer
61 views
Change routes for VPN
I need to use for some things a cisco VPN connection, but I don't want to route all my trafic over the VPN but only that traffic, that is send to a specific network.
How does a script look like, that ...
9
votes
2answers
4k views
iptables --set-mark - Route diferent ports through different interfaces
Short story,
3 interfaces, eth0 (LAN), eth1(ADSL), eth2(4G).
eth0 -> eth1: Works
(ports 80, 443, 4070) eth0 -> eth2: Doesn't happen
This is a graphical representation of the idea:
Port 80 & ...
3
votes
1answer
202 views
What is the GNU/Linux equivalent of BSD's “route get …”?
The BSD route command has a feature that will show what route will be selected for a given host. For example:
/Users/mhaase $ route get google.com
route to: iad23s07-in-f8.1e100.net
destination: ...
1
vote
1answer
1k views
iptables forwarding and routing
In fact, this question is about openwrt and CoovaAP, but I guess it's the same in other linux distributions.
I've two interfaces, a "wan" and a "wlan" interface.
Is there by default any filter, ...
3
votes
0answers
274 views
Route VPN traffic through socks proxy
There is no way to set proxy on an unrooted Android, but there is an option to connect to VPN.
In my network VPN connection is not allowed! so I am looking for a way to run a local VPN server on my ...
2
votes
1answer
605 views
system wide SOCKS5 Proxy
I connect to my Server on the internet using ssh -D 3128 user@rootserver.com. If I am right I thereby open a SOCKS v5 Proxy to my Server. Using firefox and FoxyProxy I can now add this to my proxys ...
2
votes
0answers
260 views
Route VPN gateway traffic via tun0 instead of normal gateway
On my Linux box, I have a tun0 interface by IPIP tunnel like:
tun0 Link encap:IPIP Tunnel HWaddr
inet addr:10.10.10.2 P-t-P:10.10.10.1 Mask:255.255.255.255
and I running an ...
5
votes
2answers
304 views
Route and “e” flag
k# route -6
Destination Next Hop Flag Met Ref Use If
::/0 fe80::8001 UGDAe 1024 0 0 eth0
[...]
What does flag "e" mean?
2
votes
3answers
4k views
how to ping & use specific network card
i have 3 network cards , 1 Lan (wired) , 1 wireless network card & 1 is wireless usb
how do i ping from specific network card ?
& how do i use specific network card for specific ...
4
votes
2answers
242 views
how to set what route would be added when bringing interface up
I have one two interfaces on one machine, one is the Internet connection that get its IP from a DHCP, no problem.
The other interface (eth1) is to local machines, and it has the gateway 192.168.3.1 ...
