OpenVZ Forum


Home » General » Support » NAT within 2 containers (Can you NAT via a container?)
Re: NAT within 2 containers [message #41281 is a reply to message #41277] Tue, 21 December 2010 11:55 Go to previous message
timmy is currently offline  timmy
Messages: 4
Registered: December 2010
Junior Member
actually got it working finally.

Duno what I was doing wrong.

for the record,

iptables -t nat -A POSTROUTING -s 10.0.1.0/24 -o eth0 -j SNAT --to 123.x.x.x

did the job Smile

I have just managed to get transparent proxy working so that one node proxies to some other nodes but doesnt change the source ip and then the return is routed back via the proxy's ip too
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Using tools like fail2ban
Next Topic: Monitoring disk IO order by CTID
Goto Forum:
  


Current Time: Fri Aug 16 17:12:03 GMT 2024

Total time taken to generate the page: 0.03446 seconds