On 10/7/06, George P Boutwell <[EMAIL PROTECTED]> wrote:
I know it's an odd request, but is it possible to port forward based
on MAC address instead of by IP address?

You can create rules using the module mac:

iptables -t filter -A FORWARD -m mac --mac-source 00:00:00:00:00:00 -o
eth0 -j ACCEPT

Explaining:
All packets originated from a computer with MAC 00:00:00:00:00:00
outgoing by eth0 are accepted. (in chain FORWARD/table filter, at
least :)

Try the command "iptables -m mac --help" to see more about mac module.

--
Maxwillian Miorim <[EMAIL PROTECTED]>
----
Slackware 11.0/current, OpenBSD 3.9 and Debian SID/experimental "user".


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to