1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Cannot port forward!

Discussion in 'DD-WRT Firmware' started by eatnumber1, Dec 4, 2005.

  1. eatnumber1

    eatnumber1 Guest

    Hey everyone, my problem is that I cannot set port forwarding/port range forwarding. I am using the DD-WRT v32 beta 2 standard on a WRT54GSv4 router.

    Whenever I set port forwarding, All goes well, no errors etc... but i cannot connect from the outside (it dosent do the forwarding). I turned on logging of dropped and denied requests, and don't see my request. I finally got a theory as to why it isent working. I think that there is another access rule in my iptable that is blocking it before it processes the allow command.

    Here is the result of iptables -L in telnet

    Code:
    Chain INPUT (policy ACCEPT)
    target     prot opt source               destination
    DROP       tcp  --  anywhere             anywhere            tcp dpt:webcache
    DROP       tcp  --  anywhere             anywhere            tcp dpt:www
    DROP       tcp  --  anywhere             anywhere            tcp dpt:https
    DROP       tcp  --  anywhere             anywhere            tcp dpt:ssh
    DROP       tcp  --  anywhere             anywhere            tcp dpt:telnet
    DROP       tcp  --  anywhere             anywhere            tcp dpt:69
    DROP       tcp  --  anywhere             anywhere            tcp dpt:ssh
    
    Chain FORWARD (policy ACCEPT)
    target     prot opt source               destination
    ACCEPT     all  --  anywhere             anywhere
    logdrop    all  --  anywhere             anywhere            state INVALID
    TCPMSS     tcp  --  anywhere             anywhere            tcp flags:SYN,RST/SYN tcpmss match 1453:65535 TCPMSS set 1452
    lan2wan    all  --  anywhere             anywhere
    ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED
    ACCEPT     udp  --  anywhere             BASE-ADDRESS.MCAST.NET/4 udp
    ACCEPT     tcp  --  anywhere             eatnumber1          tcp dpt:8888
    TRIGGER    all  --  anywhere             anywhere            TRIGGER type:in match:0 relate:0
    trigger_out  all  --  anywhere             anywhere
    ACCEPT     all  --  anywhere             anywhere            state NEW
    
    Chain OUTPUT (policy ACCEPT)
    target     prot opt source               destination
    
    Chain advgrp_1 (0 references)
    target     prot opt source               destination
    
    Chain advgrp_10 (0 references)
    target     prot opt source               destination
    
    Chain advgrp_2 (0 references)
    target     prot opt source               destination
    
    Chain advgrp_3 (0 references)
    target     prot opt source               destination
    
    Chain advgrp_4 (0 references)
    target     prot opt source               destination
    
    Chain advgrp_5 (0 references)
    target     prot opt source               destination
    
    Chain advgrp_6 (0 references)
    target     prot opt source               destination
    
    Chain advgrp_7 (0 references)
    target     prot opt source               destination
    
    Chain advgrp_8 (0 references)
    target     prot opt source               destination
    
    Chain advgrp_9 (0 references)
    target     prot opt source               destination
    
    Chain grp_1 (0 references)
    target     prot opt source               destination
    
    Chain grp_10 (0 references)
    target     prot opt source               destination
    
    Chain grp_2 (0 references)
    target     prot opt source               destination
    
    Chain grp_3 (0 references)
    target     prot opt source               destination
    
    Chain grp_4 (0 references)
    target     prot opt source               destination
    
    Chain grp_5 (0 references)
    target     prot opt source               destination
    
    Chain grp_6 (0 references)
    target     prot opt source               destination
    
    Chain grp_7 (0 references)
    target     prot opt source               destination
    
    Chain grp_8 (0 references)
    target     prot opt source               destination
    
    Chain grp_9 (0 references)
    target     prot opt source               destination
    
    Chain lan2wan (1 references)
    target     prot opt source               destination
    
    Chain logaccept (0 references)
    target     prot opt source               destination
    ACCEPT     all  --  anywhere             anywhere
    
    Chain logdrop (1 references)
    target     prot opt source               destination
    DROP       all  --  anywhere             anywhere
    
    Chain logreject (0 references)
    target     prot opt source               destination
    REJECT     tcp  --  anywhere             anywhere            tcp reject-with tcp-reset
    
    Chain trigger_out (1 references)
    target     prot opt source               destination
     

Share This Page