Re: solved PFsense and LTSP (pnp mode) 1 NIC - Mint Mate 19 64 bits

Giacomo Trovato <giacomo-o6+VoJyZ4uJWk0Htik3J/[email protected]> Tue, 26 Feb 2019 09:27:57 +0100
Newsgroups gmane.linux.terminal-server.general
Message-ID <[email protected]>
Hi Douglas, 

I've LTSP running with one NIC, together pfSense (DHCP server). 

You have just to set dnsmasq in proxy mode, nothing else. 

I use this setup since I've the complete control of the network with
several VLANs through pfSense with Squid + SquidGuard.

---

Giacomo Trovato

Il 25/02/2019 20:56 Douglas G. Oechsler ha scritto:

> Hello! 
> How are you? 
> 
> I had following this link to install Ltsp 
> http://wiki.ltsp.org/wiki/Installation/Ubuntu#a.29_Installing_LTSP_in_.22chrootless.22_.28previously_pnp.29_mode 
> 
> For a long time the client cannot access or navigate in internet with PFsense (no DHCP server) togheter 
> 
> Here is my changes: 
> 
> 01-
> 
> LTSP-CONFIG DNSMASQ --ENABLE-DNS 
> 
> 02 - Let the same subnet that PFsense in: /etc/ltsp/dhcpd.conf 
> 
> #
> # Default LTSP dhcpd.conf config file.
> #
> 
> authoritative;
> 
> subnet 10.1.1.0 netmask 255.255.255.0 {
> range 10.1.1.21 10.1.1.23;
> option domain-name "example.com [1]";
> option domain-name-servers 10.1.1.1;
> option broadcast-address 10.1.1.255;
> option routers 10.1.1.1;
> #    next-server 192.168.67.1;
> #    get-lease-hostnames true;
> option subnet-mask 255.255.255.0;
> option root-path "/opt/ltsp/images";
> if substring( option vendor-class-identifier, 0, 9 ) = "PXEClient" {
> filename "/ltsp/images/pxelinux.0";
> } else {
> filename "/ltsp/images/amd64.img";
> }
> 
> 03 -  Made some change in : /etc/dnsmasq.d/ltsp-server-dnsmasq.conf
> 
> # IP ranges to hand out.
> dhcp-range=10.1.1.21,10.1.1.23,8h 
> 
> # If another DHCP server is present on the network, you may use a proxy range
> # instead. This makes dnsmasq provide boot information but not IP leases.
> # (needs dnsmasq 2.48+)
> # dhcp-range=10.1.1.0,proxy
> 
> # Disable the DNS server functionality of dnsmasq by setting port=0
> #PORT=0 
> 
> 04 - Enable IPv4 Forwarding in /etc/sysctl.conf
> 
> # Uncomment the next line to enable packet forwarding for IPv4
> NET.IPV4.IP_FORWARD=1 
> 
> And ok! Restart system and clients works fine! 
> There are some problems but, this is solved 
> 
> Thanks all 
> 
> Douglas 
> 
> _____________________________________________________________________
> 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
 

Links:
------
[1] http://example.com

_____________________________________________________________________
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