{"id":81,"date":"2025-07-27T13:02:57","date_gmt":"2025-07-27T10:02:57","guid":{"rendered":"http:\/\/192.168.40.2\/?p=81"},"modified":"2025-07-27T13:02:57","modified_gmt":"2025-07-27T10:02:57","slug":"how-to-create-an-l2-bridge-using-netplan-install-zenarmor-on-ubuntu-22-04","status":"publish","type":"post","link":"https:\/\/allogman.com\/?p=81","title":{"rendered":"How to create an L2 bridge using Netplan &#038; install Zenarmor on Ubuntu 22.04"},"content":{"rendered":"\n<p><a href=\"https:\/\/www.youtube.com\/@ls111cyberEd\">https:\/\/www.youtube.com\/@ls111cyberEd<\/a><a href=\"https:\/\/www.youtube.com\/@ls111cyberEd\"><\/a><\/p>\n\n\n\n<p>NOTE: This video is sponsored by Sunny Valley Networks and I do receive a small percentage back for every referral that signs up using the link, which gets put towards my Zenarmor subscription. Welcome to my channel! In this video, I am going to firstly show you how to bridge two network interfaces in Ubuntu 22.04 and secondly how we can use Zenarmor to inspect and filter traffic traversing the bridge by configuring Zenarmor in a Layer 2 bridge mode. By the end of this video, you will not only know how to create L2 network bridges but will also have knowledge of how to use Zenarmor as a secure web gateway or SWG which is an important and versatile deployment option for MSPs and businesses or anyone else for that matter who does not want or is unable to deploy Zenarmor on OPNSense but still wants to benefit from the next-generation firewall capabilities Zenarmor has to offer. Commands used in the video: sudo nano 00-installer-config.yaml bridges: br0: dhcp4: true interfaces:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>enp0s8<\/li>\n\n\n\n<li>enp0s3<\/li>\n<\/ul>\n\n\n\n<p>sudo netplan apply curl <a href=\"https:\/\/www.youtube.com\/redirect?event=video_description&amp;redir_token=QUFFLUhqbjk2Vzh6UE5xNVlxMUtFV3hDejhuVEc3bzAtZ3xBQ3Jtc0trdzVzTUZXX0RuQWV6eUYtV2NwbTVndzZybUd4MW02cjBMZ0FjWG1XTE5UNDUwbE9ZUlVmNThBM2I2UlhnaUpFNlNCWWEtOERLeFRmQUQtaDJSeWhxU2NsSlRsV1BRNDZpVlFnaHRXU29ONnZ6UklXUQ&amp;q=https%3A%2F%2Fupdates.sunnyvalley.io%2Fgetzenarmor&amp;v=lLEfYIitXfA\" rel=\"noreferrer noopener\" target=\"_blank\">https:\/\/updates.sunnyvalley.io\/getzen&#8230;<\/a> | sudo sh sudo zenarmorctl cloud register P.S. Please don&#8217;t forget to like and subscribe! \ud83d\udd17Sign up link: <a href=\"https:\/\/www.youtube.com\/redirect?event=video_description&amp;redir_token=QUFFLUhqbG04Nkx0SVdhVXAyVTMzMEQwNG1EQUNzYlVhd3xBQ3Jtc0tuMHl2ZmNWN3NXeUlLSUN4LUNvTUJUdm9neHdMaXZkVFM5eXZwMTREMVc5LTFzX25ibGxxeUNGQnc1c1BCTUF2NXYzZTNuY19WZGZPcUpueXpDdW12YkFVQkZtZmJ5NTAwbGRDWUNoOHhsMUlOVk1ZQQ&amp;q=https%3A%2F%2Fsunnyvalley.cloud%2F%3Fr%3DSVNRUZSU4GWKM%F0%9F%94%97&amp;v=lLEfYIitXfA\" rel=\"noreferrer noopener\" target=\"_blank\">https:\/\/sunnyvalley.cloud\/?r=SVNRUZSU&#8230;<\/a> Links used in the video: Zenarmor Playlist: <a href=\"https:\/\/www.youtube.com\/watch?v=uQbcwu-f9B0&amp;list=PLjjkJroii8DBncj2GslqDE9XiHj12klE0&amp;index=1\">&nbsp;&nbsp;&nbsp;\u2022&nbsp;Improve&nbsp;your&nbsp;cyber&nbsp;security&nbsp;using&nbsp;Zenarmor&#8230;&nbsp;&nbsp;<\/a> DISCLAIMER: All information, techniques, and tools showcased in these videos are for educational and ethical penetration testing purposes ONLY. NEVER attempt to use this information to gain unauthorized access to systems without the EXPLICIT consent of its owners. This is a punishable offense by law in most countries. <a href=\"https:\/\/www.youtube.com\/hashtag\/zenarmor\">#zenarmor<\/a><a href=\"https:\/\/www.youtube.com\/hashtag\/layer2bridge\">#layer2bridge<\/a><a href=\"https:\/\/www.youtube.com\/hashtag\/ngfw\">#ngfw<\/a><\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"How to create an L2 bridge using Netplan &amp; install Zenarmor on Ubuntu 22.04\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/lLEfYIitXfA?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>https:\/\/www.youtube.com\/@ls111cyberEd NOTE: This video is sponsored by Sunny Valley Networks and I do receive a small percentage back for every referral that signs up using the link, which gets put<\/p>\n<p><a href=\"https:\/\/allogman.com\/?p=81\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\">How to create an L2 bridge using Netplan &#038; install Zenarmor on Ubuntu 22.04<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-81","post","type-post","status-publish","format-standard","hentry","category-network-security"],"_links":{"self":[{"href":"https:\/\/allogman.com\/index.php?rest_route=\/wp\/v2\/posts\/81","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/allogman.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/allogman.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/allogman.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/allogman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=81"}],"version-history":[{"count":1,"href":"https:\/\/allogman.com\/index.php?rest_route=\/wp\/v2\/posts\/81\/revisions"}],"predecessor-version":[{"id":82,"href":"https:\/\/allogman.com\/index.php?rest_route=\/wp\/v2\/posts\/81\/revisions\/82"}],"wp:attachment":[{"href":"https:\/\/allogman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=81"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/allogman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=81"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/allogman.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=81"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}