mirror of
https://github.com/pivpn/pivpn.git
synced 2024-12-18 19:00:15 +00:00
b9f237fe92
Support For DHCP IP Reservation Main: - added If statement to skipp SetStaticIPv4 if dhcpRserv=1 getStaticIPv4Settings: - Added Whiptail asking if user wants to use DHCP reservation Settings, this will add dhcpReserv and skip setStaticIPv4 while still logging everything. ConfigExample files: - Added staticReserv=0 to config examples. so it can be used with Unattended install * 0 means static ip will be setup. * 1 means DHCP Reservation will be used and no chage will be made to the interfaces
13 lines
242 B
Text
13 lines
242 B
Text
IPv4dev=eth0
|
|
staticReserv=0
|
|
install_user=pi
|
|
VPN=openvpn
|
|
pivpnPROTO=udp
|
|
pivpnPORT=1194
|
|
pivpnDNS1=8.8.8.8
|
|
pivpnDNS2=8.8.4.4
|
|
pivpnHOST=pivpn.example.com
|
|
pivpnENCRYPT=2048
|
|
pivpnSEARCHDOMAIN=searchdomain.example.com
|
|
DOWNLOAD_DH_PARAM=0
|
|
UNATTUPG=1
|