Skip to contentSkip to conversation

Help please..

DISCUSSION Karthik RC 2 participants 2 messages Apr 29, 2003

lore
Share & tools
lore

Karthik RC

author
#0 lore raw

I'm newer to htis group.

whether the explanation for below mentioned rule is correct?
the forward chain will reject the packet with mac address 00:01:23:45:67:89 whose source ip is not eqaul to 192.168.1.2

iptables -A FORWARD -m mac --mac-source 00:01:23:45:67:89 ! -s 192.168.1.2 -j REJECT

#1 lore raw

Op dinsdag 29 april 2003 18:55, schreef Karthik RC:

Quoted 10 lines

I'm newer to htis group.

whether the explanation for below mentioned rule is correct? the forward chain will reject the packet with mac address 00:01:23:45:67:89 whose source ip is not eqaul to 192.168.1.2

iptables -A FORWARD -m mac --mac-source 00:01:23:45:67:89 ! -s 192.168.1.2 -j REJECT

YES correct