[Durham] adding a route to my home network on my remote openvpn server

Richard Patterson richard at helpquick.co.uk
Sat Jan 4 22:39:00 UTC 2014


Have a look at this: http://openvpn.net/index.php/open-source/documentation/howto.html#scope

Basically, you need to use the client-config-dir stuff… and have client-to-client set.

I have openvpn setup with a few different sites, all going via a central openvpn server, all sites have routes to the other sites pushed out to them.

It works quite well.

Hope that helps.

Regards

Richard

-- 
Richard Patterson
Mobile: 07921 512 459


HelpQuick Ltd
The headquarters of
innovative IT solutions

Office: 0191 2582888, Fax: 0191 6408666
Web: http://www.helpquick.co.uk

Have you used our services? Why not write a review on the FreeIndex website

HelpQuick Limited, Registered in England & Wales, Company number
5334746, Vat registration number: 859 6133 89, Registered office:
18 Camden Square, North Shields, NE30 1NR, UK
 

On 4 Jan 2014, at 22:24, Andrew Glass <andrewglass3 at gmail.com> wrote:

> Hey guys
> 
> Can you help please?
> 
> Ok so Ive got my remote openvpn server running and have connected my odroid-u2 at home to it.
> 
> All my traffic is going to be routed through this odroid to amsterdam via openvpn.  The odroid vpn connection works and I can ping google from the odroid.  However what I cant do is set a route to my home network via route add -net on my remote Amsterdam server.
> 
> My odroid vpn ip is 192.168.200.14
> 
> ifconfig gives the following output for tun0:
> 
> tun0      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
>             inet addr:192.168.200.14  P-t-P:192.168.200.13  Mask:255.255.255.255
>             UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
>             RX packets:278 errors:0 dropped:0 overruns:0 frame:0
>             TX packets:287 errors:0 dropped:0 overruns:0 carrier:0
>             collisions:0 txqueuelen:100
>             RX bytes:22056 (21.5 KiB)  TX bytes:20644 (20.1 KiB)
> 
> 
> 
> The openvpn server ip on tun0 is 192.168.200.1
> 
> ifconfig gives the following output for tun0
> 
> tun0      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
>             inet addr:192.168.200.1  P-t-P:192.168.200.2  Mask:255.255.255.255
>             UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
>             RX packets:8333 errors:0 dropped:0 overruns:0 frame:0
>             TX packets:10567 errors:0 dropped:0 overruns:0 carrier:0
>             collisions:0 txqueuelen:100
>             RX bytes:1830173 (1.7 MiB)  TX bytes:8473192 (8.0 MiB)
> 
> 
> My home network is on 192.168.1.0/24
> 
> I have tried using :
> 
> route add -net 192.168.1.0/24 gw 192.168.200.14 
> 
> However I get the following error:
> 
> SIOCADDRT: No such process
> 
> I am running these servers on debian wheezy.
> 
> Any ideas?
> 
> Cheers
> 
> Andy
> _______________________________________________
> Durham mailing list   -   Durham at mailman.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/durham
> http://www.nelug.org.uk/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.lug.org.uk/pipermail/durham/attachments/20140104/942b60de/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4151 bytes
Desc: not available
URL: <http://mailman.lug.org.uk/pipermail/durham/attachments/20140104/942b60de/attachment.bin>


More information about the Durham mailing list