{"id":88,"date":"2015-02-16T03:15:00","date_gmt":"2015-02-16T02:15:00","guid":{"rendered":"http:\/\/aziell.de\/main\/?p=88"},"modified":"2017-03-09T18:06:44","modified_gmt":"2017-03-09T17:06:44","slug":"dd-wrt-openvpn-config","status":"publish","type":"post","link":"https:\/\/aziell.de\/?p=88","title":{"rendered":"DD-WRT Openvpn Config"},"content":{"rendered":"<p>management 127.0.0.1 14<br \/>\nmanagement-log-cache 50<\/p>\n<p>port 1194<br \/>\nproto udp<br \/>\ndev tun0<\/p>\n<p>ca \/tmp\/openvpn\/ca.crt<br \/>\ncert \/tmp\/openvpn\/cert.pem<br \/>\nkey \/tmp\/openvpn\/key.pem<br \/>\ndh \/tmp\/openvpn\/dh.pem<br \/>\ntls-auth \/tmp\/openvpn\/ta.key 0<br \/>\nserver 192.168.99.0 255.255.255.0<br \/>\npush &#8222;dhcp-option DNS 8.8.8.8&#8220;<br \/>\npush &#8222;dhcp-option DNS 8.8.4.4&#8220;<br \/>\npush &#8222;route 192.168.0.0 255.255.255.0&#8220;<br \/>\nmax-clients 10<br \/>\npersist-key<br \/>\npersist-tun<br \/>\nscript-security 2<br \/>\nkeepalive 10 120<br \/>\nverb 5<\/p>\n<ul>\n<li>iptables -t nat -A POSTROUTING -s 192.168.99.0\/24 -j MASQUERADE<\/li>\n<li>iptables -I INPUT 1 -p udp &#8211;dport 1194 -j ACCEPT<\/li>\n<li>iptables -I FORWARD 1 &#8211;source 192.168.99.0\/24 -j ACCEPT<\/li>\n<li>iptables -I FORWARD -i br0 -o tun2 -j ACCEPT<\/li>\n<li>iptables -I FORWARD -i tun2 -o br0 -j ACCEPT<\/li>\n<li>iptables -I INPUT -i tun0 -j ACCEPT<\/li>\n<\/ul>\n<p>management 127.0.0.1 14<br \/>\nmanagement-log-cache 50<\/p>\n<p>port 443<br \/>\nproto tcp<br \/>\ndev tun0<\/p>\n<p>ca \/tmp\/openvpn\/ca.crt<br \/>\ncert \/tmp\/openvpn\/cert.pem<br \/>\nkey \/tmp\/openvpn\/key.pem<br \/>\ndh \/tmp\/openvpn\/dh.pem<br \/>\ntls-auth \/tmp\/openvpn\/ta.key 0<br \/>\nserver 192.168.99.0 255.255.255.0<br \/>\npush &#8222;dhcp-option DNS 8.8.8.8&#8220;<br \/>\npush &#8222;dhcp-option DNS 8.8.4.4&#8220;<br \/>\npush &#8222;route 192.168.0.0 255.255.255.0&#8220;<br \/>\nmax-clients 10<br \/>\npersist-key<br \/>\npersist-tun<br \/>\nclient-to-client<br \/>\nduplicate-cn<br \/>\nscript-security 2<br \/>\nkeepalive 10 120<br \/>\nverb 3<\/p>\n","protected":false},"excerpt":{"rendered":"management 127.0.0.1 14 management-log-cache 50 port 1194 proto udp dev tun0 ca \/tmp\/openvpn\/ca.crt cert \/tmp\/openvpn\/cert.pem key \/tmp\/openvpn\/key.pem dh \/tmp\/openvpn\/dh.pem tls-auth \/tmp\/openvpn\/ta.key 0 server 192.168.99.0 255.255.255.0 push &#8222;dhcp-option DNS 8.8.8.8&#8220; push &#8222;dhcp-option DNS 8.8.4.4&#8220; push &#8222;route 192.168.0.0 255.255.255.0&#8220; max-clients 10 persist-key persist-tun script-security 2 keepalive 10 120 verb 5 iptables -t nat -A POSTROUTING -s 192.168.99.0\/24&#8230; <a class=\"view-article\" href=\"https:\/\/aziell.de\/?p=88\">Artikel ansehen<\/a>","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","_links_to":"","_links_to_target":""},"categories":[4],"tags":[],"class_list":["post-88","post","type-post","status-publish","format-standard","hentry","category-linux-co"],"_links":{"self":[{"href":"https:\/\/aziell.de\/index.php?rest_route=\/wp\/v2\/posts\/88","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aziell.de\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/aziell.de\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/aziell.de\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/aziell.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=88"}],"version-history":[{"count":1,"href":"https:\/\/aziell.de\/index.php?rest_route=\/wp\/v2\/posts\/88\/revisions"}],"predecessor-version":[{"id":281,"href":"https:\/\/aziell.de\/index.php?rest_route=\/wp\/v2\/posts\/88\/revisions\/281"}],"wp:attachment":[{"href":"https:\/\/aziell.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=88"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aziell.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=88"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aziell.de\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=88"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}