OpenVZ Forum


Home » General » Support » PPTP in Container - Kernel 2.6.32
Re: PPTP in Container - Kernel 2.6.32 [message #48660 is a reply to message #44285] Sat, 27 October 2012 17:36 Go to previous message
mustardman is currently offline  mustardman
Messages: 91
Registered: October 2009
Member
For OpenVZ I believe the iptables rule should be.
iptables -t nat -A POSTROUTING -j SNAT --to-source 11.22.33.44

Change 11.22.33.44 to your VPS's public IP address.

I realize this thread is almost a year old but better late than never. I just went through this myself so thought I would contribute. Seems to work well on latest 2.6.32 kernels.

[Updated on: Sat, 27 October 2012 22:08]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to download through venet0 on host
Next Topic: IP outgoing connections goes through host IP not VE - mail refuses to work
Goto Forum:
  


Current Time: Sat Aug 23 08:28:08 GMT 2025

Total time taken to generate the page: 0.06609 seconds