OpenVZ Forum


Home » Mailing lists » Users » Using NAT for VE with private IPs
Re: Using NAT for VE with private IPs [message #10682 is a reply to message #10658] Mon, 26 February 2007 15:09 Go to previous messageGo to previous message
lloyd is currently offline  lloyd
Messages: 3
Registered: February 2007
Junior Member
Thanks all.

I'll give it a shot.

Best wishes,

LRP


-----Original Message-----
From: "Vasily Tarasov" <vtaras@openvz.org>
Sent: Mon, February 26, 2007 4:55 am
To: users@openvz.org
Subject: Re: [Users] Using NAT for VE with private IPs

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: Sat Sep 28 05:09:17 GMT 2024

Total time taken to generate the page: 0.04078 seconds