User Tools

Site Tools


This is an old revision of the document!


DD-WRT - SmartVPN


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.




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.




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 AdministrationCommands


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.

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




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.




Step 7
Navigate to the AdministrationCommands


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.







Page Tools