[ SlackList ] [ WkikiSlack ]




Re: firewall a qmail

From: misiek <hondashadow_malpka_poczta.fm>
Date: Mon May 10 2004 - 20:42:45 CEST


Zrobilem tak jak mowisz ale niestety nadal meile nie wychodza z serwera :)

> # Polaczenia nawiazane
> $IPTABLES -A INPUT -p tcp -j ACCEPT -m state --state ESTABLISHED,RELATED
> $IPTABLES -A INPUT -p udp -j ACCEPT -m state --state ESTABLISHED
> $IPTABLES -A INPUT -p icmp -j ACCEPT -m state --state ESTABLISHED,RELATED
> $IPTABLES -A FORWARD -p tcp -j ACCEPT -m state --state
ESTABLISHED,RELATED
> $IPTABLES -A FORWARD -p udp -j ACCEPT -m state --state ESTABLISHED
> $IPTABLES -A FORWARD -p icmp -j ACCEPT -m state --state
ESTABLISHED,RELATED
>

dopisalem tez ten kawalek, wczesniej wpsomniales ze mam wpuszczony FORWARD
wczesniej wiec czy te ostatnie linijki maja sens ?

moze jeszcze jakies pomysly jesli chodzi o same wysylanie meili

to jest wynik wstukania iptables -n -L

Chain INPUT (policy DROP)
target prot opt source destination
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state
RELATED,ESTABLISHED
ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 state
ESTABLISHED
ACCEPT icmp -- 0.0.0.0/0 0.0.0.0/0 state
RELATED,ESTABLISHED
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:20
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:21
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:22
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:25
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:80
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:110

Chain FORWARD (policy ACCEPT)
target prot opt source destination
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state
RELATED,ESTABLISHED
ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 state
ESTABLISHED
ACCEPT icmp -- 0.0.0.0/0 0.0.0.0/0 state
RELATED,ESTABLISHED

Chain OUTPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0


dzieki i pozdro



Received on Mon May 10 23:50:52 2004

This archive was generated by hypermail 2.1.8. Wyprawa Shackleton 2014