Brian J. Murrell wrote: > On Tue, 2009-05-12 at 16:29 -0500, Marco C. Coelho wrote: >> I want to redirect any IPs in the 192.168.50.0/24 to a web page on a >> server that has a simple SUSPENDED message. > > So you are assuming all Internet traffic is web traffic? What a sadly > myopic view of the Internet. :-( > >> iptables -t nat -A PREROUTING -p tcp -s 192.168.50.0/24 -d 0.0.0.0/0 -j >> REDIRECT --to 64.202.230.254:80 > > So when I try to ftp (or any other tcp protocol) I get an HTTP response > back? > > Maybe this is how "captured portals" work. But it's yucky all the same. > > b.
Redirecting un-paying customer to web page where he is reminded of that fact is standard procedure to not allowing them access to internet but not to lose the entirely. What I do is to redirect only http traffic, but to just block all other services. > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your > production scanning environment may not be a perfect world - but thanks to > Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 > Series Scanner you'll get full speed at 300 dpi even with all image > processing features enabled. http://p.sf.net/sfu/kodak-com > > > ------------------------------------------------------------------------ > > _______________________________________________ > Shorewall-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/shorewall-users ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Shorewall-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shorewall-users
