Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 07-16-2003, 07:13 AM   #1
LQ Newbie
Registered: Jul 2003
Posts: 5

Rep: Reputation: 0
ftp server behind router


I'm trying to setup a publicly accessible ftp server. My linux box is behind a router doing NAT so in order to allow passive as well as active mode i put the following in my vsftpd.conf:

pasv_address=<my wan ip here>

and i also set my router to forward that port range.

when i connect to the server from another machine behind my router, all is well; after the PASV command, my server responds with:
"entering passive mode my_wan_ip,255,23" (or two similar numbers that denote a port in the 65000-65534 range)

however, if i try to connect from the other side of the router, my server repsonds to the PASV command with:
"entering passive mode my_wan_ip,117,XX"

Why is my server now advertising a port that is not in the range i specified??

Any help would be most appreciated!


Last edited by alansk; 07-16-2003 at 10:56 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Vsftpd + SSL + Passive = Listing problem subspawn Linux - Software 15 08-03-2010 08:19 PM
VSFTPD Passive FTP not working, can't ls severian23 Fedora 1 07-07-2005 08:06 PM
Disable passive NAT detection Roger Krowiak Linux - Security 1 05-30-2005 08:05 AM
iptables and passive ftp behind NAT radix Linux - Security 7 10-21-2003 03:06 PM
iptables and passive FTP behind the nat radix Linux - Security 5 09-16-2003 08:14 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:13 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration