Re: iptables-restore v1.2.9: Line 13 seems to have a -t table option.

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

 



Alexander Dalloz wrote:
>Am Mo, den 30.08.2004 schrieb Hans Christian Studt um 19:56:
>
>>Indfører iptables brandmurs-regler: iptables-restore v1.2.9: Line 13 seems to have a -t table option.
>>
>>Error occurred at line: 13
>>Try `iptables-restore -h' or 'iptables-restore --help' for more information.
>>[MISLYKKEDES]
>
>>But i am using plain vanilla fedora core 2 kernel and iptables an is trying to setup MASQUERADE
>>-t nat -A POSTROUTING -o ppp0 -j MASQUERADE
>
>What is the content of /etc/sysconfig/iptables and especially line 13 in
>this file? Seems you have wrong syntax in there.

========== /etc/sysconfig/iptables ==========
      1 *filter
      2 :INPUT ACCEPT [0:0]
      3 :FORWARD ACCEPT [0:0]
      4 :OUTPUT ACCEPT [0:0]
      5 :RH-Firewall-1-INPUT - [0:0]
      6 -A INPUT -j RH-Firewall-1-INPUT
      7 -A FORWARD -j RH-Firewall-1-INPUT
      8 -A RH-Firewall-1-INPUT -i lo -j ACCEPT
      9 -A RH-Firewall-1-INPUT -i eth0 -j ACCEPT
     10 -A RH-Firewall-1-INPUT -p icmp --icmp-type any -j ACCEPT
     11 -A RH-Firewall-1-INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
     12 -A RH-Firewall-1-INPUT -j REJECT --reject-with icmp-host-prohibited
     13 -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
     14 COMMIT
========== /etc/sysconfig/iptables ==========

Mvh Hans Christian Studt
Private +45 48 79 79 89
Mobile +45 29 23 54 14
Business +45 36 14 54 14
mailto:[email protected] http://hc.studt.dk
Powered by Linux 2.6.6-1.435.2.1



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux