What's new

Routing traffic from PPTP VPN Server to OpenVPN Client (Router)

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

dreamer

New Around Here
Hi all,

Need some advice on VPN routing.
I generally do not trust free wifi for fear of honeypot.

What I want to do, is connect via the PPTP server, and based on the destination, go out to the internet based on the split tunneling rules, defined on the OpenVPN client.


Laptop --> PPTP server -->
Open VPN --> Internet or VPN Tunnel

Without using iptables, is there anyway to accomplish the above?

Assuming
192.168.50.0 - PPTP range
1.2.3.4 - vpn ip


PPTP settings, broadcast = Disable

OpenVPN setting

### OpenVPN
route-nopull
route 192.168.50.0 255.255.255.0
route 1.2.3.4 255.255.255.255 net_gateway

#whatsmyip.org
route 208.64.0.0 255.255.0.0 vpn_gateway
 

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top