Talk:Setting up a OpenVPN server: Difference between revisions
Terrorbyte (talk | contribs) (iptables rule?) |
m (Unsigned comment attribution.) |
||
(2 intermediate revisions by one other 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> | ||
<small><span class="autosigned">— Preceding [[Help:Signature|unsigned]] comment added by [[User:Terrorbyte|Terrorbyte]] ([[User talk:Terrorbyte|{{int:talkpagelinktext}}]] • [[Special:Contributions/Terrorbyte|{{int:contribslink}}]]) 08:59, 13 June 2015</span></small> | |||
== 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 | |||
<small><span class="autosigned">— Preceding [[Help:Signature|unsigned]] comment added by [[User:18:29, 10 June 2019 Captainwasabi|18:29, 10 June 2019 Captainwasabi]] ([[User talk:18:29, 10 June 2019 Captainwasabi|{{int:talkpagelinktext}}]] • [[Special:Contributions/18:29, 10 June 2019 Captainwasabi|{{int:contribslink}}]]) </span></small> |
Latest revision as of 03:50, 14 August 2023
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
— Preceding unsigned comment added by Terrorbyte (talk • contribs) 08:59, 13 June 2015
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
— Preceding unsigned comment added by 18:29, 10 June 2019 Captainwasabi (talk • contribs)