Re: MAC address match based access to a server running Slack 10.1? Madhusudan Singh wrote:
> Hi
>
>
> I wish to limit ssh and samba access to this machine based on the MAC
> address of machines. The problem is that all these machines get their IP
> address via DHCP from some other server, so I cannot use their current IP
> addresses to write the rule.
if you use dnsmasq as dhcp/dns server, you can bind MAC-adresses to
ip-numbers.
so, the machines that must be able to use certain ports, can be given
allways the same ip.
just take a look at /etc/dnsmasq.conf.
it has many examples.
cashmir |