From 062aff6713640b40449d19fbc1c423e29fdc705f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Wed, 12 Feb 2020 00:31:12 +0100 Subject: Use vpn-gw domain --- ImmaeEu-up | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ImmaeEu-up b/ImmaeEu-up index 3a2e073..56710a1 100755 --- a/ImmaeEu-up +++ b/ImmaeEu-up @@ -11,7 +11,7 @@ SUBDOMAIN=`cat /etc/tinc/$NETNAME/tinc_domaine` while [ -z "$MYIPS" -o -z "$GWIP" ]; do MYIPS=`getent hosts ${SUBDOMAIN}.immae.eu | cut -d' ' -f1 | tr "\\n" ' '` - GWIP=`getent hosts vpn.immae.eu | head -n1 | cut -d' ' -f1` + GWIP=`getent hosts gw.vpn.immae.eu | head -n1 | cut -d' ' -f1` sleep 5 done rm -f /tmp/tinc_$NETNAME -- cgit v1.2.3