Problems with firewall configuration
Tsabros Leonidas
ltsampros at upnet.gr
Tue Mar 23 12:02:52 EET 2004
Geia sas kai pali,
prospatho na stiso enan aplo webserver se ena pc. Ola pane mia xara alla exo
tin eksis aporia:
Otan kapoios tha thelisei na dei to webpage poy tha exo valei tote to paketo
poy tha steilei (an ola pane kala) tha erthei ston ipologisti moy kai tha
filtraristei apoto firewall. Ara ta paketa poy tha steilei tha einai tcp me
source port 80 kai destination port 80 (fevgoyn apo to 80 sto pc toy kai
erxonte sto 80 ston server). Profanos h apantisi apoton web server tha ginei
me ton antistrofo tropo. Ara tha arkoyse se ena BOFH firewall me INPUT/
OUTPUT/FORWARD POLICY DROP na exo ta eksis rules
iptables -A INPUT -p tcp --dport 80 -m state --state NEW,RELATED,ESTABLISHED
-j ACCEPT
iptables -A OUTPUT -p tcp --dport 80 -m state --state ESTABLISHED,RELATED,NEW
-j ACCEPT
?
More information about the Linux-greek-users
mailing list