Click to See Complete Forum and Search --> : Need help with MAC forwarding on firewall


twn2
10-19-2003, 03:01 AM
At my company, I have a firewall that checks IPs before allowing someone to send email through my email server (IMAP). I run SuSEfirewall2. I basically have IP and port forward to the email server.

We just got a laptop and since the IP on that will change often, I thought I'd use the MAC address rather than the IP for authentication. The only problem is I'm not sure how to set it up.

Currently I have this scheme in my firewall rules:
68.564.198.183/32,192.168.0.13,tcp,25

I'd like to change this to a mac address so I won't ever have to change IPs.

Anyone have an idea how to do this?

Thanks,
Tom

serz
10-19-2003, 03:57 AM
Please do not crosspost.

Thanks.

twn2
10-19-2003, 01:09 PM
I'm really sorry about that. I never do that. I just realized after I posted on the Web/security that Networking was more accurate.

Won't happen again.

Tom

homey
10-19-2003, 06:30 PM
I've never actually tried this but here is a sample I found on the web....
iptables -A FORWARD -m state -state NEW -m mac -mac-source 00:C7:8F:72:14 -j ACCEPT

Note: that is supposed to be all one line.