Hi,

I am able to setup MASQUERADING to do the following:

- Accept connections on eth0 that are for this box on port 80, and then use 
MASQUERADING to forward the connection through eth1 to another box (a form of proxying)

I want to be able to check to MAC address of the incoming connection against a list of 
macs (which are obtained from a file for now) and decide either to handle the 
connection locally or let the MASQ handle it.

I have a QUEUE program that can compare the MAC address to those listed in a file. I 
use the ip_queue mechanism because I need to be in userspace to get the list of MACs.

How can I combine the 2 (QUEUE and MASQ) to be able to conditionally use MASQ or 
handle the connection locally?

Iman Mayes



Reply via email to