Talk:Setting up a OpenVPN server

From Alpine Linux
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

With the default configuration set up in this how too I also believe that you need to put in a NAT table rule for masquerade like so:

iptables -t nat -I POSTROUTING -o eth0 -j MASQUERADE

shortcut

Go through the "Setting up Alpine" down to "Certificates"

Then

   wget https://raw.githubusercontent.com/captainwasabi/openvpn-install/master/openvpn-install.sh
   apk add bash
   bash openvpn-install.sh

Follow the prompts.

Enjoy