PDA

View Full Version : VPN Networking Question




scarrab666
Mar 25, 2013, 07:53 PM
Hello All,

This is a project that I'd like to set up.

Currently I live in Australia (moved from the UK), I miss BBC iPlayer and 4OD, I have access to a VPN connection in the UK to get these brilliant services however I'd like to configure my home nework/server to pass any traffic to these two sites via the VPN only when needed. Do any of you very clever people have any ideas on how I can/could achieve this?



assembled
Mar 27, 2013, 06:56 PM
set routes to use the VPN for those networks ?

scarrab666
Mar 28, 2013, 04:30 AM
set routes to use the VPN for those networks ?

Hey assembled, this sounds just like what I need, though do you have any tips on how to achieve this?

assembled
Apr 2, 2013, 07:42 PM
usually you would need to set the routes on the VPN server as a split include

jared_kipe
Apr 3, 2013, 11:32 PM
If you know the IP address (or range of addresses) that the BBC site uses, you can simply add a route to it from terminal like this.


This will make packets to any IP address that starts with 212.58.253.xxx go to a specified IP address (should be the router on the other side of your VPN).

sudo route add 212.58.253.0/24 192.168.100.1


If you do "netstat -nr" before and after you will see the route get added to the table and generally get a good idea of where you need to route (and also what IP addresses on your local network have been resolved into hardware MAC addresses to make unicast packets specifically to them).

scarrab666
Apr 4, 2013, 08:18 PM
If you know the IP address (or range of addresses) that the BBC site uses, you can simply add a route to it from terminal like this.


This will make packets to any IP address that starts with 212.58.253.xxx go to a specified IP address (should be the router on the other side of your VPN).

sudo route add 212.58.253.0/24 192.168.100.1


If you do "netstat -nr" before and after you will see the route get added to the table and generally get a good idea of where you need to route (and also what IP addresses on your local network have been resolved into hardware MAC addresses to make unicast packets specifically to them).

Thanks my man, this points me in the right direction.