Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Rule is foreward or nat. NAT requres the iptables ip module to be loaded.
Redirection over NAT appears to b protocol independent (at least as far as subprotocols of IP are concerned). Search the manpages if iptables support the opition "--protocol arp"
I did check the manpages for iptables but didn't find it.Do you know of any ways in which I can filter arp packets using iptables? I don't want to use ebtables to do that because I will have to convert the firewall into a bridge as well.
I did compile the kernel with the Arptables support but it supports only INPUT and OUTPUT chains. I need to forward arp replies which have had their destination mac address modified. The forwarding will make the arp packets go to their real destination based on target ip address.
How can I do that? I know that we can use the br_nf option to forward arp packets but the PC has to be set up as a bridgefirewall, which I don't want..
I compiled a 2.6.13 kernel (using RH9) with all the options regarding ARP filtering in Network options. But I still can't use commands like arptables -A IN -j DROP. It gives me an error. When I try man arptables, it tells me it's not found.
Do I have to do something more (install some userspace program or sth) to get it to work? Is the mere selection of the ARP kernel options not sufficient?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.