Routing (in IP-based networks) is the process of selecting paths in a network along which to send network traffic.

learn more… | top users | synonyms

7
votes
2answers
8k views

How to refuse routes that are PUSHed by OpenVPN server?

When I establish an OpenVPN client connection over the Internet to our corporate OpenVPN server, it pushes several static routes. Unfortunately, these routes break some connectivity within my local ...
9
votes
2answers
14k views

Use ssh with a specific network interface

I'm using openconnect to connect to vpn. After entering my credentials, I get this: POST https://domain.name/... Got CONNECT response: HTTP/1.1 200 OK CSTP connected. DPD 30, Keepalive 30 Connected ...
3
votes
1answer
550 views

Routing Tables: What is the effect of the RTF_IFSCOPE flag?

(Related to this question I posted a while ago on apple.stackexchange.) What is the difference between the following two routing table entries: default E.F.G.H UGSc 0 ...
2
votes
1answer
3k views

Find connections per ip on an OpenWRT router?

How can I list the number of connections per client on the FORWARD chain of an OpenWRT router? I know how to list the number of connections per IP address on the router: netstat -ntu | tail -n +3 | ...
2
votes
1answer
2k views

Limit the max connections per IP using OpenWRT?

Would the following iptables command on an OpenWRT router assure that no one client has more than 50 active connections? $ iptables -I FORWARD -m connlimit --connlimit-above 50 -j REJECT ...
10
votes
3answers
6k views

How to find out which interface am I using for connecting to the internet?

I have eth0 and wlan0 according to ifconfig and I can ping google.com. How can I find out (with a normal user, not root) what interface is active, as in, what interface did the ping (or whatever, ping ...
4
votes
1answer
5k views

Is route add … the best way of directing traffic through a vpn

I have set up a VPN on a remote ubuntu machine using pptp-linux and the instructions found here. After set up no traffic seemed to be going through the VPN and the VPN network devices were not ...
4
votes
1answer
9k views

What is kernel ip forwarding?

I have seen on many blogs, using this command to enable IP forwarding while using many network security/sniffing tools on linux echo 1 > /proc/sys/net/ipv4/ip_forward Can anyone explain me in ...
1
vote
0answers
496 views

Wrong route taken on a network with two gateways [closed]

In the following output, why does vpn1 route pings to 10.100.0.1 instead of 10.100.0.112? 10.100.0.1 is a network gateway with no NAT; 10.100.0.112 is a dual-homed host with NAT enabled. root@vpn1:~# ...
4
votes
3answers
3k views

Send duplicate packets over two Internet connections

I need to duplicate an RTP stream over two different (non-reliable) Internet connections. On the receiver side, I will probably run a custom program that will use a buffer and rebuild the stream ...
3
votes
4answers
2k views

Sniffing packets through router

I would like to create a system like this. The user would connect through a wifi network which would reroute all http requests and responses through the network card on a computer thus allowing that ...
1
vote
1answer
960 views

Two networks cannot be accessed simultaneously

I have two networks on a server. One being my internal network, and the other being an external IP address. This is on Debian Lenny. Here is my /etc/network/interfaces file: # This file describes ...
3
votes
1answer
2k views

How do I configure OpenVPN as a Gateway client for Witopia?

I have the following setup: Witopia SSL account Synology 409 NAS (with OpenVPN and Apache etc) PS3 Mac Apple AirPort router (configured for NAT) Locked IPT-box (using DHCP and NAT traversing) ...
13
votes
2answers
10k views

Reply on same interface as incoming?

I have a system with two interfaces. Both interfaces are connected to the internet. One of them is set as the default route; a side effect of this is that if a packet comes in on the non-default-route ...
8
votes
1answer
1k views

Dual network connection

I have a usb cellular modem and a Home LAN connection on my Ubuntu 10.10 box. Both work independently. I want to know how to have both connected at the same time, and be able to specify which ...
1
vote
1answer
267 views

VPN issues on web browsing

I'm using Ubuntu Maverick and this is the setup: Our router connects us to the company's VPN through which we can access some internal websites. I have to connect also to a customer's VPN in order to ...
3
votes
3answers
2k views

Using bridge utils to connect two computers via Linux

I have been using bridge utils previously to connect my network connected computers to a single interface on my Linux computer. The problem I'm having is when I installed a new Linux (with Slackware) ...
4
votes
1answer
2k views

multigateway routing for specific src port

I have two gateway to access internet, somehow I want to load balancing it, so far its working, but some connection or service need persistent gateway IP to be used, so the client should never change ...
3
votes
2answers
538 views

Block specific IP from accessing gateway

Suppose you are on linux internet gateway/router. What would you do to block a client with specific IP using bash script. I prefer something like ./block_client.sh 192.168.1.123 to block and ...
13
votes
3answers
1k views

Can I limit a user (and their apps) to one network interface?

As the title really. I've actually got two scenarios to apply this: Multiseat Desktop: two network connections both with internet gateways and two accounts doing bandwidth-intensive tasks on each. I ...
4
votes
5answers
10k views

How to route specific adresses through a tunnel?

There are certain websites/services which I can only access from the subnet on which my server is located (think of the typical intranet scenario). Is there a way to transparently route traffic that ...
2
votes
4answers
2k views

How do I route web requests into my private network depending on the domain in the url?

Scenario: Due to limited number of IPs, several domains are resolved into the same IP address. However, these domains may not all run on the same webserver, VM, or even dedicated machine. Therefore, ...