# ebtables -A FORWARD -p IPv4 --ip-dport 17889 -j ACCEPT For port filtering the IP protocol must be either 6 (tcp) or 17 (udp).