LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


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

Rep: Reputation: 0
ftp server behind router


Hi,

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_enable=YES
pasv_min_port=65000
pasv_max_port=65534
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!

Thanks,
Alan

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


Reply


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 07:19 PM
VSFTPD Passive FTP not working, can't ls severian23 Fedora 1 07-07-2005 07:06 PM
Disable passive NAT detection Roger Krowiak Linux - Security 1 05-30-2005 07:05 AM
iptables and passive ftp behind NAT radix Linux - Security 7 10-21-2003 02:06 PM
iptables and passive FTP behind the nat radix Linux - Security 5 09-16-2003 07:14 PM


All times are GMT -5. The time now is 10:21 AM.

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