returned 'address' to awg server config and set it to 10.8.1.1/24
This commit is contained in:
parent
39c2124a26
commit
304f29bfac
2 changed files with 4 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ echo $WIREGUARD_PSK > /opt/amnezia/amneziawireguard/wireguard_psk.key
|
|||
cat > /opt/amnezia/amneziawireguard/wg0.conf <<EOF
|
||||
[Interface]
|
||||
PrivateKey = $WIREGUARD_SERVER_PRIVATE_KEY
|
||||
# Address = $WIREGUARD_SUBNET_IP/$WIREGUARD_SUBNET_CIDR
|
||||
Address = 10.8.1.1/24
|
||||
ListenPort = $AMNEZIAWIREGUARD_SERVER_PORT
|
||||
Jc = $JUNK_PACKET_COUNT
|
||||
Jmin = $JUNK_PACKET_MIN_SIZE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue