Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > OS X > Mac OS X Server, Xserve, and Networking

Reply
 
Thread Tools Search this Thread Display Modes
Old Mar 25, 2013, 07:53 PM   #1
scarrab666
macrumors member
 
Join Date: Mar 2009
Location: London
VPN Networking Question

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?
scarrab666 is offline   0 Reply With Quote
Old Mar 27, 2013, 06:56 PM   #2
assembled
macrumors regular
 
Join Date: Jan 2009
Location: London
set routes to use the VPN for those networks ?
assembled is offline   0 Reply With Quote
Old Mar 28, 2013, 04:30 AM   #3
scarrab666
Thread Starter
macrumors member
 
Join Date: Mar 2009
Location: London
Quote:
Originally Posted by assembled View Post
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?
scarrab666 is offline   0 Reply With Quote
Old Apr 2, 2013, 07:42 PM   #4
assembled
macrumors regular
 
Join Date: Jan 2009
Location: London
usually you would need to set the routes on the VPN server as a split include
assembled is offline   0 Reply With Quote
Old Apr 3, 2013, 11:32 PM   #5
jared_kipe
macrumors 68030
 
jared_kipe's Avatar
 
Join Date: Dec 2003
Location: Seattle
Send a message via AIM to jared_kipe
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).
Code:
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).
jared_kipe is offline   0 Reply With Quote
Old Apr 4, 2013, 08:18 PM   #6
scarrab666
Thread Starter
macrumors member
 
Join Date: Mar 2009
Location: London
Thanking you...

Quote:
Originally Posted by jared_kipe View Post
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).
Code:
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.
scarrab666 is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > OS X > Mac OS X Server, Xserve, and Networking

Tags
networking, vpn

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
VPN question ring Mac Applications and Mac App Store 5 Feb 27, 2014 04:57 PM
Networking question... mvmanolov Mac Peripherals 4 Feb 3, 2014 11:00 AM
Restore and VPN question Zombiecrowd iPhone Tips, Help and Troubleshooting 0 Oct 29, 2013 09:32 PM
Networking S/N Question mic j Mac Basics and Help 3 Oct 2, 2013 08:44 PM
Resolved: Question about networking chrismarle iMac 5 Jun 27, 2013 11:04 PM

Forum Jump

All times are GMT -5. The time now is 11:08 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC