User Tools

Site Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
VPN:DD-WRT:OpenVPN [2017/08/11 12:01]
streamvia [Firewall NAT Config]
VPN:DD-WRT:OpenVPN [2019/11/22 07:45] (current)
Line 1: Line 1:
 ====== DD-WRT - OpenVPN ====== ====== DD-WRT - OpenVPN ======
 \\ \\
-{{ :​red-arrow.png}} 
 Here you can find setup information for your chosen VPN and also how to fix any problems you might encounter. ​ Here you can find setup information for your chosen VPN and also how to fix any problems you might encounter. ​
 \\ \\
Line 46: Line 45:
 **__//Step 1//__** **__//Step 1//__**
 \\ \\
-Download the OpenVPN script you wish to use, we would recommend you first install OpenVPN on a computer to determine the connection that is best for you to use.+Download the OpenVPN script you wish to use, we would recommend you first install OpenVPN on a computer to determine the connection that is best for you to use.  Please note, these scripts require a current version of DD-WRT with OpenVPN 2.4, if you're running on older release please email us for compatible scripts.
 \\ \\
 \\ \\
 <box 90% round orange> <box 90% round orange>
 \\ \\
-<WRAP centeralign>​[[https://​www.streamvia.com/​dl.php?​type=d&​id=31|DD-WRT OpenVPN Option 1 (UDP) Script]]</​WRAP></​box>​+<WRAP centeralign>​[[https://​www.streamvia.com/​apps/​StreamVia_DDWRT_Option_1_UDP.zip|DD-WRT OpenVPN Option 1 (UDP) Script]]</​WRAP></​box>​
 <box 90% round orange> <box 90% round orange>
 \\ \\
-<WRAP centeralign>​[[https://​www.streamvia.com/​dl.php?​type=d&​id=34|DD-WRT OpenVPN Option 2 (TCP) Script]]</​WRAP></​box>​+<WRAP centeralign>​[[https://​www.streamvia.com/​apps/​StreamVia_DDWRT_Option_2_TCP.zip|DD-WRT OpenVPN Option 2 (TCP) Script]]</​WRAP></​box>​
 \\ \\
 \\ \\
Line 65: Line 64:
 <box 90% round orange> <box 90% round orange>
 \\ \\
-<WRAP centeralign>​[[https://​www.streamvia.com/​knowledgebase/​45/​VPN-Servers|View All StreamVia Server Addresses]]</​WRAP></​box>​+<WRAP centeralign>​[[https://​www.streamvia.com/clientarea/​knowledgebase/​45/​VPN-Servers|View All StreamVia Server Addresses]]</​WRAP></​box>​
 \\ \\
 \\ \\
Line 76: Line 75:
 <box 90% round green> <box 90% round green>
 \\ \\
-**<WRAP centeralign>​[[https://​www.streamvia.com/​clientarea.php?​action=products|If you do not know your VPN password click here to retrieve it]]</​WRAP>​**</​box>​+**<WRAP centeralign>​[[https://​www.streamvia.com/clientarea/​clientarea.php?​action=products|If you do not know your VPN password click here to retrieve it]]</​WRAP>​**</​box>​
 \\ \\
 \\ \\
Line 125: Line 124:
 iptables -t nat -I POSTROUTING -o tun0 -j MASQUERADE iptables -t nat -I POSTROUTING -o tun0 -j MASQUERADE
 iptables -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu ​ iptables -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu ​
-iptables -I PREROUTING -t nat -p udp --dport 53 -j DNAT --to-destination ​8.8.8.8 +iptables -I PREROUTING -t nat -p udp --dport 53 -j DNAT --to-destination ​1.1.1.1 
-iptables -I PREROUTING -t nat -p tcp --dport 53 -j DNAT --to-destination ​8.8.8.8+iptables -I PREROUTING -t nat -p tcp --dport 53 -j DNAT --to-destination ​1.1.1.1
 </​code>​ </​code>​
 \\ \\
Line 177: Line 176:
 ===== Other Information ===== ===== Other Information =====
 {{page>​templates:​openvpn:​otherinformation#​Poor Performance&​noindent&​nopermalink&​nodate&​nouser&​nofooter}} {{page>​templates:​openvpn:​otherinformation#​Poor Performance&​noindent&​nopermalink&​nodate&​nouser&​nofooter}}
 +