Talk:Setting up a OpenVPN server: Difference between revisions

From Alpine Linux
(iptables rule?)
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:


  <nowiki>iptables -t nat -I POSTROUTING -o eth0 -j MASQUERADE</nowiki>
  <nowiki>iptables -t nat -I POSTROUTING -o eth0 -j MASQUERADE</nowiki>
== 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

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