diff --git a/ipv6.sh b/ipv6.sh deleted file mode 100644 index ff1a634..0000000 --- a/ipv6.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/bash -raw=$(curl -k -s https://ipv6.am.i.mullvad.net/) -full=$(/home/server/Scripts/expand6.sh $raw) -echo $full diff --git a/set_ip.sh b/set_ip.sh new file mode 100644 index 0000000..037bdf4 --- /dev/null +++ b/set_ip.sh @@ -0,0 +1,5 @@ +#!/bin/bash +ipv4=$(curl -k -s https://am.i.mullvad.net/ip) +ipv6=$(curl -k -s https://ipv6.am.i.mullvad.net/) +python3 ./cloudflare_script.py 4 "$ipv4" +python3 ./cloudflare_script.py 6 "$ipv6"