I'm trying to set up routing / forwarding. I have a bridging system with 5 NICs which appears to work ok but if I try to open or close a port on the server using iptables nothing happens.
> iptables -A OUTPUT -d 127.0.0.1 -p tcp --dport 139 -j DROP
> iptables -A INPUT -d 127.0.0.1 -p tcp --dport 139 -j DROP
Appears to make no difference as netstat -ntulp says :
tcp 0 0 127.0.0.1:139 0.0.0.0:* LISTEN 4365/smbd
so it looks like the port is still open. So, what am I doing wrong?