Ok, I've checked this:
iptables -L
root@OpenWrt:~# iptables -L -n
Chain INPUT (policy DROP)
target prot opt source destination
DROP all -- 0.0.0.0/0 0.0.0.0/0 state INVALID
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
DROP tcp -- 0.0.0.0/0 0.0.0.0/0 tcp option=!2 flags:0x02/0x02
input_rule all -- 0.0.0.0/0 0.0.0.0/0
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0
ACCEPT icmp -- 0.0.0.0/0 0.0.0.0/0
ACCEPT 47 -- 0.0.0.0/0 0.0.0.0/0
REJECT tcp -- 0.0.0.0/0 0.0.0.0/0 reject-with tcp-reset
REJECT all -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-port-unreachable
Chain FORWARD (policy DROP)
target prot opt source destination
DROP all -- 0.0.0.0/0 0.0.0.0/0 state INVALID
TCPMSS tcp -- 0.0.0.0/0 0.0.0.0/0 tcp flags:0x06/0x02 TCPMSS clamp to PMTU
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
forwarding_rule all -- 0.0.0.0/0 0.0.0.0/0
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0
Chain OUTPUT (policy DROP)
target prot opt source destination
DROP all -- 0.0.0.0/0 0.0.0.0/0 state INVALID
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
output_rule all -- 0.0.0.0/0 0.0.0.0/0
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0
REJECT tcp -- 0.0.0.0/0 0.0.0.0/0 reject-with tcp-reset
REJECT all -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-port-unreachable
Chain forwarding_rule (1 references)
target prot opt source destination
ACCEPT tcp -- 0.0.0.0/0 192.168.100.20 tcp dpts:6881:6999
ACCEPT tcp -- 0.0.0.0/0 192.168.100.20 tcp dpt:80
ACCEPT tcp -- 0.0.0.0/0 192.168.100.20 tcp dpt:443
ACCEPT tcp -- 0.0.0.0/0 192.168.100.20 tcp dpts:20:21
ACCEPT udp -- 0.0.0.0/0 192.168.100.20 udp dpts:20:21
ACCEPT all -- 0.0.0.0/0 192.168.100.1
Chain input_rule (1 references)
target prot opt source destination
Chain output_rule (1 references)
target prot opt source destination
iptables -L -n -t nat
root@OpenWrt:~# iptables -L -n -t nat
Chain PREROUTING (policy ACCEPT)
target prot opt source destination
prerouting_rule all -- 0.0.0.0/0 0.0.0.0/0
Chain POSTROUTING (policy ACCEPT)
target prot opt source destination
postrouting_rule all -- 0.0.0.0/0 0.0.0.0/0
MASQUERADE all -- 0.0.0.0/0 0.0.0.0/0
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain postrouting_rule (1 references)
target prot opt source destination
Chain prerouting_rule (1 references)
target prot opt source destination
DNAT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpts:6881:6999 to:192.168.100.20
DNAT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:80 to:192.168.100.20:80
DNAT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:443 to:192.168.100.20
DNAT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpts:20:21 to:192.168.100.20
DNAT udp -- 0.0.0.0/0 0.0.0.0/0 udp dpts:20:21 to:192.168.100.20
DNAT all -- 0.0.0.0/0 0.0.0.0/0 to:192.168.100.1
I've check allways tcpddump -n -q -i ppp0 for my pppoe connection and access.
Output tcpdump -n -i vlan1 port 80 = no tcpdump output while connect to my ip with browser.
Next... tcpdump -n -i br0 port 80
root@OpenWrt:~# tcpdump -n -i br0 port 80
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on br0, link-type EN10MB (Ethernet), capture size 96 bytes
00:19:07.481570 IP 192.168.100.20.2009 > 84.163.197.6.80: S 2179787900:2179787900(0) win 17520 <mss 1460,nop,wscale 0,nop,nop,timestamp 0 0,nop,nop,sackOK>
00:19:07.482157 IP 84.163.197.6.80 > 192.168.100.20.2009: R 0:0(0) ack 2179787901 win 0
00:19:07.948149 IP 192.168.100.20.2009 > 84.163.197.6.80: S 2179787900:2179787900(0) win 17520 <mss 1460,nop,wscale 0,nop,nop,timestamp 0 0,nop,nop,sackOK>
00:19:07.948725 IP 84.163.197.6.80 > 192.168.100.20.2009: R 0:0(0) ack 1 win 0
00:19:08.385686 IP 192.168.100.20.2009 > 84.163.197.6.80: S 2179787900:2179787900(0) win 17520 <mss 1460,nop,wscale 0,nop,nop,timestamp 0 0,nop,nop,sackOK>
00:19:08.386272 IP 84.163.197.6.80 > 192.168.100.20.2009: R 0:0(0) ack 1 win 0
Hmm... I see... redirect will go to 192.168.100.20:2009 and not to 192.168.100.20:80??? Or I'm wrong?
What's wrong on my settings?
Thanks for help!
/edit
I'v add a little one to /etc/firewall.user :
iptables -t nat -A prerouting_rule -i $WAN -p tcp --dport 80 -j ACCEPT
iptables -A input_rule -i $WAN -p tcp --dport 80 -j ACCEPT
===========================================================
Chain input_rule (1 references)
target prot opt source destination
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:80
===========================================================
Chain prerouting_rule (1 references)
target prot opt source destination
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:80
But don't fix the problem. 
(Last edited by grw on 16 Dec 2005, 16:40)