Hi guys,
I need help with getting a ftp service - namely vsftpd - working. It's configured like this:
The trouble is that firewall is blocking the connection (timeout reached) and I don't have a clue why. I have this in my ipfw() script:
And this in the end of the script (the server also provides NAT for local network):
What am I missing?
I need help with getting a ftp service - namely vsftpd - working. It's configured like this:
Code:
...
connect_from_port_20=NO
pasv_min_port=12000
pasv_max_port=12100
listen_port=12200
...
Code:
...
ipfw -q add 130 allow tcp from any to any 12200 in via $outer keep-state
ipfw -q add 135 allow tcp from any to any 12000-12100 in via $outer keep-state
...
ipfw -q add 240 allow tcp from any to any 12200-12100 out via $outer keep-state
ipfw -q add 245 allow tcp from any to any 12200 out via $outer keep-state
...
Code:
...
ipfw -q add 499 deny log all from any to any
ipfw -q add 500 divert natd all from any to any out via $outer keep-state
ipfw -q add 600 allow ip from any to any
What am I missing?