[NTLUG:Discuss] Per User Internet Access
Scott Hollomon
scott at collinstreet.com
Thu Feb 3 13:18:26 CST 2005
Thanks. But how can I make a specific user session use a specific IP
address to communicate with the web?
For example i have ethX:1 and ethX:2 and I want user foo to communicate
with the gateway over ethX:1 and user bar to communicate with the
gateway over ethX:2.
On Thu, 2005-02-03 at 13:05 -0600, Rev. wRy wrote:
> On Thu, 2005-02-03 at 12:36, Scott Hollomon wrote:
> > The server has two (can have more) Ethernet adapters, is there a way to
> > set the ethernet adapter used on a per user basis or set multiple ip
> > addresses for a single adapter and set the ip address used on a per user
> > basis? Then the Squid server would see multiple addresses and we could
> > set permissions that way. I only need about 4 different groups of
> > permissions.
>
> I'm unfamiliar with setting up LTSP but assigning more IP's to the
> server is easy:
>
> assuming that the ethX is 111.111.111.110 and X is the interface used by
> the clients.
>
> ifconfig ethX:1 111.111.111.111 up
> ifconfig ethX:2 111.111.111.112 up
> ifconfig ethX:3 111.111.111.113 up
> ifconfig ethX:4 111.111.111.114 up
>
> if you don't want to add more cards.
>
> http://home.pacific.net.sg/~harish/linuxipalias.html
>
> Ry
>
>
>
--
R. Scott Hollomon
Collin Street Bakery, Inc.
scott at collinstreet.com
More information about the Discuss
mailing list