On Mon 30 May 2005 12:20, Frank Duignan wrote:
> Does anyone know if is possible to restrict access to hosts from
> within Ireland only? The reason I ask is that I've noticed most
> breakin attempts on machines I manage emanate from abroad. I was
> sort of thinking of allowing access only to hosts within know irish
> ip-address ranges (or is this daft?)
If there are not too many people (or more specifically
computers/laptops) that need to log in remotely then a easier and
better solution would be to filter by MAC address.
For example, in iptables, the rule:
-A INPUT -m mac --mac-source 00:00:00:00:00:00 -j ACCEPT
will allow access from the listed MAC address. You can add additional
checks to the rule like destination port, etc.
Regards,
Barry
--
Regards,
Barry O'Donovan
http://www.barryodonovan.com/
GPG key: http://www.barryodonovan.com/gpg.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.linux.ie/pipermail/ilug/attachments/20050530/07c782e1/attachment.pgp
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!