Greetings,
I got an apache server listening on port 80
I have as well a registered domain name which follows my dynamic ip
My router is configured to route all requests from port 80 to my machine
in my lan :
Indx Prot Inside-address:Port Outside-address:Port oreign-address:Port
Flgs Expir State Control
4 6 10.0.0.1:37134 90.14.157.251:11717
204.1.226.226:443 1
60 1
5 6 10.0.0.1:80 90.14.157.251:80 0.0.0.0:0
My iptables follow
# Default rule : All Output accepted
$protec -P OUTPUT ACCEPT
#$protec -A INPUT -i eth0 -p tcp -m state --state RELATED,ESTABLISHED
-j ACCEPT
$protec -A INPUT -i eth0 -p tcp --source-port 80 -j ACCEPT -> Should be
ok no ??
$protec -A INPUT -i eth0 -p tcp --source-port 20 -j ACCEPT
$protec -A INPUT -i eth0 -p tcp --match multiport --sports
110,119,20,21,80,22,53,25 -m state --state RELATED,ESTABLISHED -j ACCEPT
$protec -A INPUT -i eth0 -p tcp -m state --state RELATED,ESTABLISHED -j
ACCEPT
$protec -A INPUT -p tcp -i eth0 --dport 22 -j ACCEPT
I tried a tcpdump to see what was happening but maybe misread the output
So what did I do wrong ??
If someone can shed some light on this, thank you very much !