IP tables - spustanie scriptu

Sekcia: Aplikácie & Desktop 08.06.2009 | 13:17
Jano   Návštevník
Zdravim.

chcel by som pouzivat tento script z manualu:
iptables -P INPUT DROP
iptables -P FORWARD DROP
iptables -P OUTPUT ACCEPT
iptables -F
iptables -A INPUT -s 127.0.0.1 -i lo \
-m state --state NEW -j ACCEPT
iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT

ale nejako mi to nejde cez rc.local - alebo skor to neviem nnastelovat :)
http://www.linuxos.sk/clanok/195/index.html
Chcem vas poprosit, aby ste mi to vysvetlili polopate, ako to spustit

Dakujem a pekny den
    • Re: IP tables - spustanie scriptu 08.06.2009 | 13:18
      Jano   Návštevník
      este som zabudol dodat - Debian Lenny
    • Re: IP tables - spustanie scriptu 08.06.2009 | 17:05
      Avatar Pavel Q4OS KDE  Administrátor
      Ja som to riešil tak, že som vytvoril skript a nalinkoval som cestu k nemu do rc.local, musí to fungovať.
    • Re: IP tables - spustanie scriptu 08.06.2009 | 17:13
      Avatar borg Fedora  Administrátor
      http://wiki.debian.org/iptables