OpenVZ Forum


Home » General » Support » How to access private IPs from a container (How to access private IPs from a container)
Re: How to access private IPs from a container [message #37235 is a reply to message #37232] Thu, 27 August 2009 22:19 Go to previous messageGo to previous message
tscargo is currently offline  tscargo
Messages: 4
Registered: August 2009
Junior Member
Paparaciz wrote on Thu, 27 August 2009 14:52
in HW node add iptables rule smth like:
iptables -A POSTROUTING -s 1.2.3.5 -d 10.1.1.0/255.255.255.0 -j SNAT --to-source 10.1.1.1



Unfortunately I don't have a POSTROUTING chain ....

iptables --list

Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: dump broken in Debian 5 lenny?
Next Topic: Multiple /24's on a host and containers
Goto Forum:
  


Current Time: Fri Aug 15 15:11:29 GMT 2025

Total time taken to generate the page: 0.26787 seconds