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.0This 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
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.