Linux Netfilter discussions
 help / color / mirror / Atom feed
* Re: Help please..
  2003-04-29 16:55 Help please Karthik RC
@ 2003-04-29 11:46 ` SaVaGE
  0 siblings, 0 replies; 3+ messages in thread
From: SaVaGE @ 2003-04-29 11:46 UTC (permalink / raw)
  To: netfilter

Op dinsdag 29 april 2003 18:55, schreef Karthik RC:
> 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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* help please..
@ 2003-04-29 15:56 Karthik RC
  0 siblings, 0 replies; 3+ messages in thread
From: Karthik RC @ 2003-04-29 15:56 UTC (permalink / raw)
  To: netfilter

Hello,
        I'm using iptables and i framed rules for 
firewall(Ingress,egress,forward)..
It is working finely.
But i want to frame the rules  which should be time based one.
(i.e) the rule should be valid for one hour,two hour like that...
pls say the command  and way for implementation.

expecting the help,
from karthikeyan..



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Help please..
@ 2003-04-29 16:55 Karthik RC
  2003-04-29 11:46 ` SaVaGE
  0 siblings, 1 reply; 3+ messages in thread
From: Karthik RC @ 2003-04-29 16:55 UTC (permalink / raw)
  To: netfilter


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





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-04-29 16:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-29 15:56 help please Karthik RC
  -- strict thread matches above, loose matches on Subject: below --
2003-04-29 16:55 Help please Karthik RC
2003-04-29 11:46 ` SaVaGE

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox