Re: Port Forward by MAC
On 10/7/06, George P Boutwell <email@example.com> 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
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
Try the command "iptables -m mac --help" to see more about mac module.
Maxwillian Miorim <firstname.lastname@example.org>
Slackware 11.0/current, OpenBSD 3.9 and Debian SID/experimental "user".