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