Skip to content

Commit

Permalink
Update amneziawg-install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Merdancik94 authored Nov 22, 2024
1 parent 7844728 commit d506a70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion amneziawg-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ function installQuestions() {
SERVER_AWG_NIC="awg0"
SERVER_AWG_IPV4="10.66.66.1"
SERVER_AWG_IPV6="fd42:42:42::1"
ALLOWED_IPS=""0.0.0.0/3, 32.0.0.0/4, 48.0.0.0/5, 56.0.0.0/8, 57.0.0.0/10, 57.64.0.0/12, 57.80.0.0/13, 57.88.0.0/15, 57.90.0.0/17, 57.90.128.0/20, 57.90.144.0/22, 57.90.148.0/23, 57.90.152.0/21, 57.90.160.0/19, 57.90.192.0/18, 57.91.0.0/16, 57.92.0.0/14, 57.96.0.0/11, 57.128.0.0/9, 58.0.0.0/7, 60.0.0.0/6, 64.0.0.0/5, 72.0.0.0/6, 76.0.0.0/8, 77.0.0.0/10, 77.64.0.0/12, 77.80.0.0/15, 77.82.0.0/16, 77.83.0.0/19, 77.83.32.0/20, 77.83.48.0/21, 77.83.56.0/23, 77.83.58.0/24, 77.83.60.0/22, 77.83.64.0/18, 77.83.128.0/17, 77.84.0.0/14, 77.88.0.0/13, 77.96.0.0/11, 77.128.0.0/9, 78.0.0.0/7, 80.0.0.0/6, 84.0.0.0/8, 85.0.0.0/9, 85.128.0.0/12, 85.144.0.0/13, 85.152.0.0/16, 85.153.0.0/19, 85.153.32.0/21, 85.153.40.0/22, 85.153.44.0/24, 85.153.46.0/23, 85.153.48.0/20, 85.153.64.0/18, 85.153.128.0/17, 85.154.0.0/15, 85.156.0.0/14, 85.160.0.0/11, 85.192.0.0/10, 86.0.0.0/7, 88.0.0.0/7, 90.0.0.0/8, 91.0.0.0/9, 91.128.0.0/10, 91.192.0.0/13, 91.200.0.0/15, 91.202.0.0/17, 91.202.128.0/18, 91.202.192.0/19, 91.202.224.0/21, 91.202.233.0/24, 91.202.234.0/23, 91.202.236.0/22, 91.202.240.0/20, 91.203.0.0/16, 91.204.0.0/14, 91.208.0.0/12, 91.224.0.0/11, 92.0.0.0/8, 93.0.0.0/9, 93.128.0.0/11, 93.160.0.0/13, 93.168.0.0/15, 93.170.0.0/16, 93.171.0.0/17, 93.171.128.0/19, 93.171.160.0/21, 93.171.168.0/22, 93.171.172.0/23, 93.171.175.0/24, 93.171.176.0/20, 93.171.192.0/20, 93.171.208.0/21, 93.171.216.0/22, 93.171.224.0/19, 93.172.0.0/14, 93.176.0.0/12, 93.192.0.0/10, 94.0.0.0/10, 94.64.0.0/11, 94.96.0.0/14, 94.100.0.0/15, 94.102.0.0/17, 94.102.128.0/19, 94.102.160.0/20, 94.102.192.0/18, 94.103.0.0/16, 94.104.0.0/13, 94.112.0.0/12, 94.128.0.0/9, 95.0.0.0/10, 95.64.0.0/12, 95.80.0.0/14, 95.84.0.0/16, 95.85.0.0/18, 95.85.64.0/19, 95.85.128.0/17, 95.86.0.0/15, 95.88.0.0/13, 95.96.0.0/11, 95.128.0.0/9, 96.0.0.0/6, 100.0.0.0/7, 102.0.0.0/8, 103.0.0.0/9, 103.128.0.0/10, 103.192.0.0/12, 103.208.0.0/16, 103.209.0.0/17, 103.209.128.0/18, 103.209.192.0/19, 103.209.224.0/22, 103.209.228.0/23, 103.209.231.0/24, 103.209.232.0/21, 103.209.240.0/20, 103.210.0.0/15, 103.212.0.0/14, 103.216.0.0/14, 103.220.4.0/22, 103.220.8.0/21, 103.220.16.0/20, 103.220.32.0/19, 103.220.64.0/18, 103.220.128.0/17, 103.221.0.0/16, 103.222.0.0/15, 103.224.0.0/11, 104.0.0.0/5, 112.0.0.0/6, 116.0.0.0/7, 118.0.0.0/8, 119.0.0.0/9, 119.128.0.0/10, 119.192.0.0/11, 119.224.0.0/13, 119.232.0.0/15, 119.234.0.0/16, 119.235.0.0/18, 119.235.64.0/19, 119.235.96.0/20, 119.235.128.0/17, 119.236.0.0/14, 119.240.0.0/12, 120.0.0.0/5, 128.0.0.0/4, 144.0.0.0/5, 152.0.0.0/7, 154.0.0.0/12, 154.16.0.0/13, 154.24.0.0/14, 154.28.0.0/15, 154.30.0.0/20, 154.30.16.0/21, 154.30.24.0/22, 154.30.28.0/24, 154.30.30.0/23, 154.30.32.0/19, 154.30.64.0/18, 154.30.128.0/17, 154.31.0.0/16, 154.32.0.0/11, 154.64.0.0/10, 154.128.0.0/9, 155.0.0.0/8, 156.0.0.0/6, 160.0.0.0/4, 176.0.0.0/8, 177.0.0.0/10, 177.64.0.0/12, 177.80.0.0/13, 177.88.0.0/14, 177.92.0.0/16, 177.93.0.0/17, 177.93.128.0/21, 177.93.136.0/22, 177.93.140.0/23, 177.93.142.0/24, 177.93.144.0/20, 177.93.160.0/19, 177.93.192.0/18, 177.94.0.0/15, 177.96.0.0/11, 177.128.0.0/9, 178.0.0.0/9, 178.128.0.0/11, 178.160.0.0/13, 178.168.0.0/15, 178.170.0.0/16, 178.171.0.0/18, 178.171.64.0/23, 178.171.68.0/22, 178.171.72.0/21, 178.171.80.0/20, 178.171.96.0/19, 178.171.128.0/17, 178.172.0.0/14, 178.176.0.0/12, 178.192.0.0/10, 179.0.0.0/8, 180.0.0.0/6, 184.0.0.0/8, 185.0.0.0/10, 185.64.0.0/14, 185.68.0.0/16, 185.69.0.0/17, 185.69.128.0/19, 185.69.160.0/20, 185.69.176.0/21, 185.69.188.0/22, 185.69.192.0/18, 185.70.0.0/15, 185.72.0.0/13, 185.80.0.0/12, 185.96.0.0/11, 185.128.0.0/10, 185.192.0.0/11, 185.224.0.0/12, 185.240.0.0/14, 185.244.0.0/15, 185.246.0.0/18, 185.246.64.0/21, 185.246.76.0/22, 185.246.80.0/20, 185.246.96.0/19, 185.246.128.0/17, 185.247.0.0/16, 185.248.0.0/13, 186.0.0.0/7, 188.0.0.0/6, 192.0.0.0/4, 208.0.0.0/5, 216.0.0.0/9, 216.128.0.0/10, 216.192.0.0/11, 216.224.0.0/12, 216.240.0.0/13, 216.248.0.0/15, 216.250.0.0/21, 216.250.16.0/20, 216.250.32.0/19, 216.250.64.0/18, 216.250.128.0/17, 216.251.0.0/16, 216.252.0.0/14, 217.0.0.0/13, 217.8.0.0/18, 217.8.64.0/19, 217.8.96.0/20, 217.8.112.0/22, 217.8.116.0/24, 217.8.118.0/23, 217.8.120.0/21, 217.8.128.0/17, 217.9.0.0/16, 217.10.0.0/15, 217.12.0.0/14, 217.16.0.0/12, 217.32.0.0/11, 217.64.0.0/10, 217.128.0.0/11, 217.160.0.0/13, 217.168.0.0/14, 217.172.0.0/15, 217.174.0.0/17, 217.174.128.0/18, 217.174.192.0/19, 217.174.240.0/20, 217.175.0.0/16, 217.176.0.0/12, 217.192.0.0/10, 218.0.0.0/7, 220.0.0.0/6, 224.0.0.0/3""
ALLOWED_IPS="0.0.0.0/3, 32.0.0.0/4, 48.0.0.0/5, 56.0.0.0/8, 57.0.0.0/10, 57.64.0.0/12, 57.80.0.0/13, 57.88.0.0/15, 57.90.0.0/17, 57.90.128.0/20, 57.90.144.0/22, 57.90.148.0/23, 57.90.152.0/21, 57.90.160.0/19, 57.90.192.0/18, 57.91.0.0/16, 57.92.0.0/14, 57.96.0.0/11, 57.128.0.0/9, 58.0.0.0/7, 60.0.0.0/6, 64.0.0.0/5, 72.0.0.0/6, 76.0.0.0/8, 77.0.0.0/10, 77.64.0.0/12, 77.80.0.0/15, 77.82.0.0/16, 77.83.0.0/19, 77.83.32.0/20, 77.83.48.0/21, 77.83.56.0/23, 77.83.58.0/24, 77.83.60.0/22, 77.83.64.0/18, 77.83.128.0/17, 77.84.0.0/14, 77.88.0.0/13, 77.96.0.0/11, 77.128.0.0/9, 78.0.0.0/7, 80.0.0.0/6, 84.0.0.0/8, 85.0.0.0/9, 85.128.0.0/12, 85.144.0.0/13, 85.152.0.0/16, 85.153.0.0/19, 85.153.32.0/21, 85.153.40.0/22, 85.153.44.0/24, 85.153.46.0/23, 85.153.48.0/20, 85.153.64.0/18, 85.153.128.0/17, 85.154.0.0/15, 85.156.0.0/14, 85.160.0.0/11, 85.192.0.0/10, 86.0.0.0/7, 88.0.0.0/7, 90.0.0.0/8, 91.0.0.0/9, 91.128.0.0/10, 91.192.0.0/13, 91.200.0.0/15, 91.202.0.0/17, 91.202.128.0/18, 91.202.192.0/19, 91.202.224.0/21, 91.202.233.0/24, 91.202.234.0/23, 91.202.236.0/22, 91.202.240.0/20, 91.203.0.0/16, 91.204.0.0/14, 91.208.0.0/12, 91.224.0.0/11, 92.0.0.0/8, 93.0.0.0/9, 93.128.0.0/11, 93.160.0.0/13, 93.168.0.0/15, 93.170.0.0/16, 93.171.0.0/17, 93.171.128.0/19, 93.171.160.0/21, 93.171.168.0/22, 93.171.172.0/23, 93.171.175.0/24, 93.171.176.0/20, 93.171.192.0/20, 93.171.208.0/21, 93.171.216.0/22, 93.171.224.0/19, 93.172.0.0/14, 93.176.0.0/12, 93.192.0.0/10, 94.0.0.0/10, 94.64.0.0/11, 94.96.0.0/14, 94.100.0.0/15, 94.102.0.0/17, 94.102.128.0/19, 94.102.160.0/20, 94.102.192.0/18, 94.103.0.0/16, 94.104.0.0/13, 94.112.0.0/12, 94.128.0.0/9, 95.0.0.0/10, 95.64.0.0/12, 95.80.0.0/14, 95.84.0.0/16, 95.85.0.0/18, 95.85.64.0/19, 95.85.128.0/17, 95.86.0.0/15, 95.88.0.0/13, 95.96.0.0/11, 95.128.0.0/9, 96.0.0.0/6, 100.0.0.0/7, 102.0.0.0/8, 103.0.0.0/9, 103.128.0.0/10, 103.192.0.0/12, 103.208.0.0/16, 103.209.0.0/17, 103.209.128.0/18, 103.209.192.0/19, 103.209.224.0/22, 103.209.228.0/23, 103.209.231.0/24, 103.209.232.0/21, 103.209.240.0/20, 103.210.0.0/15, 103.212.0.0/14, 103.216.0.0/14, 103.220.4.0/22, 103.220.8.0/21, 103.220.16.0/20, 103.220.32.0/19, 103.220.64.0/18, 103.220.128.0/17, 103.221.0.0/16, 103.222.0.0/15, 103.224.0.0/11, 104.0.0.0/5, 112.0.0.0/6, 116.0.0.0/7, 118.0.0.0/8, 119.0.0.0/9, 119.128.0.0/10, 119.192.0.0/11, 119.224.0.0/13, 119.232.0.0/15, 119.234.0.0/16, 119.235.0.0/18, 119.235.64.0/19, 119.235.96.0/20, 119.235.128.0/17, 119.236.0.0/14, 119.240.0.0/12, 120.0.0.0/5, 128.0.0.0/4, 144.0.0.0/5, 152.0.0.0/7, 154.0.0.0/12, 154.16.0.0/13, 154.24.0.0/14, 154.28.0.0/15, 154.30.0.0/20, 154.30.16.0/21, 154.30.24.0/22, 154.30.28.0/24, 154.30.30.0/23, 154.30.32.0/19, 154.30.64.0/18, 154.30.128.0/17, 154.31.0.0/16, 154.32.0.0/11, 154.64.0.0/10, 154.128.0.0/9, 155.0.0.0/8, 156.0.0.0/6, 160.0.0.0/4, 176.0.0.0/8, 177.0.0.0/10, 177.64.0.0/12, 177.80.0.0/13, 177.88.0.0/14, 177.92.0.0/16, 177.93.0.0/17, 177.93.128.0/21, 177.93.136.0/22, 177.93.140.0/23, 177.93.142.0/24, 177.93.144.0/20, 177.93.160.0/19, 177.93.192.0/18, 177.94.0.0/15, 177.96.0.0/11, 177.128.0.0/9, 178.0.0.0/9, 178.128.0.0/11, 178.160.0.0/13, 178.168.0.0/15, 178.170.0.0/16, 178.171.0.0/18, 178.171.64.0/23, 178.171.68.0/22, 178.171.72.0/21, 178.171.80.0/20, 178.171.96.0/19, 178.171.128.0/17, 178.172.0.0/14, 178.176.0.0/12, 178.192.0.0/10, 179.0.0.0/8, 180.0.0.0/6, 184.0.0.0/8, 185.0.0.0/10, 185.64.0.0/14, 185.68.0.0/16, 185.69.0.0/17, 185.69.128.0/19, 185.69.160.0/20, 185.69.176.0/21, 185.69.188.0/22, 185.69.192.0/18, 185.70.0.0/15, 185.72.0.0/13, 185.80.0.0/12, 185.96.0.0/11, 185.128.0.0/10, 185.192.0.0/11, 185.224.0.0/12, 185.240.0.0/14, 185.244.0.0/15, 185.246.0.0/18, 185.246.64.0/21, 185.246.76.0/22, 185.246.80.0/20, 185.246.96.0/19, 185.246.128.0/17, 185.247.0.0/16, 185.248.0.0/13, 186.0.0.0/7, 188.0.0.0/6, 192.0.0.0/4, 208.0.0.0/5, 216.0.0.0/9, 216.128.0.0/10, 216.192.0.0/11, 216.224.0.0/12, 216.240.0.0/13, 216.248.0.0/15, 216.250.0.0/21, 216.250.16.0/20, 216.250.32.0/19, 216.250.64.0/18, 216.250.128.0/17, 216.251.0.0/16, 216.252.0.0/14, 217.0.0.0/13, 217.8.0.0/18, 217.8.64.0/19, 217.8.96.0/20, 217.8.112.0/22, 217.8.116.0/24, 217.8.118.0/23, 217.8.120.0/21, 217.8.128.0/17, 217.9.0.0/16, 217.10.0.0/15, 217.12.0.0/14, 217.16.0.0/12, 217.32.0.0/11, 217.64.0.0/10, 217.128.0.0/11, 217.160.0.0/13, 217.168.0.0/14, 217.172.0.0/15, 217.174.0.0/17, 217.174.128.0/18, 217.174.192.0/19, 217.174.240.0/20, 217.175.0.0/16, 217.176.0.0/12, 217.192.0.0/10, 218.0.0.0/7, 220.0.0.0/6, 224.0.0.0/3"
SERVER_AWG_JC=$(shuf -i3-10 -n1)
SERVER_AWG_JMIN=50
SERVER_AWG_JMAX=1000
Expand Down

0 comments on commit d506a70

Please sign in to comment.