NavigationUser loginSpam?See spam posts on this site? If so, please don't reply to the spam! Instead, just report the URL to the webmaster. |
netfilter and MAC filteringI have a very simple problem to solve: I want only "valid" MAC addresses to come out of my eth0. The reason is because I use vmware to run some Windows virtual machines. The host computer runs Etch. Each virtual machine have its own MAC addresse for each virtual network adapter. No problem here. I just want nothing from the virtual machines go throught eth0. But throught tun0 or whatever is okay. I first tested to just filter the virtual machine's IP with the following rule for netfilter: Well, okay. I then tested the following rule: 1 - what the fxxk with --mac-source ? |
Re: netfilter and MAC filtering
Apparently you have to put "-m mac" before "--mac-source".