[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: question about SSH / IPTABLES



Kaixo Charl Matthee!!!

> If you want to use iptables then allow incoming ssh requests from the
> relevant hosts and disallow outgoing ssh request from the server:
> 
> iptables -A OUTPUT -j REJECT -p tcp --destination-port 22

 But if the client jump to another port????

 $ ssh -p 25 remote_ip


 I think there is no COMPLETE solution........


 Thanks....




Reply to: