summaryrefslogtreecommitdiff
path: root/scripts/run-openvpn-client.sh
diff options
context:
space:
mode:
authorAnjan Nath <kaludios@gmail.com>2022-05-22 00:59:24 +0530
committeratanarjuat <atanarjuat@example.com>2022-05-22 22:43:40 +0200
commit3c127453800e95f0c76234c1f0f836375ed73b99 (patch)
treeda93319f2ddd22c9dd6bbed26e20b6c42d803180 /scripts/run-openvpn-client.sh
parent1f9ed53a62b6d282f9e6ec01d165aafb6d507f6c (diff)
clarify requirement of obfsvpn endpoint port for openvpn remote
this also introduces OBFS4_ENDPOINT_PORT and renames OBFS4_ENDPOINT to OBFS4_ENDPOINT_PORT and updates the script 'run-openvpn.sh' to use these
Diffstat (limited to 'scripts/run-openvpn-client.sh')
-rwxr-xr-xscripts/run-openvpn-client.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/run-openvpn-client.sh b/scripts/run-openvpn-client.sh
index a70fcdc..d5be78f 100755
--- a/scripts/run-openvpn-client.sh
+++ b/scripts/run-openvpn-client.sh
@@ -12,5 +12,5 @@ sudo openvpn \
--pull-filter ignore ifconfig-ipv6 \
--pull-filter ignore route-ipv6 \
--socks-proxy 127.0.0.1 8080 \
- --remote $OBFS4_ENDPOINT 443 \
+ --remote $OBFS4_ENDPOINT_IP $OBFS4_ENDPOINT_PORT \
--route $OBFS4_ENDPOINT 255.255.255.255 net_gateway