Skip to content

Hide My Ass

Alex Flores edited this page Apr 7, 2018 · 3 revisions

Fetch all the HMA ovpn files

cd VPN
wget https://vpn.hidemyass.com/vpn-config/vpn-configs.zip

IPv6 and Docker don't play well together. To disable IPv6 with HMA, append the following two lines to each *.ovpn file you want to use.

pull-filter ignore "ifconfig-ipv6"
pull-filter ignore "route-ipv6"

Or use this script

for file in *.ovpn; do
  echo 'pull-filter ignore "ifconfig-ipv6"' >> $file
  echo 'pull-filter ignore "route-ipv6"' >> $file
done

You may also need to specify that your connection protocol use IPv4 by changing:

udp -> udp4
# or
tcp -> tcp4

Use the following to do it all in one go:

sed -i 's/proto udp$/proto udp4/' *.ovpn
# or
sed -i 's/proto tcp$/proto tcp4/' *.ovpn
Clone this wiki locally