windrof123 :?: I require some help with the problem i have been brainbreaking on for a few days. So, I have multiple IPs on my "VPN server" , one IP (Default) is on interface eth0, the second is on eth0:1 . How can I assign another IP to my other user? I can't just change the firewall rules to direct to that IP, I was thinking I would need another VPN interface ,so I can do : iptables -t nat -A POSTROUTING -s 10.8.0.8/24 -o eth0:1 -j SNAT --to my.second.IP . Wouldn't the new interface require another instance of OpenVPN server running (which im not sure how to interpret) ? Also, my users can indeed type the second ip (on the interface eth0:1) to their newvpn.ovpn config, but they get the 1st IP ( eth0 ) assigned as their public IP . I have these firewall rules - iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o eth0 -j SNAT --to my.eth0.server.ip . Note I CAN connect to my VPN and everything is working properly, just that I need to assign different public IPs to different VPN users. :?: Thanks for all the help !
maikcat google is your friend... 1-to-1 NAT means you "map" an internal ip (from your openvpn subnet) to an external one.. http://www.linuxquestions.org/questions/linux-security-4/iptables-1-1-nat-66791/ Michael.