Talk:Setting up a OpenVPN server: Difference between revisions

From Alpine Linux
(→‎shortcut: new section)
Line 7: Line 7:
Go through the "Setting up Alpine" down to "Certificates"
Go through the "Setting up Alpine" down to "Certificates"


Then "wget https://raw.githubusercontent.com/captainwasabi/openvpn-install/master/openvpn-install.sh"
Then  


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


Follow the prompts.
Follow the prompts.


Enjoy
Enjoy

Revision as of 22:29, 10 June 2019

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