Ftp from WAN, port forwarding / port range forwarding

Post new topic   Reply to topic    DD-WRT Forum 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: 82

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: 1250
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)

_________________
(12/24/13) mega - 23204
4x WRT54G-TM

(12/24/13) std - 23204
1x WHR-G300N

(04/15/13) nokaid - 14929
1x WRT54GL v1.1

(07/24/13) micro - 22118
1x WG602v3

Got OpenDNS?
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum 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