Le dimanche 9 janvier 2011 15:38:11 Peter Scheie, vous avez écrit :
> Perhaps I should clarify.  The setting is a classroom.  The thin clients
> are all all plug into a switch to which the LTSP server is also connected.
> The clients are separated from the rest of our network by the server,
> i.e., the server acts as the gateway relative to the clients (yes, I know
> the applications run on the server) Stock setup.  Sometimes people bring
> other computers into the classroom, e.g., a laptop running Windows.  They
> get an IP, DNS, and GW from the LTSP server's DHCP.  But any traffic from
> them has to go through the LTSP server obviously, which means some sort of
> forwarding or masquerading must be enabled on the server.  This is the
> part that isn't working.  So, it seems to me that something on the server
> needs to be changed so that it NATs/masquerades the traffic from those fat
> clients.  They are not running apps on the server, just using its DHCP
> services.


You need to enable ip forward. Add something like this in your 
/etc/network/interfaces file, just under your "ltsp" interface
#############
up iptables-restore < /etc/ltsp/nat.conf
up echo 1 > /proc/sys/net/ipv4/ip_forward
#############

Here's simple iptables rules that you can put in a nat.conf file
#############
*nat
:PREROUTING ACCEPT [483:34594]                                                  
                                                                                
                   
:POSTROUTING ACCEPT [52:9331]                                                   
                                                                                
                   
:OUTPUT ACCEPT [98:17995]                                                       
                                                                                
                   
-A POSTROUTING -s 192.168.1.0/255.255.255.0 -j MASQUERADE                       
                                                                                
                   
COMMIT                                                                          
                                                                                
                   
#############

Xavier

------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to