Ftp from WAN, port forwarding / port range forwarding

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Author Message
tmohr
DD-WRT Novice


Joined: 22 Apr 2012
Posts: 1

PostPosted: Sun Apr 22, 2012 21:14    Post subject: Ftp from WAN, port forwarding / port range forwarding Reply with quote
Hi,

I have a cable modem connectd as WAN to my E2000 running DD-WRT.
I want to enable ftp acess from WAN to ONE PC in my network which has the address 192.168.0.249.

So i have set port forwarding for Port 21 to the IP 192.168.0.249.
Also, i have forwarded the port range 50000 to 51000 to the same IP.
On the PC there is vsftpd running as passive FTP with range 50000 to 51000.

I can ftp to that PC locally, but not when i use the IP that the router gets by DHCP.

I wonder why i can't connect from the outside.


Thas for any hints, Torsten.
Sponsor
routvol
DD-WRT User


Joined: 02 Feb 2009
Posts: 87

PostPosted: Mon Apr 23, 2012 20:55    Post subject: Reply with quote
check with:
    iptables -nvL that the packets are coming through
    post your iptables commands
    check with tcpdump as well
Luniz2k1
DD-WRT Guru


Joined: 04 Oct 2007
Posts: 1258
Location: Ohio USA

PostPosted: Wed Apr 25, 2012 13:11    Post subject: Reply with quote
Luniz2k1 wrote:
r15760 breaks NAT loopback
NAT Loopback fix for 15760 and higher, (Port forward issue)

_________________
(05/02/17) std - 31924
Linksys WRT400N
Buffalo WHR-G300N

Got OpenDNS?
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum