-
Stefan Certic
-
RE: KVM network bridge iptables question
-
Hi Eshaffer,
TCP header need to supply destination IP address information in order for gateway to know where to route packet, apply translation if needed, and perform similar tasks. Since there is no ip address defined, there is no way for packet to even reach your interface, therefore socket cannot be opened to communicate with your system at application level.
But in case i missed something, this should do the job.
iptables -A INPUT -i eth1 -j DROP
iptables -A OUTPUT -i eth1 -j DROP
-
02 Dec 11
Hi Eshaffer,
TCP header need to supply destination IP address information in order for gateway to know where to route packet, apply translation if needed, and perform similar tasks. Since there is no ip address defined, there is no way for packet to even reach your interface, therefore socket cannot be opened to communicate with your system at application level.
But in case i missed something, this should do the job.
iptables -A INPUT -i eth1 -j DROP
iptables -A OUTPUT -i eth1 -j DROP