Linux Netfilter discussions
 help / color / mirror / Atom feed
* redirect unauthenticated traffic to a registration portal
@ 2005-06-06  9:47 Phani Kumar
  2005-06-08  6:25 ` Song Du
  0 siblings, 1 reply; 2+ messages in thread
From: Phani Kumar @ 2005-06-06  9:47 UTC (permalink / raw)
  To: netfilter

Hi,
    I have implemented a linux router with 4 interfaces.

eth0 -- outside net
eth1 --
eth2 --    diff Internal n/ws
eth3 --

Now I had to allow only authenticated traffic to pass through the 
router(i.e through interface eth0).
I have a list of all authenticated Mac-addresses in a file.

All unauthenticated traffic (i.e non-authenticated mac-address traffic) 
had to be redirected to default registration site.


Pls can anyone suggest me how to do above task.
I am able to allow only authenticated traffic by using

iptables -t filter -A FORWARD -m --mac-source xx.xx.xx... -i eth0 -j 
ACCEPT

and so on for all authenticated users

iptables -t filter -A FORWARD -i eth0 -j DROP

How do I redirect the unathenticated traffic to a registration portal 
rather than dropping it??


Phani
IIIT-Hyd


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

end of thread, other threads:[~2005-06-08  6:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-06  9:47 redirect unauthenticated traffic to a registration portal Phani Kumar
2005-06-08  6:25 ` Song Du

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