OpenVZ Forum


Home » General » Support » Routing in VPS?
Re: Routing in VPS? [message #935 is a reply to message #922] Thu, 19 January 2006 11:02 Go to previous messageGo to previous message
vaverin is currently offline  vaverin
Messages: 708
Registered: September 2005
Senior Member
Do you want to change source IP if the destination address is in your private subnetwork? you should tune source NAT inside your VPS:

iptables -t nat -A POSTROUTING -d 10.1.1.0/24 -j SNAT --to-source 10.1.1.2

where
10.1.1.0/24 -- your private subnetwork
10.1.1.2 -- VPS private address
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: sharing file between ve's - openvz versus virtuozzo
Next Topic: Bug in vzsplit ?
Goto Forum:
  


Current Time: Wed Aug 20 12:00:21 GMT 2025

Total time taken to generate the page: 0.08135 seconds