{"id":118,"date":"2010-12-22T15:23:31","date_gmt":"2010-12-22T14:23:31","guid":{"rendered":"http:\/\/www.idoru.be\/notes\/?p=118"},"modified":"2010-12-22T15:23:31","modified_gmt":"2010-12-22T14:23:31","slug":"building-a-transparent-bridge-on-openbsd","status":"publish","type":"post","link":"http:\/\/www.idoru.be\/notes\/building-a-transparent-bridge-on-openbsd\/","title":{"rendered":"building a transparent bridge on OpenBSD"},"content":{"rendered":"<ol>\n<li>get three network cards, two for the bridge, mine are re0, em0 &amp; em1 (re0 = admin connection to serve sshd)<\/li>\n<li>echo &#8216;dhcp&#8217; &gt; \/etc\/hostname.re0<\/li>\n<li>echo &#8216;up&#8217; &gt; \/etc\/hostname.em0<\/li>\n<li>echo &#8216;up&#8217; &gt; \/etc\/hostname.em1<\/li>\n<li>echo\u00a0 &#8216;add em0&#8217;\u00a0 &gt; \/etc\/hostname.bridge0<\/li>\n<li>echo &#8216;add em1&#8217; &gt;&gt; \/etc\/hostname.bridge0<\/li>\n<li>echo &#8216;blocknonip em0&#8217; &gt;&gt; \/etc\/hostname.bridge0<\/li>\n<li>echo &#8216;blocknonip em1&#8217; &gt;&gt; \/etc\/hostname.bridge0<\/li>\n<li>echo &#8216;up&#8217; &gt;&gt; \/etc\/hostname.bridge0<\/li>\n<li>vi \/etc\/sysctl.conf<\/li>\n<\/ol>\n<p style=\"padding-left: 60px;\">=&gt; uncomment &#8220;#net.inet.ip.forwarding=1&#8221;<\/p>\n<p style=\"padding-left: 60px;\" \n\n","protected":false},"excerpt":{"rendered":"<p>get three network cards, two for the bridge, mine are re0, em0 &amp; em1 (re0 = admin connection to serve sshd) echo &#8216;dhcp&#8217; &gt; \/etc\/hostname.re0 echo &#8216;up&#8217; &gt; \/etc\/hostname.em0 echo &#8216;up&#8217; &gt; \/etc\/hostname.em1 echo\u00a0 &#8216;add em0&#8217;\u00a0 &gt; \/etc\/hostname.bridge0 echo &#8216;add em1&#8217; &gt;&gt; \/etc\/hostname.bridge0 echo &#8216;blocknonip em0&#8217; &gt;&gt; \/etc\/hostname.bridge0 echo &#8216;blocknonip em1&#8217; &gt;&gt; \/etc\/hostname.bridge0 echo &#8216;up&#8217; [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,9],"tags":[],"class_list":["post-118","post","type-post","status-publish","format-standard","hentry","category-howto","category-unixlinuxbsd"],"_links":{"self":[{"href":"http:\/\/www.idoru.be\/notes\/wp-json\/wp\/v2\/posts\/118","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.idoru.be\/notes\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.idoru.be\/notes\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.idoru.be\/notes\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.idoru.be\/notes\/wp-json\/wp\/v2\/comments?post=118"}],"version-history":[{"count":1,"href":"http:\/\/www.idoru.be\/notes\/wp-json\/wp\/v2\/posts\/118\/revisions"}],"predecessor-version":[{"id":119,"href":"http:\/\/www.idoru.be\/notes\/wp-json\/wp\/v2\/posts\/118\/revisions\/119"}],"wp:attachment":[{"href":"http:\/\/www.idoru.be\/notes\/wp-json\/wp\/v2\/media?parent=118"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.idoru.be\/notes\/wp-json\/wp\/v2\/categories?post=118"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.idoru.be\/notes\/wp-json\/wp\/v2\/tags?post=118"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}