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)

#48532

Andy22
Member

@ppalias wrote:

route -n 

is better than

route

You have to add static routes for the hosts or networks that will be forwarded via the vpn tunnel instead of the default gateway.
You can add it on Network->Router->Static Routes.
Otherwise if you want to forward traffic depending on policy, you will have to do it on Network->NetBalancer->Balancing Rules.

PS: Yes your assumption is correct. All routing is done on ZS.

THX finally a hint, im trying to get this working since a week…
Its kinda frustrating since i already noticed im 95% there, but cant figure out the last step since im not a network pro.

I will try your settings, btw do i need to bridge some of the interfaces and ima lso unsure how the VPN99 interface relates to the TUN0 i get if i start openVPN?

Im also unsure what firewall entries i need to add and what this “Forward” thinggy is i can add, also which interfaces do i have to add to the NAT?

Can u maybe also give me an example of a static route assuming my LAN is incoming from ETH00 via 192.168.0.100?

PS: A friend of mine also just noticed that my default gateway is still on PPPoE so he told me i need to delete this route and create a new to the TUN0 interface, is there a way to do this automatically via openvpn config? Since after i stop openvpn i want my old gateway back?