[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [K12OSN] Mixed network environment - using LTSP server for routing too



Hamlesh [Personal] wrote:
That means you didn't use the K12LTSP distro that installs a lot of nice
stuff for you.

Ah according to k12ltsp.org K12Linux was the more modern version, so I
assumed that was the better version!


Below is the 'nat' init script.  Change the PUBLIC_ETHERNET interface at the
top if needed and fix any wrapped lines.

Tried that and executed it, still no joy :(

K12LTSP has this enabled by default; K12Linux does not. To enable it:

    * echo 1 >/proc/sys/net/ipv4/ip_forward
    * edit /etc/sysctl.conf to make that permanent
    * iptables -t nat -A POSTROUTING -j MASQUERADE
    * iptables-save
    * service dnsmasq start

The first two turn on forwarding, which is the primary requirement. The next two tell iptables to allow port forwarding; if iptables is turned off, they are unnecessary. The last one is to provide a DNS service to the fat client. Remember that thin client's apps are running on the server so they use the DNS server listed in /etc/resolv.conf. On the TC segment, however, dhcpd.conf tells clients that the nameserver is the LTSP server, meaning there needs to be a nameserver running on the LTSP server. That's what dnsmasq does.

Peter


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]