From 92830d08b6c2e381118ed38877b0795180d84b6f Mon Sep 17 00:00:00 2001 From: Julien Escario Date: Thu, 9 Jul 2020 18:18:04 +0200 Subject: [PATCH] Revert previous changes --- routeros/README.md | 1 - wireguard/deploy-wg-clients.sh | 1 - 2 files changed, 2 deletions(-) diff --git a/routeros/README.md b/routeros/README.md index fd92ca1..c58d379 100644 --- a/routeros/README.md +++ b/routeros/README.md @@ -3,7 +3,6 @@ Run fresh Powerbox configuration : RBNAME='P6-PB'; ssh -o "StrictHostKeyChecking=no" -o "UserKnownHostsFile /dev/null" admin@192.168.88.1 '/tool fetch url="https://gitlab.altinea.fr/altinea/install-scripts/raw/branch/master/routeros/powerbox-init.rsc" dst-path=/flash/init.rsc; /file print file=flash/name.txt; :delay 1s; /file set "flash/name.txt" contents="'"$RBNAME"'"; /system reset-configuration no-defaults=yes run-after-reset=flash/init.rsc;' ``` - Run fresh RB SXT configuration : ``` RBNAME='P6-DOWN'; ssh -o "StrictHostKeyChecking=no" -o "UserKnownHostsFile /dev/null" admin@192.168.88.1 '/ip dhcp-client set 0 interface=ether1; :delay 10s; /tool fetch url="https://gitlab.altinea.fr/altinea/install-scripts/raw/branch/master/routeros/sxt5ac-init.rsc" dst-path=/flash/init.rsc; /file print file=flash/name.txt; :delay 1s; /file set "flash/name.txt" contents="'"$RBNAME"'"; /system reset-configuration no-defaults=yes run-after-reset=flash/init.rsc;' diff --git a/wireguard/deploy-wg-clients.sh b/wireguard/deploy-wg-clients.sh index 21672aa..88c6f79 100755 --- a/wireguard/deploy-wg-clients.sh +++ b/wireguard/deploy-wg-clients.sh @@ -31,7 +31,6 @@ AllowedIPs = 172.16.5.0/24, fc00:db8:f00:bebe::/64 # OpenVPN Admin tunnel Endpoint = vpn.altinea.fr:58212 PersistentKeepalive = 25" > /etc/wireguard/vpnaltinea.conf - # Enable and start interface (systemctl needed) systemctl enable wg-quick@vpnalinea.service && systemctl daemon-reload && systemctl start wg-quick@vpnaltinea