diff --git a/.gitignore b/.gitignore old mode 100644 new mode 100755 diff --git a/Pipfile b/Pipfile old mode 100644 new mode 100755 diff --git a/Pipfile.lock b/Pipfile.lock old mode 100644 new mode 100755 diff --git a/README.md b/README.md old mode 100644 new mode 100755 diff --git a/ungleich_account.py b/ungleich_account.py old mode 100644 new mode 100755 diff --git a/ungleich_config.py b/ungleich_config.py old mode 100644 new mode 100755 diff --git a/ungleich_dns.py b/ungleich_dns.py old mode 100644 new mode 100755 diff --git a/ungleich_ripe.py b/ungleich_ripe.py old mode 100644 new mode 100755 diff --git a/ungleich_ssh_key.py b/ungleich_ssh_key.py old mode 100644 new mode 100755 diff --git a/ungleich_vpn.py b/ungleich_vpn.py old mode 100644 new mode 100755 index f64917b..f24e310 --- a/ungleich_vpn.py +++ b/ungleich_vpn.py @@ -56,7 +56,7 @@ class ungleichVPN(object): 'email': args.email, 'public_key': args.public_key }) - except e: + except Exception as e: print(e) return None if r.status_code == 200: @@ -79,7 +79,7 @@ class ungleichVPN(object): 'realm': args.realm, 'seed': args.seed }) - except e: + except Exception as e: print(e) return None diff --git a/ungleich_weather.py b/ungleich_weather.py old mode 100644 new mode 100755 diff --git a/wg0.conf b/wg0.conf new file mode 100755 index 0000000..dc09a2e --- /dev/null +++ b/wg0.conf @@ -0,0 +1,10 @@ +[Interface] +PrivateKey = Your_Private_Key +Address = 2a0a:e5c1:101::42/48 +ListenPort = 51280 + +[Peer] +PublicKey = testpub +EndPoint = vpn-2a0ae5c1.ungleich.ch:51820 +AllowedIPs = ::/0 +