* Netfilter box with auto-redirection
@ 2005-12-13 8:46 Simone
0 siblings, 0 replies; only message in thread
From: Simone @ 2005-12-13 8:46 UTC (permalink / raw)
To: netfilter
Hi all...
here is my situation..
eth 1 eth0
| clients | -------> | linux box | -------> | IP backbone |
The client get the ip address via dhcp from the linux box.. i assign a
public ip address.
The box normally act as a router and has to permit the packet to
Internet only if client has the right permit.. else no way.. the packet
is dropped.
Doing this is easy.. i just use the FORWARD chain with 2 rules and all
work ok.. when i need to permit the traffic i only add a rule with the
new IPSRC to the chain before the default drop roule (-I) and all work..
What i need to do is more hard..
I need by default that all the web traffic (80,443), for all the client
that haven't the permit rules on.. has to be redirect to a default
IP-ADDRESS where they will be able to insert their login/pwd for
authentication.. after that is verification will be ok i'll add
automatically the rule for permit the traffic without the redirection..
By default all other kind of traffic must be dropped on eth1..
I have search over the REDIRECT option but i can't use on the FORWARD
chain.. just verify some solution using the mangle table.. but nothing
over there too..
Any idea ? :)
Simon..
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-12-13 8:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-13 8:46 Netfilter box with auto-redirection Simone
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.