VPN-Tunnel mit DD-WRT (OpenVPN)

Page 1

DD-WRT WITH vpntunnel.se (OpenVPN) This installation guide will describe how you setup OpenVPN with a dd-wrt router, we will use ddwrtv24-sp2. First, you need to have a dd-wrt router successfully installed and with a working internet connection. Step 1: Enable OpenVPN Login to the webinterface (usally http://192.168.0.1)

Go to: Services and then VPN

1.a: download the ca.crt from vpntunnel.se controllpanel, Open the ca.crt and copy the text to the “CA Cert” text box in dd-wrt webinterface.

VPNtunnel.se

Anonymous internet


1.b: Enter the Configuration to the “OpenVPN Config” in the dd-wrt webinterface. Config: “client dev tap proto udp nobind tls-client ca /tmp/ca.crt ns-cert-type server push "dhcp-option DNS 80.67.0.2" push "dhcp-option DNS 91.213.246.2" auth-user-pass /tmp/passwd.txt remote-random remote melissa.vpntunnel.se 1194 remote melissa.vpntunnel.se 10010 remote melissa.vpntunnel.se 10020 persist-key persist-tun comp-lzo verb 3”

Save and apply settings

VPNtunnel.se

Anonymous internet


Step 2: save username and password for auto-login. Enter “echo “USERNAME >> /tmp/passwd.txt” run the command. Enter “echo “PASSWORD >> /tmp/passwd.txt”” run the command.

VPNtunnel.se

Anonymous internet


Step3: Enter Firewall rules. Enter the following lines to the Command shell and then click on “Run Commands” iptables -I FORWARD -i br0 -o tap0 -j ACCEPT iptables -I FORWARD -i tap0 -o br0 -j ACCEPT iptables -I INPUT -i tap0 -j REJECT iptables -t nat -A POSTROUTING -o tap0 -j MASQUERADE

If you have problem reaching any webpages, try change your dns settings: Nameserver: 80.67.0.2 Nameserver: 91.213.246.2

VPNtunnel.se

Anonymous internet


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.