Thursday, October 21, 2010

When ftp UDP port get block

Fire this following rules with iptables:-

-A OUTPUT -o eth0 -p udp -m udp --dport 21 -j ACCEPT
-A OUTPUT -o eth0 -p udp -m udp --dport 20 -j ACCEPT
-A INPUT -i eth0 -p udp -m udp --dport 21 -j ACCEPT
-A INPUT -i eth0 -p udp -m udp --dport 20 -j ACCEPT


LIST:-
Error :-
 
425 Unable to build data connection: Connection timed out
PASV
227 Entering Passive Mode (64,246,51,197,214,179).
Connecting data channel to (64.246.51.197:54963).
Connection timed out; Connection timed out while waiting for a response from the server.

No comments:

Post a Comment