You can also try to use iptables to restrict access to certain ports # iptables -p INPUT DROP # iptables -A INPUT -p tcp --dport 22 -s <ALLOWED_IP> -j ACCEPT
but tcp wrappers is also a good choice, just giving out some options here :-) -jon- On Thu, 21 Oct 2004 13:07:43 +0800, jopoy solano <[EMAIL PROTECTED]> wrote: > Also try using commas as the separator: > sshd: 192.168., 66.167.150., 66.167.151. > > hth. > > 'jopoy > > > > On Thu, 21 Oct 2004 00:34:14 -0400, andrelst <[EMAIL PROTECTED]> wrote: > > On Tue, 19 Oct 2004 10:32:54 +0800, Miguel A Paraz <[EMAIL PROTECTED]> wrote: > > > On Mon, 18 Oct 2004 16:36:06 -0400, andrelst <[EMAIL PROTECTED]> wrote: > > > > try this: > > > > > > > > /etc/hosts.allow > > > > sshd: 192.168. 66.167.150. 66.167.151. > > > > > > It works if you spell out the network numbers: > > > sshd: 192.168.0.0/255.255.0.0 66.167.150.0/255.255.255.0 > > > 66.167.151.0/255.255.255.0 > > > > Migs, > > > > The example i gave works also. Wietse himself gave me the example in > > an e-mail exchange with him 6(??) years ago. > > > > regards, > > Andre > > > > > > -- > > Philippine Linux Users' Group (PLUG) Mailing List > > [EMAIL PROTECTED] (#PLUG @ irc.free.net.ph) > > Official Website: http://plug.linux.org.ph > > Searchable Archives: http://marc.free.net.ph > > . > > To leave, go to http://lists.q-linux.com/mailman/listinfo/plug > > . > > Are you a Linux newbie? To join the newbie list, go to > > http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie > > > -- > Philippine Linux Users' Group (PLUG) Mailing List > [EMAIL PROTECTED] (#PLUG @ irc.free.net.ph) > Official Website: http://plug.linux.org.ph > Searchable Archives: http://marc.free.net.ph > . > To leave, go to http://lists.q-linux.com/mailman/listinfo/plug > . > Are you a Linux newbie? To join the newbie list, go to > http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie > -- Gabriel L. Briones III, ECE/RHCE Linux User # 273591 0917-8501498 -- Philippine Linux Users' Group (PLUG) Mailing List [EMAIL PROTECTED] (#PLUG @ irc.free.net.ph) Official Website: http://plug.linux.org.ph Searchable Archives: http://marc.free.net.ph . To leave, go to http://lists.q-linux.com/mailman/listinfo/plug . Are you a Linux newbie? To join the newbie list, go to http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie
