iptables - nie blokuje po

Ogólne pytania dotyczące systemu
gox
Posty: 3
Rejestracja: 26 czerwca 2008, 01:08

iptables - nie blokuje połączeń

Post autor: gox »

Witam, ponizsze ustawienia iptables nie blokuja polaczen przychodzacych:

Kod: Zaznacz cały

Chain INPUT (policy DROP)
target     prot opt source               destination
block      0    --  anywhere             anywhere

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination
block      0    --  anywhere             anywhere

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

Chain block (2 references)
target     prot opt source               destination
ACCEPT     0    --  anywhere             anywhere            state RELATED,ESTABLISHED
ACCEPT     0    --  anywhere             anywhere            state NEW
DROP       0    --  anywhere             anywhere
Co jest nie tak?
tomii
Junior Member
Posty: 687
Rejestracja: 21 października 2007, 13:27

Post autor: tomii »

zastanawia mnie
ACCEPT 0 -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT 0 -- anywhere anywhere state NEW
Gdzie masz dodany lańcuch block?
gox
Posty: 3
Rejestracja: 26 czerwca 2008, 01:08

Post autor: gox »

Nie wiem, zrobilem tak jak kazali tu=> http://www.debian.one.pl/howto/iptables ... HOWTO.html
co nalezy zmienic??
tomii
Junior Member
Posty: 687
Rejestracja: 21 października 2007, 13:27

Post autor: tomii »

to pokaż jeszcze swój skrypt.
dsue
Posty: 21
Rejestracja: 07 czerwca 2008, 18:17
Lokalizacja: Pabianice

Post autor: dsue »

ACCEPT 0 -- anywhere anywhere state NEW
Tego nie powinno być moim zdaniem (zezwalasz na wszystkie nowe połączenia) jeśli masz to w łańcuchu INPUT.

Pozdrawiam
Jacekalex
Posty: 30
Rejestracja: 06 stycznia 2008, 17:12

Spróbuj tego - działa.

Post autor: Jacekalex »

Witam

Konfiguracja Iptables: http://www.forum.ubuntu.pl/showpost.php ... ostcount=1
Poprawa połączenia z internetem - szybciej i bezpieczniej: http://www.forum.ubuntu.pl/showpost.php ... ostcount=1

To by było na tyle.

Pozdrawiam
;-)
ODPOWIEDZ