OpenVZ Forum


Home » General » Support » *SOLVED* OpenVPN in VPS : Masquerade
Re: *SOLVED* OpenVPN in VPS : Masquerade [message #38122 is a reply to message #8117] Thu, 19 November 2009 20:02 Go to previous messageGo to previous message
napo93290 is currently offline  napo93290
Messages: 1
Registered: November 2009
Junior Member
Hi,

Quote:

iptables -t nat -A PREROUTING -i tun0 -j DNAT --to-destination container.ip


With "to-destination container.ip" replaced by the IP of venet0 ??

I have this :

20:57 root@SRV-DEB-VPS /boot# iptables -t nat -A PREROUTING -i tun0 -j DNAT --95.211.xx.xx
iptables v1.4.2: Unknown arg `(null)'
Try `iptables -h' or 'iptables --help' for more information.
zsh: exit 2     iptables -t nat -A PREROUTING -i tun0 -j DNAT --95.211.xx.xx


 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Do ARP packets to announce the container IP
Next Topic: Inbound bandwidth speed problem
Goto Forum:
  


Current Time: Tue Aug 13 15:16:14 GMT 2024

Total time taken to generate the page: 0.02800 seconds