[Shorewall-newbies] User based routing.

Tom Eastep teastep at shorewall.net
Wed Mar 10 12:21:17 PST 2004


On Wednesday 10 March 2004 11:03 am, espada at luukku.com wrote:
> I have 3 eth card in same computer connected following:
> eth0 -> internet
> eth1 -> home network
> eth2 -> internet
>
> (eth0 and eth2 is connected to one adsl box and those get IP's from dhcp
> server...That part working)
>
> But how i can make following setup?
> eth0 is main interface. All other ecxept port 80 is blocked from net
> (yes..apache). All users ecxept root use that interface and allso
> masquerading from eth1 to internet goes that route. eth2 is only in root
> use. it accept ssh connection from net and all programs which root run talk
> to internet go thru eth2.

Most of what you are asking doesn't involve Shorewall at all. See the LARTC 
HOWTO (http://ds9a.nl/lartc).

-Tom
-- 
Tom Eastep    \ Nothing is foolproof to a sufficiently talented fool
Shoreline,     \ http://shorewall.net
Washington USA  \ teastep at shorewall.net




More information about the Shorewall-newbies mailing list