|
Re: lug-bg: Re: lug-bg: Как да огранича по MAC адрес или по IP?
- Subject: Re: lug-bg: Re: lug-bg: Как да огранича по MAC адрес или по IP?
- From: Христофор Памятних <fori@xxxxxxxxx>
- Date: Mon, 04 Oct 2004 13:01:59 +0300
atlas wrote:
А има ли начин това да стане с IPTABLES по MAC адрес?
От ман страницата на iptables:
mac
--mac-source [!] address
Match source MAC address. It must be of
the form
XX:XX:XX:XX:XX:XX. Note that this only makes sense for
packets
coming from an Ethernet device and entering the
PREROUTING, FOR-
WARD or INPUT chains.
т.е.
iptables -A EDIKFOSI -m mac --mac-source 00:11:22:33:44:55 -j KFOTO_ISKASH
:-)
============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================
|
|
|