Update mm-scripts.sh
This commit is contained in:
@@ -63,19 +63,19 @@ MMSTART(){
|
||||
rm -f /etc/wireguard/wg-torguard.conf
|
||||
|
||||
echo -e "[Interface]
|
||||
PrivateKey = EDLTAzV/0KZOuvCeGaztr7c/YEDRJ3aZDLPUOL+Ctkk=
|
||||
ListenPort = 57881
|
||||
MTU = 1390
|
||||
DNS = 1.1.1.1
|
||||
Address = 10.13.38.29/24
|
||||
Table = off
|
||||
PrivateKey = EDLTAzV/0KZOuvCeGaztr7c/YEDRJ3aZDLPUOL+Ctkk=
|
||||
ListenPort = 57881
|
||||
MTU = 1390
|
||||
DNS = 1.1.1.1
|
||||
Address = 10.13.38.29/24
|
||||
Table = off
|
||||
|
||||
[Peer]
|
||||
PublicKey = ${publickey}
|
||||
AllowedIPs = 0.0.0.0/0
|
||||
Endpoint = ${address}:${port}
|
||||
PersistentKeepalive = 25
|
||||
" >> /etc/wireguard/wg-torguard.conf
|
||||
[Peer]
|
||||
PublicKey = ${publickey}
|
||||
AllowedIPs = 0.0.0.0/0
|
||||
Endpoint = ${address}:${port}
|
||||
PersistentKeepalive = 25
|
||||
" >> /etc/wireguard/wg-torguard.conf
|
||||
|
||||
rm -f /opt/idssys/mediamanager/vpnpublickey
|
||||
echo -e "$publickey" >> /opt/idssys/mediamanager/vpnpublickey
|
||||
|
||||
Reference in New Issue
Block a user