Thanks Cardinal, you are right. yes I have now read that part of the docs, and certainly should have done before posting. I see that a vpn client is easily doable through the Zentyal interface.
The bit I am still unsure of is how to hook this into the rest of the system to get the behavior I seek.
*<What I want is that certain hosts on the local network always route through the VNP when going outside, and others do not.>*
I am a bit out of my depth here, but I think it should work something like this:
Certain hosts on internal network --> eth1 --> NAT --> tun(VPN) --> ppp0 --> eth0 --> Internet
Other hosts on internal network --> eth1 --> NAT ------> ppp0 --> eth0 --> Internet
Once i have set up my VPN client, I am not sure which Zentyal modules I should use to get this routing to work. Can I simply add a couple of rules to the firewall, or if I will need to use a squid proxy, or go directly into fiddling with routing tables, or something like that.
My entire local network uses only static IPs, so the contingent routing can be based on IPs or MAC addresses, whichever is more efficient.
Undoubtedly there are ways to do this directly in Linux, but naturally, I'd prefer to do everything at the Zentyal level if possible, for ease of maintenance.
Can anyone point me in the right direction?