Reply To: ZeroShell as VPN Client to replace openVPN GUI on XP (Help)

Home Page Forums Network Management Networking ZeroShell as VPN Client to replace openVPN GUI on XP (Help) Reply To: ZeroShell as VPN Client to replace openVPN GUI on XP (Help)

#48536

Andy22
Member

@ppalias wrote:

Well if you provide me the network you want to access via the tunnel I can provide you what to enter on the static route configuration.

Regarding –route-gateway, your gateway is the IP address of the other end in the tunnel.

I was under the impression that all u need are shown via this?

root@zeroshell 1> route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.88.0.1 10.88.0.125 255.255.255.255 UGH 0 0 0 tun0
dslb-088-077-19 * 255.255.255.255 UH 0 0 0 ppp0
208-85-2-66.uni dslb-088-077-19 255.255.255.255 UGH 0 0 0 ppp0
10.88.0.125 * 255.255.255.255 UH 0 0 0 tun0
192.168.0.0 * 255.255.255.0 U 0 0 0 ETH00
192.168.250.0 10.88.0.125 255.255.255.0 UG 0 0 0 tun0
default 10.88.0.125 128.0.0.0 UG 0 0 0 tun0
128.0.0.0 10.88.0.125 128.0.0.0 UG 0 0 0 tun0
default dslb-088-077-19 0.0.0.0 UG 0 0 0 ppp0

Those i seem to get from my VPN provider server via openVPN
10.88.0.1 10.88.0.125

“network you want to access via the tunnel” um this means? All i want is that one machine in my local lan 192.168.0.100 that is connected to the ZS router/thinclient simply uses the tunnel to route all traffic to bypass region protection like Hulu, in advance i want also add a xbox360 to access xboxlive also using the vpn.

In a later configuration i will add a second NIC to my windows machine and want to configure it so that i add the second NIC as proxy in firefox so i have 2 connections to the router 1 VPN and 1 normal. Than the VPN is used by my media center software via proxy to watch hulu and the normal should be used for all normal traffic or torrent/ftp.

Does this makes sense to u? I just started this whole router openVPN thingie to automatically get the vpn routing and also the xbox360 dont support openvpn.

If u need more information pls tell me, since im really starting to feel like an idiot, since i already know the tunnel is working but i lack the knowledge to interpret all this network tech stuff correctly…:(

thx

PS: Whats also strange, before i start openvpn my xp client can use the internet just fine and gets its stuff from dhcp, gateway is 192.168.0.1. Than i start openvpn and on the router machine i can ping and traceroute to for example http://www.google.com and i see that the tunnel is used automatically without adding anything just using my provider openvpn config file. So why does my connected client xp machine only can access the ZS webinterface from this point on, until i stop the openvpn process? If the gateway is already the router and the router itself can use the tunnel automatically, shouldn’t the client traffic using the router as gateway work the same?

Also note that i start openvpn manually from the shell since ZS’s openvpn version dont support login/pw files as input and just stdin. So i have to manually enter the it via shell. So i dont config openvpn via webinterface.
(U know a way to support automatic login or how do i replace the openvpn version with a version that supports it?)

In in ZS webinterface for example on the NAT page i also dont see the TUN0 interface after starting openvpn, maybe its a NAT problem?