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

Andrew Glass andrewglass3 at gmail.com
Sat Jan 4 22:24:28 UTC 2014


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.lug.org.uk/pipermail/durham/attachments/20140104/5b168f10/attachment.html>


More information about the Durham mailing list