{"id":217,"date":"2013-05-27T11:40:40","date_gmt":"2013-05-27T15:40:40","guid":{"rendered":"http:\/\/alpharesearch.de\/?p=217"},"modified":"2013-05-27T11:44:54","modified_gmt":"2013-05-27T15:44:54","slug":"dd-wrt-openvpn-setup-for-firmware-dd-wrt-v24-sp2-032513-mega","status":"publish","type":"post","link":"https:\/\/alpharesearch.de\/?p=217","title":{"rendered":"DD WRT OPENVPN setup for Firmware: DD-WRT v24-sp2 (03\/25\/13) mega"},"content":{"rendered":"<p>This is how I configured OPEN VPN on my DD WRT router:<\/p>\n<p><a href=\"http:\/\/openvpn.net\/index.php\/open-source\/documentation\/howto.html#pki\">All the key generation tutorials are still good,<\/a> but with the new firmware most of the settings are now in GUI:<\/p>\n<p><div id='gallery-1' class='gallery galleryid-217 gallery-columns-3 gallery-size-thumbnail'><figure class='gallery-item'>\n\t\t\t<div class='gallery-icon portrait'>\n\t\t\t\t<a href='https:\/\/alpharesearch.de\/?attachment_id=222'><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/alpharesearch.de\/wp-content\/uploads\/2013\/05\/Screenshot-1-150x150.png\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" \/><\/a>\n\t\t\t<\/div><\/figure><figure class='gallery-item'>\n\t\t\t<div class='gallery-icon landscape'>\n\t\t\t\t<a href='https:\/\/alpharesearch.de\/?attachment_id=223'><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/alpharesearch.de\/wp-content\/uploads\/2013\/05\/Screenshot-2-150x150.png\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" \/><\/a>\n\t\t\t<\/div><\/figure><figure class='gallery-item'>\n\t\t\t<div class='gallery-icon portrait'>\n\t\t\t\t<a href='https:\/\/alpharesearch.de\/?attachment_id=224'><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/alpharesearch.de\/wp-content\/uploads\/2013\/05\/Screenshot-3-150x150.png\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" \/><\/a>\n\t\t\t<\/div><\/figure><figure class='gallery-item'>\n\t\t\t<div class='gallery-icon portrait'>\n\t\t\t\t<a href='https:\/\/alpharesearch.de\/?attachment_id=225'><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/alpharesearch.de\/wp-content\/uploads\/2013\/05\/Screenshot-4-150x150.png\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" \/><\/a>\n\t\t\t<\/div><\/figure><figure class='gallery-item'>\n\t\t\t<div class='gallery-icon landscape'>\n\t\t\t\t<a href='https:\/\/alpharesearch.de\/?attachment_id=226'><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/alpharesearch.de\/wp-content\/uploads\/2013\/05\/Screenshot-6-150x150.png\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" \/><\/a>\n\t\t\t<\/div><\/figure>\n\t\t<\/div>\n<br \/>\nInternal local IP range: 192.168.0.0\/24<br \/>\nVPN IP range 192.168.66.0\/24<\/p>\n<p>DNS extra settings:<br \/>\n<code>interface=tun2<\/code><\/p>\n<p>settings<br \/>\n<code><br \/>\npush \"route 192.168.0.0 255.255.255.0\"<br \/>\npush \"dhcp-option DNS 192.168.66.1\"<br \/>\npush \"comp-lzo no\"<br \/>\n<\/code><\/p>\n<p>fire wall rules:<br \/>\n<code><br \/>\niptables -I INPUT 1 -p udp --dport 1194 -j ACCEPT<br \/>\niptables -I FORWARD 1 --source 192.168.66.0\/24 -j ACCEPT<br \/>\niptables -I FORWARD -i br0 -o tun2 -j ACCEPT<br \/>\niptables -I FORWARD -i tun2 -o br0 -j ACCEPT<br \/>\niptables -t nat -A POSTROUTING -s 192.168.66.0\/24 -j MASQUERADE<br \/>\n<\/code><\/p>\n<p>Client File, like client1.ovpn:<br \/>\n<code><br \/>\nremote xxx.dyndns.org 1194<br \/>\nclient<br \/>\nremote-cert-tls server<br \/>\ndev tun0<br \/>\nproto udp<br \/>\nresolv-retry infinite<br \/>\nnobind<br \/>\npersist-key<br \/>\npersist-tun<br \/>\nfloat<\/code><\/p>\n<p><code>-----BEGIN CERTIFICATE-----<br \/>\nSECRET blablabla<br \/>\n-----END CERTIFICATE-----<\/code><\/p>\n<p><code>-----BEGIN CERTIFICATE-----<br \/>\nSECRET blablabla<br \/>\n-----END CERTIFICATE-----<\/code><\/p>\n<p><code>-----BEGIN PRIVATE KEY-----<br \/>\nSECRET blablabla<br \/>\n-----END PRIVATE KEY-----<\/code><\/p>\n<p><code> <\/code><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is how I configured OPEN VPN on my DD WRT router: All the key generation tutorials are still good, but with the new firmware most of the settings are now in GUI: Internal local IP range: 192.168.0.0\/24 VPN IP range 192.168.66.0\/24 DNS extra settings: interface=tun2 settings push &#8220;route 192.168.0.0 255.255.255.0&#8221; push &#8220;dhcp-option DNS 192.168.66.1&#8221; &hellip; <a href=\"https:\/\/alpharesearch.de\/?p=217\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">DD WRT OPENVPN setup for Firmware: DD-WRT v24-sp2 (03\/25\/13) mega<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[5,1],"tags":[],"class_list":["post-217","post","type-post","status-publish","format-standard","hentry","category-open-source","category-uncategorized"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/alpharesearch.de\/index.php?rest_route=\/wp\/v2\/posts\/217","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/alpharesearch.de\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/alpharesearch.de\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/alpharesearch.de\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/alpharesearch.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=217"}],"version-history":[{"count":13,"href":"https:\/\/alpharesearch.de\/index.php?rest_route=\/wp\/v2\/posts\/217\/revisions"}],"predecessor-version":[{"id":235,"href":"https:\/\/alpharesearch.de\/index.php?rest_route=\/wp\/v2\/posts\/217\/revisions\/235"}],"wp:attachment":[{"href":"https:\/\/alpharesearch.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=217"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/alpharesearch.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=217"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/alpharesearch.de\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=217"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}