iptables - SSH works fine after connecting but takes ages to connect
I want only one remote machine to be able to access a server, so I've run the following commands on the server so that only a machine with the IP address 11.22.33.44 can connect to it in any way:
Code:
iptables -F |
Are you sure this depends on iptables?
Try to add this line to /etc/ssh/sshd_config: Code:
UseDNS no Quote:
Code:
AddressFamily inet |
The problem did only appear when iptables was enabled, and your suggestions solved the problem. Thanks!
|
All times are GMT -5. The time now is 04:11 AM. |