Your ROOT_URL in app.ini is https://git.bwnetwork.us/ but you are visiting http://git.bwnetwork.us/Administrator/Proxmox_Helper_scripts/commit/ab521623cdf779ea2644ed415a08683e7ad70214?style=unified&whitespace=ignore-all You should set ROOT_URL correctly, otherwise the web may not work correctly.

Randomize the PiVPN subnet ()

pull/2127/head
Danofun 1 year ago committed by GitHub
parent 8d5ca6bece
commit ab521623cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -22,11 +22,12 @@ msg_ok "Installed Dependencies"
msg_info "Installing WireGuard (using pivpn.io)"
OPTIONS_PATH='/options.conf'
cat >$OPTIONS_PATH <<'EOF'
SUBNET=$(printf %d.%d.%d.%d 10 $((RANDOM % 256)) $((RANDOM % 256)) 0)
cat >$OPTIONS_PATH <<EOF
IPv4dev=eth0
install_user=root
VPN=wireguard
pivpnNET=10.6.0.0
pivpnNET=$SUBNET
subnetClass=24
ALLOWED_IPS="0.0.0.0/0, ::0/0"
pivpnMTU=1420

Loading…
Cancel
Save

Powered by BW's shoe-string budget.