News: This forum is now permanently frozen.
Pages: [1]
Topic: passive FTP?  (Read 1935 times)
« on: February 17, 2010, 04:40:27 »
jjjustjjjay *
Posts: 5

Hey, Y'all

I got active ftp working by opening both port 20 and 21 on the m0n0wall. but how do i do passive ftp. i read somewhere that it uses a whole bunch of ports like 1024 and up or something like that. is that true and how would i port for ward that because it gives me to and from port for remote but not for local.

-Thanks

~J~
« Reply #1 on: February 17, 2010, 06:48:59 »
knightmb ****
Posts: 341

Hey, Y'all

I got active ftp working by opening both port 20 and 21 on the m0n0wall. but how do i do passive ftp. i read somewhere that it uses a whole bunch of ports like 1024 and up or something like that. is that true and how would i port for ward that because it gives me to and from port for remote but not for local.

-Thanks

~J~
Open up ports 1024 to 1100 for example, forward to your FTP server. On the FTP server, it needs to have it's response IP be the same as your m0n0wall IP and restrict it's passive port range to just the ones you opened up and forward (for example, the 1024 to 1100 for example).

Unless you are operating a massive FTP server, you don't need thousands of ports forwarded to your FTP.

Radius Service for m0n0wall Captive Portal - http://amaranthinetech.com
« Reply #2 on: February 17, 2010, 17:09:03 »
jjjustjjjay *
Posts: 5

ok so should each of those ports be a different rule becasue i dont know how to port forward more than one port with one rule. i know you can set the to and from ports in the wan but it doen't have to and from in the local.

so should they be different rules?
« Reply #3 on: February 17, 2010, 21:15:55 »
knightmb ****
Posts: 341

ok so should each of those ports be a different rule becasue i dont know how to port forward more than one port with one rule. i know you can set the to and from ports in the wan but it doen't have to and from in the local.

so should they be different rules?
The port range will follow, the destination port just starts the same as the port forward (example, port 1024 to 1100, the destination port starts at 1024 and m0n0wall takes care of the rest of the range)

Radius Service for m0n0wall Captive Portal - http://amaranthinetech.com
 
Pages: [1]
 
 
Powered by SMF 1.1.20 | SMF © 2013, Simple Machines