Re: [suse-security] ssh2 - control comunication port
Niels Kueck wrote:
Hi,
I've got a SuSE 8.2 system running with a ssh-daemon listening on port 22 and I would like to control the comunication ports of the connection. In fact the number of user is small so it would be enough just to have a few ports open. Is there any possibility to tell the ssh-daemon on which port he should reply to the client ???
thanks a lot, ...
...niels.
There are a lot ways, how to do it. For example: tcp_wrappers (/etc/hosts.allow and hosts.deny), or in /etc/ssh/sshd_config (item ListenAddress some_ip_in_the_subnet), or by filter firewall iptables (iptables -A INPUT -m mac --mac-source ! your_mac_address -j DROP) and so on. :-) I prefer tcp_wrappers for this situation. -- Best Regards, Vladimir Dvorak, Internal IT --------------------------------------------------------------------- SuSE CR, s.r.o. e-mail: vlada@suse.cz Drahobejlova 27 tel:+420 2 96 542 373 190 00 Praha 9 fax:+420 2 8309 5374 Czech Republic http://www.suse.cz
participants (1)
-
Vladimir Dvorak