OpenVZ Forum


Home » Mailing lists » Users » Using NAT for VE with private IPs
Re: Using NAT for VE with private IPs [message #10658 is a reply to message #10655] Mon, 26 February 2007 09:55 Go to previous messageGo to previous message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
Kir Kolyshkin wrote:
> Lloyd R. Prentice wrote:
>> Then I rebooted
> Oops. Why a reboot?
>
> All the iptables commands, and modprobe as well, are not taking effect
> after the reboot. In order to make them persistent, you have to put
> those in some startup script.
To be more precise, all distribution I know use /etc/sysconfig/iptables
file to make rules persistent. After setting up your rules via
`iptables` command you should do `iptables-save >
/etc/sysconfig/iptables`, and at a boot time init script will
automagically use your rules.

HTH,
Vasily.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Asterisk
Next Topic: creating partition for VE and networking
Goto Forum:
  


Current Time: Thu Jul 18 17:36:56 GMT 2024

Total time taken to generate the page: 0.02559 seconds