macsat.com OpenWrt and ASUS WL Forum
January 08, 2009, 10:26:02 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?
Login with username, password and session length
News: Back to macsat.com
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: vsftpd and different port then 21  (Read 1397 times)
0 Members and 1 Guest are viewing this topic.
green
Newbie
*
Offline Offline

Posts: 29


View Profile
« on: June 09, 2006, 22:31:06 PM »

Hi,
my problem is: in router i have prerouting port 21 to my PC-ftp behind router(in Lan) and now i need move vsftp listening port from 21 to for example 2121. How to make it??
I try to change vsftpd.conf with lines :
listen_port=2121
pasv_min_port=XXX
pasv_max_port=XXX
and the others lines...

but ftp is still listening on port 21 where is ftp for my PC in Lan. But from Lan a can to 192.168.1.1 connect by vsftpd but from Wan not because Lan-PC ftp.
Can you anyone help me please.
thx

.
.
.
.
now a try to use method of
http://www.macsat.com/macsat/component/option,com_smf/Itemid,46/topic,229.0

This method is working but only for move port 21 to other port and the port 21 i can't already to use for something else after:(
I would need 2x port 21 Wink
One for vsftpd to my router(port 2121)-now not runing
Second for ftp to my computer in Lan  (port 21)-is now runing

but I need to use both from Wan
thx for any idea and I'm sorry for my english.
« Last Edit: June 15, 2006, 14:29:13 PM by green » Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

English Steel 1.6 © Saxon North Technologies
Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Page created in 0.082 seconds with 23 queries.