[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:
 * 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

Sweet - that works :D

Will dnsmasq start by default now?

Those should be essentially the same commands as the nat init script that I posted from K12LTSP ran except it specified an interface for the MASQUERADE. If you can figure out why it didn't work you can use the service command to control it.

In general, things run by init scripts are controlled by the 'service' command so 'service service_name on' starts them once. If you want them to start automatically it is "chkconfig service_name on" or use "chkconfig --list service_name" to see whether it is on or off at each run level.

--
  Les Mikesell
   lesmikesell gmail com


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