* [LARTC] Allowing certain IP to browse
@ 2006-01-19 11:17 andrew.goodluck
2006-01-19 12:18 ` Jandre Olivier
0 siblings, 1 reply; 2+ messages in thread
From: andrew.goodluck @ 2006-01-19 11:17 UTC (permalink / raw)
To: lartc
Hi all,
Need your input of the following:
I have a linux box(firewall)
-I want to restric some users not to browse but send emails only
Example: 192.168.x.2 up to 192.168.X.45 to send emails and browse, while
the rest(192.168.X.46 to 192.168.X.254) to send emails only. How do I do
that?
thanx
Andy
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [LARTC] Allowing certain IP to browse
2006-01-19 11:17 [LARTC] Allowing certain IP to browse andrew.goodluck
@ 2006-01-19 12:18 ` Jandre Olivier
0 siblings, 0 replies; 2+ messages in thread
From: Jandre Olivier @ 2006-01-19 12:18 UTC (permalink / raw)
To: lartc
howdy,
iptables will help u here for starters
/sbin/iptables -A FORWARD -s 192.168.x.2/32 -p tcp --dport 80 -j ACCEPT
/sbin/iptables -A FORWARD -s 192.168.x.2/32 -p tcp --dport 25 -j ACCEPT
/sbin/iptables -A FORWARD -s 192.168.x.2/32 -j DROP
similiar setup for the rest, this is not very clean though, might want
to create subnets for each network and put them in seperate network
cards in your linux box to physicly segment the networks, then you have
control
Lata
J
andrew.goodluck@intafrica.com wrote:
> Hi all,
> Need your input of the following:
> I have a linux box(firewall)
> -I want to restric some users not to browse but send emails only
> Example: 192.168.x.2 up to 192.168.X.45 to send emails and browse, while
> the rest(192.168.X.46 to 192.168.X.254) to send emails only. How do I do
> that?
> thanx
> Andy
>
> _______________________________________________
> LARTC mailing list
> LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
--
/*---------------------------------------------------------------------*/
__ _
---------- / / (_)__ __ ____ __ ---------
------- / /__/ / _ \/ // /\ \/ / --------
---- /____/_/_//_/\_,_/ /_/\_\ ------
localhost@localdomain.za.net
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-01-19 12:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-19 11:17 [LARTC] Allowing certain IP to browse andrew.goodluck
2006-01-19 12:18 ` Jandre Olivier
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.