"Simple?" Need an example of rules, please...
| Newsgroups | gmane.linux.network.bridge.ebtables.user |
|---|---|
| Message-ID | <[email protected]> |
I have been reading, surfing, and generally pulling my hair out trying to figure out how to write the ebtables rules I need to use... Would someone point me in the right direction, please? Let's assume this setup: Internet <===== eth1 > Bridge/Firewall < eth2 =====> LAN All machines connected to the LAN use public IPs and the bridge machine has no IP at all. I found an article that calls me "uber paranoid" for giving no interface an IP, but hey-- why not? :-) Configuring the bridging part of this little adventure was a piece of cake. All works there as it is supposed to work-- and then came time to write the ebtables rules... and I've consumed four pots of coffee Googling for anything resembling an example, etc. This ain't iptables, that's for sure... Once I see the jist of things, I'm sure I can take it from there... I want to write rules such as: "Allow internet to access ports 80, 25 and 110 of 70.105.61.235" "Allow internet to access ports 80 and 1354 of 70.105.61.236" "Allow 70.105.61.235 to access the internet using port 25" "Allow 70.105.61.236 to access the internet using port 1354" The key here is the existence of multiple servers behind this bridge with differing rules needs. From the man pages, and the assorted "examples" on SourceForge, I'm just not "getting it." Can you help? I'd really appreciate it! Thank you, Eriks