Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Route incoming OpenVPN to outgoing PPTP
I set up OpenVPN a while ago on my Droplet using the DO tutorial and it works fine.
I also have a company PPTP VPN, which I’m not able to access through mobile network, because GRE packets are blocked or something. So I thought I’d just set up my Droplet to connect to the company PPTP VPN and I’d have a proxy. So it would go Me (Windows 10) -> OpenVPN -> Droplet -> PPTP -> Company.
I think I’ve successfully set up the PPTP vpn connection, at least it connects. However, I don’t know how to route the network to go through it. I tried one of those whatismyip.com sites to check what my external IP is expecting it to be from the company’s country, but it remained in the Droplet’s country.
It would be preferable to only route the connection through the PPTP vpn when it’s actually active (I don’t want it running constantly, just on demand)
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×