{"id":17,"date":"2021-04-20T12:05:58","date_gmt":"2021-04-20T11:05:58","guid":{"rendered":"https:\/\/www.simplyhosting.com\/support\/?post_type=ht_kb&#038;p=17"},"modified":"2022-02-11T16:56:56","modified_gmt":"2022-02-11T16:56:56","slug":"configuring-a-fabric-firewall","status":"publish","type":"ht_kb","link":"https:\/\/www.simplyhosting.com\/support\/articles\/configuring-a-fabric-firewall\/","title":{"rendered":"Configuring a Fabric Firewall"},"content":{"rendered":"\n<p>This is a step by step guide explaining how to configure your Fabric Juniper Firewall.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"ConfiguringaFabricJuniperFirewall-AddingyourFirewalltoaVLAN\">Adding your Firewall to a VLAN<\/h2>\n\n\n\n<ol class=\"wp-block-list\"><li>Login to your&nbsp;<a href=\"https:\/\/portal.simplyhosting.com\/\">Simply Hosting Control Panel<\/a><\/li><li>Click on the&nbsp;<strong>VLAN<\/strong>&nbsp;menu item<\/li><\/ol>\n\n\n\n<p><img decoding=\"async\" src=\"https:\/\/portal.simplyhosting.com\/images\/attachments\/121800592\/image2017-6-14%2010-35-46.png\"><\/p>\n\n\n\n<ol class=\"wp-block-list\" start=\"3\"><li>You will see one or more VLAN&#8217;s on the screen<\/li><\/ol>\n\n\n\n<p><img decoding=\"async\" src=\"https:\/\/portal.simplyhosting.com\/images\/attachments\/121800592\/image2017-6-14%2010-44-45.png\"><\/p>\n\n\n\n<ol class=\"wp-block-list\" start=\"4\"><li>Click the&nbsp;<strong>Add Server<\/strong>&nbsp;button<\/li><li>In the succeeding popup, select the ID of your Firewall from the dropdown and click the&nbsp;<strong>Add<\/strong>&nbsp;button<\/li><\/ol>\n\n\n\n<p><img decoding=\"async\" src=\"https:\/\/portal.simplyhosting.com\/images\/attachments\/121800592\/image2017-6-14%2011-7-0.png\"><\/p>\n\n\n\n<ol class=\"wp-block-list\" start=\"6\"><li>You should see a success notification like below.<\/li><\/ol>\n\n\n\n<p><img decoding=\"async\" src=\"https:\/\/portal.simplyhosting.com\/images\/attachments\/121800592\/image2017-6-14%2010-56-30.png\"><\/p>\n\n\n\n<div class=\"wp-block-nco-caution-block\"><p class=\"nco-caution-block-content\"><strong>Note:<\/strong> At extremely busy periods, it may take upto 3 hours for the Firewall to be added to the VLAN, but in most cases it should only take several minutes.<\/p><\/div>\n\n\n\n<ol class=\"wp-block-list\" start=\"7\"><li>The process has completed when the server id changes from orange to black colour (You may need to refresh your page a few times)<\/li><\/ol>\n\n\n\n<p><img decoding=\"async\" src=\"https:\/\/portal.simplyhosting.com\/images\/attachments\/121800592\/image2017-6-14%2011-1-30.png\"><\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"ConfiguringaFabricJuniperFirewall-ConfiguringyourFirewall\">Configuring your Firewall<\/h2>\n\n\n\n<p>There are two common ways of configuring the firewall. One is for the servers behind the firewall to use public facing IPs routed by the firewall and the other is to use NAT on the firewall and use RFC 1818 addresses on the servers.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"ConfiguringaFabricJuniperFirewall-ConfiguringtheFirewallUsingPublicIPs\">Configuring the Firewall Using Public IPs<\/h3>\n\n\n\n<p>This is perhaps the simplest configuration for the firewall and involves setting up an IP on the firewall to act as a router for the servers behind it. The downside is that it also requires several public IPs for it to work.<\/p>\n\n\n\n<p>You will need a block of at least 4 IPs for this configuration to work and a block of 8 ips if you need more than a single host behind the firewall. &nbsp;To get the public IPs you will need to raise a ticket to technical support who can assist you.<\/p>\n\n\n\n<p>For the following examples we will be using the ip range 192.0.0.0\/30 but please make sure that you use the public IPs that you have been allocated.<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>SSH into the firewall using the details provided and go into the configuration mode:<\/li><\/ol>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>root@% cli<\/code>\n<code>root&gt; configure<\/code>\n<code>root#<\/code><\/pre>\n\n\n\n<ol class=\"wp-block-list\" start=\"2\"><li>For this setup, all you will need to configure is the first&nbsp;<em>usable<\/em>&nbsp;IP onto the VLAN interface. (note: please remember to use the VLAN tag that you have been provided. A different tag other than that allocated to you will not work, in the following example replace &lt;vlantag&gt; with the vlan tag number).<\/li><\/ol>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>root# set interfaces irb unit &lt;vlantag&gt; family inet address&nbsp;192.0.0.1\/30<\/code>\n<code>root# commit and-quit<\/code><\/pre>\n\n\n\n<ol class=\"wp-block-list\" start=\"3\"><li>The firewall configuration is now completed. Exit the unit. For the server to start routing the traffic though the firewall you will need to configure a vlan interface onto the server. Please refer to the documentation for configuring VLANs. The difference will be that instead of an RFC1818 address you should use the next usable public IP from your range. You will also need to adjust the default route of the server to use the IP that you setup on the firewall (192.0.0.1 in this example). You may need to restart the network stack or reboot the server for those changes to<\/li><\/ol>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"ConfiguringaFabricJuniperFirewall-ConfiguringtheFirewallusingNAT\">Configuring the Firewall using NAT<\/h3>\n\n\n\n<p>Configuring the servers using NAT will require less resources in terms of public IPs but will require a little more setup on the firewall. For the following example we will use the RFC1818 range 10.10.10.0\/24<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>SSH to the firewall and go into configuration mode:<\/li><\/ol>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>root@% cli<\/code>\n<code>root&gt; configure<\/code>\n<code>root#<\/code><\/pre>\n\n\n\n<ol class=\"wp-block-list\" start=\"2\"><li>Add an IP onto the vlan interface to act as the gateway for the servers.<\/li><\/ol>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>root# set interfaces irb unit &lt;vlantag&gt; family inet address&nbsp;10.10.10.1\/24<\/code><\/pre>\n\n\n\n<ol class=\"wp-block-list\" start=\"3\"><li>Configure the firewall to enable NAT<\/li><\/ol>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>root# set security nat source rule-set&nbsp;default<\/code>&nbsp;<code>from zone trust<\/code>\n<code>root# set security nat source rule-set&nbsp;default<\/code>&nbsp;<code>to zone untrust<\/code>\n<code>root# set security nat source rule-set&nbsp;default<\/code>&nbsp;<code>rule match-all match source-address&nbsp;0.0.0.0\/0<\/code>\n<code>root# set security nat source rule-set&nbsp;default<\/code>&nbsp;<code>rule match-all match destination-address&nbsp;0.0.0.0\/0<\/code>\n<code>root# set security nat source rule-set&nbsp;default<\/code>&nbsp;<code>rule match-all then source-nat&nbsp;interface<\/code><\/pre>\n\n\n\n<ol class=\"wp-block-list\" start=\"4\"><li>For the server to start routing the traffic though the firewall you will need to configure a vlan interface onto the server. Please refer to the documentation for configuring VLANs. You will also need to configure the default gateway on the server to use the address that you gave to the firewall 10.10.10.1 in this example. You may need to restart the network stack or reboot the server for these changes to take effect.<\/li><\/ol>\n\n\n\n<ol class=\"wp-block-list\" start=\"5\"><li>It is common to require port forwarding rules for a NAT configuration. The following is an example for mapping port 222 to port 22 of the server with the address 10.10.10.2<\/li><\/ol>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>root# set security nat&nbsp;static<\/code>&nbsp;<code>rule-set set1 from zone untrust<\/code>\n<code>root# set security nat&nbsp;static<\/code>&nbsp;<code>rule-set set1 rule server1 match destination-address &lt;firewall_ip&gt;\/32<\/code>\n<code>root# set security nat&nbsp;static<\/code>&nbsp;<code>rule-set set1 rule server1 match destination-port&nbsp;222<\/code>\n<code>root# set security nat&nbsp;static<\/code>&nbsp;<code>rule-set set1 rule server1 then&nbsp;static-nat prefix&nbsp;10.10.10.2<\/code>\n<code>root# set security nat&nbsp;static<\/code>&nbsp;<code>rule-set set1 rule server1<\/code><\/pre>\n\n\n\n<div class=\"wp-block-nco-info-block\"><p class=\"nco-info-block-content\"><strong>Info:<\/strong> If you encounter any problems setting up your firewall then please raise a Support Ticket with our 24\/7\/365 technical support team<\/p><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"get-in-touch\"><strong>Get in touch<\/strong><\/h2>\n\n\n\n<p>If you need advice on your Fabric Firewall requirements, we\u2019re here to help.<\/p>\n\n\n\n<p><strong>Call us on 0333 247 0222: <\/strong>Monday &#8211; Friday, 9am \u2013 5.30pm.<\/p>\n\n\n\n<p id=\"chat-to-us-on-livechat-monday-friday-9am-5-30pm\"><strong>Chat <strong>with<\/strong> us on LiveChat:<\/strong> Monday &#8211; Friday, 9am &#8211; 5.30pm.<\/p>\n\n\n\n<p id=\"write-to-us-send-us-a-support-ticket-from-your-simply-portal-and-we-ll-get-back-to-you-as-soon-as-we-can-https-portal-simplyhosting-com-site-login\"><strong>Write to us:<\/strong> Send us a support ticket from your <a href=\"https:\/\/portal.simplyhosting.com\/site\/login\/\">Simply portal<\/a> and we\u2019ll get back to you as soon as we can. <\/p>\n\n\n\n<p>If you don\u2019t have an account with Simply Hosting yet, you can also send our <a href=\"https:\/\/www.simplyhosting.com\/info\/contact-us\">Sales team<\/a> an enquiry and we&#8217;ll get back to you between <strong>9am<\/strong> and <strong>5.30pm<\/strong>, <strong>Monday<\/strong> to <strong>Friday<\/strong>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is a step by step guide explaining how to configure your Fabric Juniper Firewall. Adding your Firewall to a VLAN Login to your&nbsp;Simply Hosting Control Panel Click on the&nbsp;VLAN&nbsp;menu item You will see one or more VLAN&#8217;s on the screen Click the&nbsp;Add Server&nbsp;button In the succeeding popup, select the ID of your Firewall from [&hellip;]<\/p>\n","protected":false},"author":2,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"ht-kb-category":[20],"ht-kb-tag":[32,31],"class_list":["post-17","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-ssl-security","ht_kb_tag-fabric","ht_kb_tag-firewall"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Configuring a Fabric Firewall - Support Centre - Simply Hosting &amp; Servers<\/title>\n<meta name=\"description\" content=\"This is a step by step guide explaining how to configure your Fabric Juniper Firewall.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.simplyhosting.com\/support\/articles\/configuring-a-fabric-firewall\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Configuring a Fabric Firewall - Support Centre - Simply Hosting &amp; Servers\" \/>\n<meta property=\"og:description\" content=\"This is a step by step guide explaining how to configure your Fabric Juniper Firewall.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.simplyhosting.com\/support\/articles\/configuring-a-fabric-firewall\/\" \/>\n<meta property=\"og:site_name\" content=\"Support Centre - Simply Hosting &amp; Servers\" \/>\n<meta property=\"article:modified_time\" content=\"2022-02-11T16:56:56+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/portal.simplyhosting.com\/images\/attachments\/121800592\/image2017-6-14%2010-35-46.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.simplyhosting.com\/support\/articles\/configuring-a-fabric-firewall\/\",\"url\":\"https:\/\/www.simplyhosting.com\/support\/articles\/configuring-a-fabric-firewall\/\",\"name\":\"Configuring a Fabric Firewall - Support Centre - Simply Hosting &amp; Servers\",\"isPartOf\":{\"@id\":\"https:\/\/www.simplyhosting.com\/support\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.simplyhosting.com\/support\/articles\/configuring-a-fabric-firewall\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.simplyhosting.com\/support\/articles\/configuring-a-fabric-firewall\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/portal.simplyhosting.com\/images\/attachments\/121800592\/image2017-6-14%2010-35-46.png\",\"datePublished\":\"2021-04-20T11:05:58+00:00\",\"dateModified\":\"2022-02-11T16:56:56+00:00\",\"description\":\"This is a step by step guide explaining how to configure your Fabric Juniper Firewall.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.simplyhosting.com\/support\/articles\/configuring-a-fabric-firewall\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.simplyhosting.com\/support\/articles\/configuring-a-fabric-firewall\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.simplyhosting.com\/support\/articles\/configuring-a-fabric-firewall\/#primaryimage\",\"url\":\"https:\/\/portal.simplyhosting.com\/images\/attachments\/121800592\/image2017-6-14%2010-35-46.png\",\"contentUrl\":\"https:\/\/portal.simplyhosting.com\/images\/attachments\/121800592\/image2017-6-14%2010-35-46.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.simplyhosting.com\/support\/articles\/configuring-a-fabric-firewall\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.simplyhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Configuring a Fabric Firewall\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.simplyhosting.com\/support\/#website\",\"url\":\"https:\/\/www.simplyhosting.com\/support\/\",\"name\":\"Support Centre - Simply Hosting &amp; Servers\",\"description\":\"Simply Hosting &amp; Servers Support Centre\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.simplyhosting.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Configuring a Fabric Firewall - Support Centre - Simply Hosting &amp; Servers","description":"This is a step by step guide explaining how to configure your Fabric Juniper Firewall.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.simplyhosting.com\/support\/articles\/configuring-a-fabric-firewall\/","og_locale":"en_GB","og_type":"article","og_title":"Configuring a Fabric Firewall - Support Centre - Simply Hosting &amp; Servers","og_description":"This is a step by step guide explaining how to configure your Fabric Juniper Firewall.","og_url":"https:\/\/www.simplyhosting.com\/support\/articles\/configuring-a-fabric-firewall\/","og_site_name":"Support Centre - Simply Hosting &amp; Servers","article_modified_time":"2022-02-11T16:56:56+00:00","og_image":[{"url":"https:\/\/portal.simplyhosting.com\/images\/attachments\/121800592\/image2017-6-14%2010-35-46.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Estimated reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.simplyhosting.com\/support\/articles\/configuring-a-fabric-firewall\/","url":"https:\/\/www.simplyhosting.com\/support\/articles\/configuring-a-fabric-firewall\/","name":"Configuring a Fabric Firewall - Support Centre - Simply Hosting &amp; Servers","isPartOf":{"@id":"https:\/\/www.simplyhosting.com\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.simplyhosting.com\/support\/articles\/configuring-a-fabric-firewall\/#primaryimage"},"image":{"@id":"https:\/\/www.simplyhosting.com\/support\/articles\/configuring-a-fabric-firewall\/#primaryimage"},"thumbnailUrl":"https:\/\/portal.simplyhosting.com\/images\/attachments\/121800592\/image2017-6-14%2010-35-46.png","datePublished":"2021-04-20T11:05:58+00:00","dateModified":"2022-02-11T16:56:56+00:00","description":"This is a step by step guide explaining how to configure your Fabric Juniper Firewall.","breadcrumb":{"@id":"https:\/\/www.simplyhosting.com\/support\/articles\/configuring-a-fabric-firewall\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.simplyhosting.com\/support\/articles\/configuring-a-fabric-firewall\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.simplyhosting.com\/support\/articles\/configuring-a-fabric-firewall\/#primaryimage","url":"https:\/\/portal.simplyhosting.com\/images\/attachments\/121800592\/image2017-6-14%2010-35-46.png","contentUrl":"https:\/\/portal.simplyhosting.com\/images\/attachments\/121800592\/image2017-6-14%2010-35-46.png"},{"@type":"BreadcrumbList","@id":"https:\/\/www.simplyhosting.com\/support\/articles\/configuring-a-fabric-firewall\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.simplyhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"Configuring a Fabric Firewall"}]},{"@type":"WebSite","@id":"https:\/\/www.simplyhosting.com\/support\/#website","url":"https:\/\/www.simplyhosting.com\/support\/","name":"Support Centre - Simply Hosting &amp; Servers","description":"Simply Hosting &amp; Servers Support Centre","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.simplyhosting.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"}]}},"_links":{"self":[{"href":"https:\/\/www.simplyhosting.com\/support\/wp-json\/wp\/v2\/ht-kb\/17","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.simplyhosting.com\/support\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/www.simplyhosting.com\/support\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.simplyhosting.com\/support\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.simplyhosting.com\/support\/wp-json\/wp\/v2\/comments?post=17"}],"version-history":[{"count":6,"href":"https:\/\/www.simplyhosting.com\/support\/wp-json\/wp\/v2\/ht-kb\/17\/revisions"}],"predecessor-version":[{"id":368,"href":"https:\/\/www.simplyhosting.com\/support\/wp-json\/wp\/v2\/ht-kb\/17\/revisions\/368"}],"wp:attachment":[{"href":"https:\/\/www.simplyhosting.com\/support\/wp-json\/wp\/v2\/media?parent=17"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.simplyhosting.com\/support\/wp-json\/wp\/v2\/ht-kb-category?post=17"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.simplyhosting.com\/support\/wp-json\/wp\/v2\/ht-kb-tag?post=17"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}