Answer the question
In order to leave comments, you need to log in
How to set up NAT on pptpd-VPN with one network adapter?
Hello.
There is a problem: you need to make a VPN from a cloud server (Centos / Ubuntu) with one network adapter, so that when people connect to the VPN, all traffic leaves through a remote gateway.
From the simplest - I took pptpd, configured it, but I can't deal with NAT.
What rules should be written in order for people from the VPN subnet to flow through eth0?
If possible - using an example, let:
Physical adapter = eth0 = 1.1.1.1
Wirth VPN adapter = eth1 = 2.2.2.2
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question