User Tools

Site Tools


Differences

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

Link to this comparison view

SmartStream:Guides:DD-WRT_SmartVPN [2016/05/25 14:43]
streamvia
SmartStream:Guides:DD-WRT_SmartVPN [2019/06/18 20:30]
Line 1: Line 1:
-====== DD-WRT - SmartVPN ====== 
-\\ 
-{{ :​red-arrow.png}} 
-Here you can find SmartVPN setup information for your DD-WRT router, this is a combination on our SmartStream and VPN services. ​ Sites that can use SmartStream only, do so, but also those sites that also require some aspects to be rerouted via a VPN. 
-\\ 
-\\ 
-You can use the Table of Contents on the right hand side of this window to navigate between the different sections. 
-\\ 
-\\ 
----- 
-===== OpenVPN Test - Required ===== 
-\\ 
-**__//Step 1//__** 
-\\ 
-Go to **//​Administration//​**,​ then **//​Commands//​** 
-\\ 
-\\ 
-\\ 
-**__//Step 2//__** 
-\\ 
-Enter **//which openvpn//** in the box 
-\\ 
-\\ 
-\\ 
-**__//Step 3//__** 
-\\ 
-Click the **//Execute command//** button 
-\\ 
-\\ 
-\\ 
-**__//Step 4//__** 
-\\ 
- ​Verify that you receive a path for OpenVPN, such as **/​usr/​sbin/​openvpn** 
-\\ 
-\\ 
-\\ 
-**__//Step 5//__** 
-\\ 
-If you do not receive a path for OpenVPN your current firmware does not have OpenVPN included, you need to upgrade to either the VPN or Mega DD-WRT firmware, if the device flash etc allows. ​ Please consult the DD-WRT website for further information. ​ It is NOT possible to use another VPN type, OpenVPN IS required. 
-\\ 
-\\ 
-\\ 
-\\ 
------ 
-===== Install Guide ===== 
-\\ 
-**__//Step 1//__** 
-\\ 
-Choose the closest SmartStream DNS server to your current location using the below list, you will need this later. 
-\\ 
-\\ 
-<box 90% round orange> 
-\\ 
-<WRAP centeralign>​[[https://​www.streamvia.com/​knowledgebase/​46/​SmartStream|View All SmartStream DNS Servers]]</​WRAP></​box>​ 
-\\ 
-\\ 
-\\ 
-**__//Step 2//__** 
-\\ 
-Retrieve your VPN username and password, if you are a new member this is contained in the **StreamVia Account Information** email you received after ordering. 
-\\ 
-\\ 
-<box 90% round green> 
-\\ 
-<WRAP centeralign>​**[[https://​www.streamvia.com/​clientarea.php?​action=products|Existing member or cannot find the email? Click here to retrieve your VPN password]]**</​WRAP></​box>​ 
-\\ 
-\\ 
-\\ 
-**__//Step 3//__** 
-\\ 
-Sign into the administration screen of the router, by putting the IP address into a web browser, the default is usually http://​192.168.1.1 
-\\ 
-\\ 
-\\ 
-**__//Step 4//__** 
-\\ 
-Navigate to the **//​Administration//​** -> **//​Commands//​** 
-\\ 
-\\ 
-\\ 
-**__//Step 5//__** 
-\\ 
-Paste the below into the box, changing **SMARTSTREAMDNSSERVER** to the SmartStream DNS server IP address you retrieved in 'Step 1' of this guide, then click **//Save Firewall//​**. ​ The router may restart. 
-\\ 
-<​code>​ 
-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 -I PREROUTING -t nat -p udp --dport 53 -j DNAT --to-destination SMARTSTREAMDNSSERVER 
-iptables -I PREROUTING -t nat -p tcp --dport 53 -j DNAT --to-destination SMARTSTREAMDNSSERVER 
-</​code>​ 
-\\ 
-\\ 
-\\ 
-**__//Step 6//__** 
-\\ 
-Now, we need to configure the SmartVPN this is required to reroute some aspects that cannot be rerouted via the DNS alone. ​ Download one of the below VPN configuration files, we recommend using the '​UDP'​ option. ​ Open the file in any text editor, Notepad, Text Editor, Wordpad, etc. 
-\\ 
-\\ 
-<box 90% round orange> 
-\\ 
-<WRAP centeralign>​[[https://​www.streamvia.com/​dl.php?​type=d&​id=77|DD-WRT OpenVPN SmartVPN (UDP)]]</​WRAP></​box>​ 
-<box 90% round orange> 
-\\ 
-<WRAP centeralign>​[[https://​www.streamvia.com/​dl.php?​type=d&​id=78|DD-WRT OpenVPN SmartVPN (TCP)]]</​WRAP></​box>​ 
-\\ 
-\\ 
-\\ 
-**__//Step 7//__** 
-\\ 
-Navigate to the **//​Administration//​** -> **//​Commands//​** 
-\\ 
-\\ 
-\\ 
-**__//Step 8//__** 
-\\ 
-Copy and Paste the ENTIRE contents of the SmartVPN configuration text file, that you opened in Step 6, into the Commands box on the DD-WRT router 
-\\ 
-\\ 
-\\ 
-**__//Step 9//__** 
-\\ 
-Click **//Save Startup//** 
-\\ 
-\\ 
-\\ 
-**__//Step 10//__** 
-\\ 
-If the DD-WRT router does not restart on its own, manually restart it, followed by any devices you will be using our service on. 
-\\ 
-\\ 
-\\ 
-**__//Step 11//__** 
-\\ 
-Once the router has restarted, Using the below link to sign in to SmartStream using your VPN username and password, this will activate SmartStream for your current broadband IP address and also allow the SmartVPN to connect. ​ It is recommended you do this from a computer. 
-\\ 
-\\ 
-Should your broadband connection IP address change (if your router restarts or your ISP resets your connection) you will need to repeat this step of signing in, to update our systems. 
-\\ 
-\\ 
-<box 90% round orange> 
-\\ 
-<WRAP centeralign>​[[https://​smartstream.streamvia.com|Sign in to SmartStream]]</​WRAP></​box>​ 
-\\ 
-\\ 
-\\ 
-\\ 
------