{"id":14,"date":"2019-04-14T08:51:00","date_gmt":"2019-04-14T08:51:00","guid":{"rendered":"https:\/\/www.gahome.net\/?p=14"},"modified":"2023-05-17T14:45:46","modified_gmt":"2023-05-17T14:45:46","slug":"vpnfailsafe-ethernet-interfaces-and-openvpn","status":"publish","type":"post","link":"https:\/\/www.gahome.net\/index.php\/2019\/04\/14\/vpnfailsafe-ethernet-interfaces-and-openvpn\/","title":{"rendered":"VpnFailSafe, Ethernet Interfaces and OpenVPN"},"content":{"rendered":"\n<p>I recently moved my virtual vpn router to another machine, with the result that the ethernet interface changed. Everything was connecting, but vpnfailsafe kept kicking everything off.<\/p>\n\n\n\n<!--more-->\n\n\n\n<p>What the heck!<\/p>\n\n\n\n<p>After much trial and error, I found the culprit:<\/p>\n\n\n\n<p>\/etc\/iptables\/iptables.rules<\/p>\n\n\n\n<p>In there are a LOT of rules from vpnfailsafe that point to the old ethernet interface, which was causing the ruckus.<\/p>\n\n\n\n<p>Easy to solve, however. Using nano, open the file, and use the find \/ replace key combo (CTRL &#8211; \\). It will ask for the find string, then the replace string, and then ask what you want to replace (I used &#8220;a&#8221; for all).<\/p>\n\n\n\n<p>Let me add, all this is provided as a means for me to remember and document changes to my systems. Follow at your own risk.<\/p>\n\n\n\n<p>Cheers<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I recently moved my virtual vpn router to another machine, with the result that the ethernet interface changed. Everything was connecting, but vpnfailsafe kept kicking everything off.<\/p>\n","protected":false},"author":1,"featured_media":27,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-14","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.gahome.net\/index.php\/wp-json\/wp\/v2\/posts\/14","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.gahome.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.gahome.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.gahome.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.gahome.net\/index.php\/wp-json\/wp\/v2\/comments?post=14"}],"version-history":[{"count":2,"href":"https:\/\/www.gahome.net\/index.php\/wp-json\/wp\/v2\/posts\/14\/revisions"}],"predecessor-version":[{"id":36,"href":"https:\/\/www.gahome.net\/index.php\/wp-json\/wp\/v2\/posts\/14\/revisions\/36"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.gahome.net\/index.php\/wp-json\/wp\/v2\/media\/27"}],"wp:attachment":[{"href":"https:\/\/www.gahome.net\/index.php\/wp-json\/wp\/v2\/media?parent=14"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.gahome.net\/index.php\/wp-json\/wp\/v2\/categories?post=14"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.gahome.net\/index.php\/wp-json\/wp\/v2\/tags?post=14"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}