[ you spammed this message to too many mailing lists. some
removed, since replies sent back into the redhat.com lists will
always bounce if you are not actually subscribed to them. ]
On Thu May 11 2000 at 12:56, Hugo Bouckaert wrote:
> Is there a way to restrict access to a particular machine based on the
> ethernet card addresses of machines trying to make the connection? The
> machine I want to limit access to runs linux RedHat 6.0.
>
> I would like to limit access to this machine so only computers with
> specified ethernet card addresses can make a connection. The limitation
> should apply to ssh, telnet, rlogin, ftp and also pop3 and smtp mail
> services.
>
> As ssh, telnet and rlogin are overlapping services, I could disable
> telnet and rlogin (on the machine I want to protect) and only develop
> this system for ssh. That leaves such a system to be implemented for ssh
> and mail services. Does anyone know how this can be implemented?
>
> Any help (and if possible, pointers to detailed instruction pages) would
> be most appreciated.
If you are talking about restricting access based in IP address,
then what you want to use is the standard tcp_wrappers.
See the hosts_access and hosts_options man pages for more details.
The magic files you need to use are /etc/hosts.allow and /etc/hosts.deny
Cheers
Tony
-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-
Tony Nugent <[EMAIL PROTECTED]> Systems Administrator, RHCE
GrowZone OnLine (a project of) GrowZone Development Network
POBox 475 Toowoomba Oueensland Australia 4350 Ph: 07 4637 8322
-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-