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
9 lines
149 B
Text
9 lines
149 B
Text
IPv4dev=eth0
|
|
staticReserv=0
|
|
install_user=pi
|
|
VPN=wireguard
|
|
pivpnPORT=51820
|
|
pivpnDNS1=8.8.8.8
|
|
pivpnDNS2=8.8.4.4
|
|
pivpnHOST=pivpn.example.com
|
|
UNATTUPG=1
|