Posted: Sun Nov 20, 2011 17:15 Post subject: Port Forwarding Problems w/ TP-Link WR-1043ND
Hi guys,
i can't for the life of me get port forwarding to work properly
I need this for utorrent (port 51313), ftp server (port 2121), webserver (8888) and many others
I can't connect to any of these services from outside the lan.
Important things to mention:
1. i have a TP-Link WR-1043ND router with DD-WRT v24-sp2 (06/14/11) std / (SVN revision 17201)
2. i'm connecting to the internet using pppoe and i don't have a home modem or anything else.
3. WAN ip starts with 188.27. ...
4. i am 100% sure i am pointing to the correct ip (192.168.1.100 - static dhcp)
5. WAN port assigment: vlan2
6. the setup is as easy as it gets. connect to the internet using pppoe and give internet access to lan clients. no other routers/switches or anything
7. i used the 30-30-30 reset method before installing dd-wrt
8. MY ISP ISN'T BLOCKING THESE PORTS
9. i've tried connecting with the firewall disabled ... failed
10. i applied the loopback patch
Quote:
insmod ipt_mark
insmod xt_mark
iptables -t mangle -A PREROUTING -i ! `get_wanface` -d `nvram get wan_ipaddr` -j MARK --set-mark 0xd001
iptables -t nat -A POSTROUTING -m mark --mark 0xd001 -j MASQUERADE
Nmap results of forwarded ports:
Quote:
Nmap scan report for 188- ...
PORT STATE SERVICE
9/tcp filtered discard
9/udp open|filtered discard
-------------------------------------------------------------------------
PORT STATE SERVICE
2121/tcp filtered ccproxy-ftp
2121/udp open|filtered scientia-ssdb
-------------------------------------------------------------------------
PORT STATE SERVICE
51313/tcp filtered unknown
51313/udp open|filtered unknown
-------------------------------------------------------------------------
PORT STATE SERVICE
8888/tcp filtered sun-answerbook
8888/udp open|filtered unknown
Screenshot of port forwarding rules in dd-wrt gui
Output after running "iptables -t nat -vnL PREROUTING" and "iptables -vnL FORWARD"
... help :/
i'm really hoping i am missing smth stupid
Running DD-WRT v24SP2-MULTI (10/31/11) std - build 17798 on Buffalo WZR-HP-G300NH2, stuck on same issue as previous two submitters. Running one internal web server on port 80, and that responds from outside requests as intended, yet have 3 other internal servers being mapped from other ports (3000, 3001, etc) to local_ip:80, and cannot get any response. Using ShieldsUP these ports showing STEALTH.
Have the same loopback script installed, all forwards showing in iptables/NAT; ISP not blocking. Definitely a noob here when comes to ipconfig, but after reading & trying to digest as much as possible, feel like everything is in place...
Posted: Sat Jan 07, 2012 19:00 Post subject: Forwarding working on WZR-HP-G300NH2 v24SP2-MULTI (10/31/11)
I was able to resolve forwarding (actually confirmed it was working after I removed other issues in play) on DD-WRT v24SP2-MULTI (10/31/11) std WZR-HP-G300NH2, now have 4 internal devices all providing web content via forwarded ports. See http://www.dd-wrt.com/phpBB2/viewtopic.php?t=149158 for more details.