Vote count:
-1
The VPS I bought have an additional ip address, which shows as eth0:0.
main ip -> eth0
second ip -> eth0:0
I want my pptp users to use the second ip to access internet. but I don't know how to do it.
Please help me!
I am using this right now (copied from digitalocean)
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE && iptables-save
When I connect to the VPN to access internet, it shows the main ip address, how could I change it to the second ip address?
Please help
asked 1 min ago
about setting up iptables of poptop pptp vpn on ubuntu
Aucun commentaire:
Enregistrer un commentaire