WHS as internet gateway with Open VPN anonymisation service

How to customize and extend your OpenVPN installation.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
Klaus F
OpenVpn Newbie
Posts: 6
Joined: Fri Nov 25, 2011 10:08 pm

WHS as internet gateway with Open VPN anonymisation service

Post by Klaus F » Sat Nov 26, 2011 2:32 pm

Hi,

I use a WHS 2003 as an internet gateway for my home network. On the WHS a OpenVPN-Client is working which opens a VPN tunnel to the anonymisation service TUVPN.com. My goal is making the anonymous IP address available for all my clients using the TUVPN account on my WHS. All clients shall use the same anonymous IP address.

This is my network: http://img40.imageshack.us/img40/1640/networkzc.jpg

RRAS is enables on the WHS and NAT is working fine. All clients have internet access. The problem is that as soon as I start OpenVPN on the WHS the tunnel is built up on the WHS properly and whatismyipaddress.com shows that the internet IP address of the WHS is anonymous BUT all clients stop having internet access. A ping to 192.168.1.1 and 192.168.2.1 works ok but 77.92.78.50 doesn't work.

My OpenVPN start file:

Code: Select all

client
dev tun
proto udp
remote london2.tuvpn.com 1194
reneg-sec 172800
resolv-retry infinite
nobind
persist-key
persist-tun
route-method exe
route-delay 2
ca ca.crt
cert usuario.crt
key usuario.key
ns-cert-type server
tls-auth ta.key 1
cipher AES-256-CBC
comp-lzo
explicit-exit-notify 2
verb 3
auth-user-pass
inactive 86400
IPv4-Routing table with OpenVPN working

Code: Select all

===========================================================================
0x1........................... MS TCP Loopback interface 0x2
...00 fe b9 13 21 5e ...... TAP-Win32 Adapter V90x10004 (= OpenVPN)
...00 15 d4 da 9a 5a ...... VIA Rhine III Fast Ethernet Adapter0x10005 (= WAN)
...00 1f 2a f2 83 ea ...... Realtek RTL8169/8110 Family Gigabit Ethernet NIC (= LAN)
===========================================================================
Aktive Routen:
     Netzwerkziel    Netzwerkmaske          Gateway    Schnittstelle Metrik
          0.0.0.0          0.0.0.0      192.168.2.1      192.168.2.2     20
          0.0.0.0          0.0.0.0      192.168.2.1      192.168.1.1     10
        10.76.0.4  255.255.255.252        10.76.0.6        10.76.0.6     30
        10.76.0.6  255.255.255.255        127.0.0.1        127.0.0.1     30
   10.255.255.255  255.255.255.255        10.76.0.6        10.76.0.6     30
      77.92.78.50  255.255.255.255      192.168.2.1      192.168.2.2      1
        127.0.0.0        255.0.0.0        127.0.0.1        127.0.0.1      1
      192.168.1.0    255.255.255.0      192.168.1.1      192.168.1.1     10
      192.168.1.1  255.255.255.255        127.0.0.1        127.0.0.1     10
    192.168.1.255  255.255.255.255      192.168.1.1      192.168.1.1     10
      192.168.2.0    255.255.255.0      192.168.2.2      192.168.2.2     20
      192.168.2.2  255.255.255.255        127.0.0.1        127.0.0.1     20
    192.168.2.255  255.255.255.255      192.168.2.2      192.168.2.2     20
        224.0.0.0        240.0.0.0        10.76.0.6        10.76.0.6     30
        224.0.0.0        240.0.0.0      192.168.1.1      192.168.1.1     10
        224.0.0.0        240.0.0.0      192.168.2.2      192.168.2.2     20
  255.255.255.255  255.255.255.255        10.76.0.6        10.76.0.6      1
  255.255.255.255  255.255.255.255      192.168.1.1      192.168.1.1      1
  255.255.255.255  255.255.255.255      192.168.2.2      192.168.2.2      1
Standardgateway:       192.168.2.1
===========================================================================
OpenVPN starts the following network connection: http://img46.imageshack.us/img46/3855/v ... ection.jpg

Is anybody able to help our to guide me into the right direction how I can get my client using the OpenVPN tunnel?

Regards

Klaus F

Klaus F
OpenVpn Newbie
Posts: 6
Joined: Fri Nov 25, 2011 10:08 pm

Re: WHS as internet gateway with Open VPN anonymisation serv

Post by Klaus F » Fri Dec 30, 2011 5:02 pm

Hi,

after 4 weeks of 'headache' I am not any step further. Due to my frustration I installed WHS 2011 - but no succest. The same here. As soon as I start OpenVPN on the WHS the tunnel is built up to the TUVPN network but all clients in my private network stop having internet access.

I have the feeling that there are routes missing which but I'm not sure. Where are the network experts?

Regards

Klaus F

User avatar
Mimiko
Forum Team
Posts: 1564
Joined: Wed Sep 22, 2010 3:18 am

Re: WHS as internet gateway with Open VPN anonymisation serv

Post by Mimiko » Sat Jan 07, 2012 5:32 pm

WHS 2011
Where did you get it?

Show the output of ipconfig /all.

Klaus F
OpenVpn Newbie
Posts: 6
Joined: Fri Nov 25, 2011 10:08 pm

Re: WHS as internet gateway with Open VPN anonymisation serv

Post by Klaus F » Mon Jan 09, 2012 5:29 pm

Hi,

Finally I managed to get it going. :D

http://www.netzwerktotal.de/cgi-bin/for ... 1325343433

It is explained in post #6. Sorry, it's in German but the pictures explain a lot.

Regards,

Klaus F

Post Reply