1. IPsec Server Setup
This is the setup for the pfSense side of the connection#Mobile Clients
风过无痕,人活过岂能无迹可寻。 总希望能够像风一样吹过, 但却总是带起太多的尘埃。
ipkg install dnsmasq
# DHCP IP range and lease dhcp-range=192.168.0.100,192.168.0.200,255.255.255.0,12h dhcp-leasefile=/opt/var/lib/dnsmasq.leases # DHCP Fixed IP settings dhcp-host=XX:XX:XX:XX:XX:XX,192.168.0.101 # DHCP gateway option dhcp-option=option:router,192.168.0.1 # DHCP dns option, if you don't want to use dnsmasq's DNS service dhcp-option=option:dns-server,8.8.8.8,4.4.4.2 # PXE boot options dhcp-boot=pxelinux.0 enable-tftp tftp-root=/volume1/netboot
mkdir /volume1/netboot wget –O - http://ftp.debian.org/debian/dists/stable/main/installer-amd64/current/images/netboot/netboot.tar.gz | tar xzf -