[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: Saving iptables rules?



>-----Original Message-----
>From: Søren Neigaard [mailto:s neigaard mobilethink dk]
>Sent: Thursday, May 01, 2003 4:20 AM
>To: 'redhat-list redhat com'
>Subject: Saving iptables rules?
>
>
>If I set this command in iptables:
>
>iptables -t nat -A PREROUTING -p tcp -d 172.16.1.107 --dport 
>80 -j REDIRECT
>--to-port 80
>
>How do I make sure it works after a reboot?


do an 'iptables-save'. and then verify if /etc/sysconfig/iptables has the
correct entries.
(and if iptables is enabled in runlevels 3 and 5).


hth.

/erik





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]