{"id":856,"date":"2014-07-01T12:45:41","date_gmt":"2014-07-01T12:45:41","guid":{"rendered":"https:\/\/fir3netwp.gmsrrpobkbd.com\/2014\/07\/01\/vyatta-how-to-create-a-firewall-policy\/"},"modified":"2021-08-01T00:42:59","modified_gmt":"2021-08-01T00:42:59","slug":"vyatta-how-to-create-a-firewall-policy","status":"publish","type":"post","link":"https:\/\/www.fir3net.com\/Routers\/Brocade\/vyatta-how-to-create-a-firewall-policy.html","title":{"rendered":"Vyatta – How to create a Firewall Policy"},"content":{"rendered":"

Within this article we will show you how to create a firewall policy for a Brocade\u00a0Vyatta\u00a0router. Firewalls policies are created much like any other device, using a combination such \u00a0source IP , destination IP etc etc. Once created it is then applied to an interface.<\/p>\n

Group Types<\/h2>\n

There are 3 types of groups they are address groups, network groups and port-groups.<\/p>\n

Address group<\/strong> – groups a IPs and IP ranges.<\/p>\n

set firewall group address-group ADDGROUP address x.x.x.x|x.x.x.x-x.x.x.x<\/pre>\n

Network group<\/strong> – groups networks.<\/p>\n

set firewall group network-group NETGROUP x.x.x.x\/x<\/pre>\n

Port group<\/strong> – groups ports or port-ranges<\/p>\n

set firewall group port-group PORTGROUP x|x-x<\/pre>\n

Create Firewall Policy<\/h2>\n

When creating a firewall policy there is a huge range of options. In this example we will provide the main 4. Action, source, destination and protocol.<\/p>\n

set firewall name OUTSIDE rule 10 action accept\r\nset firewall name OUTSIDE rule 10 source (x.x.x.x|address-group <GROUP>|network-group <GROUP>)\r\nset firewall name OUTSIDE rule 10 destination (x.x.x.x|address-group <GROUP>|network-group <GRO\r\nUP>|port-group <GROUP>)\r\nset firewall name OUTSIDE rule 10 protocol (tcp_udp|all)<\/pre>\n

Assign to Interface<\/h2>\n

Next the firewall policy is assigned to an interface. To confirm the interface mappings i.e eth3 equals OUTSIDE. Run the command show interfaces.<\/span><\/p>\n

set interfaces ethernet eth0 firewall in name 'OUTSIDE'<\/pre>\n

Save<\/h2>\n

Finally save your changes. This is a 2 step process. First we save the changes to the save config and then we commit the changes to the running configuration.<\/p>\n

save - save to saved config commit - commit to running config<\/pre>\n

 <\/p>\n","protected":false},"excerpt":{"rendered":"

Within this article we will show you how to create a firewall policy for a Brocade\u00a0Vyatta\u00a0router. Firewalls policies are created much like any other device, using a combination such \u00a0source IP , destination IP etc etc. Once created it is then applied to an interface. Group Types There are 3 types of groups they are … Read more<\/a><\/p>\n","protected":false},"author":2,"featured_media":854,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21],"tags":[],"yoast_head":"\nVyatta - How to create a Firewall Policy - Fir3net<\/title>\n<meta name=\"description\" content=\"Within this article we will show you how to create a firewall policy for a Brocade\u00a0Vyatta\u00a0router. Firewalls policies are created much like any other\" \/>\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.fir3net.com\/Routers\/Brocade\/vyatta-how-to-create-a-firewall-policy.html\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Vyatta - How to create a Firewall Policy - Fir3net\" \/>\n<meta property=\"og:description\" content=\"Within this article we will show you how to create a firewall policy for a Brocade\u00a0Vyatta\u00a0router. Firewalls policies are created much like any other\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.fir3net.com\/Routers\/Brocade\/vyatta-how-to-create-a-firewall-policy.html\" \/>\n<meta property=\"og:site_name\" content=\"Fir3net\" \/>\n<meta property=\"article:published_time\" content=\"2014-07-01T12:45:41+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-08-01T00:42:59+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.fir3net.com\/wp-content\/uploads\/2014\/06\/images_articles_vyatta-5400-vrouter-small.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"158\" \/>\n\t<meta property=\"og:image:height\" content=\"150\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Rick Donato\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Rick Donato\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.fir3net.com\/Routers\/Brocade\/vyatta-how-to-create-a-firewall-policy.html#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.fir3net.com\/Routers\/Brocade\/vyatta-how-to-create-a-firewall-policy.html\"},\"author\":{\"name\":\"Rick Donato\",\"@id\":\"https:\/\/www.fir3net.com\/#\/schema\/person\/ab35009601b7687ee1c5310be6038037\"},\"headline\":\"Vyatta – How to create a Firewall Policy\",\"datePublished\":\"2014-07-01T12:45:41+00:00\",\"dateModified\":\"2021-08-01T00:42:59+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.fir3net.com\/Routers\/Brocade\/vyatta-how-to-create-a-firewall-policy.html\"},\"wordCount\":175,\"publisher\":{\"@id\":\"https:\/\/www.fir3net.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.fir3net.com\/Routers\/Brocade\/vyatta-how-to-create-a-firewall-policy.html#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.fir3net.com\/wp-content\/uploads\/2014\/06\/images_articles_vyatta-5400-vrouter-small.jpg\",\"articleSection\":[\"Vyatta Routing\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.fir3net.com\/Routers\/Brocade\/vyatta-how-to-create-a-firewall-policy.html\",\"url\":\"https:\/\/www.fir3net.com\/Routers\/Brocade\/vyatta-how-to-create-a-firewall-policy.html\",\"name\":\"Vyatta - How to create a Firewall Policy - Fir3net\",\"isPartOf\":{\"@id\":\"https:\/\/www.fir3net.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.fir3net.com\/Routers\/Brocade\/vyatta-how-to-create-a-firewall-policy.html#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.fir3net.com\/Routers\/Brocade\/vyatta-how-to-create-a-firewall-policy.html#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.fir3net.com\/wp-content\/uploads\/2014\/06\/images_articles_vyatta-5400-vrouter-small.jpg\",\"datePublished\":\"2014-07-01T12:45:41+00:00\",\"dateModified\":\"2021-08-01T00:42:59+00:00\",\"description\":\"Within this article we will show you how to create a firewall policy for a Brocade\u00a0Vyatta\u00a0router. Firewalls policies are created much like any other\",\"breadcrumb\":{\"@id\":\"https:\/\/www.fir3net.com\/Routers\/Brocade\/vyatta-how-to-create-a-firewall-policy.html#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.fir3net.com\/Routers\/Brocade\/vyatta-how-to-create-a-firewall-policy.html\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.fir3net.com\/Routers\/Brocade\/vyatta-how-to-create-a-firewall-policy.html#primaryimage\",\"url\":\"https:\/\/www.fir3net.com\/wp-content\/uploads\/2014\/06\/images_articles_vyatta-5400-vrouter-small.jpg\",\"contentUrl\":\"https:\/\/www.fir3net.com\/wp-content\/uploads\/2014\/06\/images_articles_vyatta-5400-vrouter-small.jpg\",\"width\":158,\"height\":150},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.fir3net.com\/Routers\/Brocade\/vyatta-how-to-create-a-firewall-policy.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.fir3net.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Networking\",\"item\":\"https:\/\/www.fir3net.com\/networking\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Routers\",\"item\":\"https:\/\/www.fir3net.com\/networking\/routers\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Vyatta Routing\",\"item\":\"https:\/\/www.fir3net.com\/networking\/routers\/vyatta-routers\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Vyatta – How to create a Firewall Policy\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.fir3net.com\/#website\",\"url\":\"https:\/\/www.fir3net.com\/\",\"name\":\"Fir3net\",\"description\":\"Keeping you in the know\",\"publisher\":{\"@id\":\"https:\/\/www.fir3net.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.fir3net.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.fir3net.com\/#organization\",\"name\":\"Fir3net\",\"url\":\"https:\/\/www.fir3net.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.fir3net.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.fir3net.com\/wp-content\/uploads\/Fir3net-Background-Logo-compressed.png\",\"contentUrl\":\"https:\/\/www.fir3net.com\/wp-content\/uploads\/Fir3net-Background-Logo-compressed.png\",\"width\":390,\"height\":88,\"caption\":\"Fir3net\"},\"image\":{\"@id\":\"https:\/\/www.fir3net.com\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.fir3net.com\/#\/schema\/person\/ab35009601b7687ee1c5310be6038037\",\"name\":\"Rick Donato\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.fir3net.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/d75d69a54c0ca3b32c24c3a9703b623c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/d75d69a54c0ca3b32c24c3a9703b623c?s=96&d=mm&r=g\",\"caption\":\"Rick Donato\"},\"description\":\"Rick Donato is a Network Automation Architect\/Evangelist and the founder of Packet Coders.\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Vyatta - How to create a Firewall Policy - Fir3net","description":"Within this article we will show you how to create a firewall policy for a Brocade\u00a0Vyatta\u00a0router. Firewalls policies are created much like any other","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.fir3net.com\/Routers\/Brocade\/vyatta-how-to-create-a-firewall-policy.html","og_locale":"en_US","og_type":"article","og_title":"Vyatta - How to create a Firewall Policy - Fir3net","og_description":"Within this article we will show you how to create a firewall policy for a Brocade\u00a0Vyatta\u00a0router. Firewalls policies are created much like any other","og_url":"https:\/\/www.fir3net.com\/Routers\/Brocade\/vyatta-how-to-create-a-firewall-policy.html","og_site_name":"Fir3net","article_published_time":"2014-07-01T12:45:41+00:00","article_modified_time":"2021-08-01T00:42:59+00:00","og_image":[{"width":158,"height":150,"url":"https:\/\/www.fir3net.com\/wp-content\/uploads\/2014\/06\/images_articles_vyatta-5400-vrouter-small.jpg","type":"image\/jpeg"}],"author":"Rick Donato","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Rick Donato","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.fir3net.com\/Routers\/Brocade\/vyatta-how-to-create-a-firewall-policy.html#article","isPartOf":{"@id":"https:\/\/www.fir3net.com\/Routers\/Brocade\/vyatta-how-to-create-a-firewall-policy.html"},"author":{"name":"Rick Donato","@id":"https:\/\/www.fir3net.com\/#\/schema\/person\/ab35009601b7687ee1c5310be6038037"},"headline":"Vyatta – How to create a Firewall Policy","datePublished":"2014-07-01T12:45:41+00:00","dateModified":"2021-08-01T00:42:59+00:00","mainEntityOfPage":{"@id":"https:\/\/www.fir3net.com\/Routers\/Brocade\/vyatta-how-to-create-a-firewall-policy.html"},"wordCount":175,"publisher":{"@id":"https:\/\/www.fir3net.com\/#organization"},"image":{"@id":"https:\/\/www.fir3net.com\/Routers\/Brocade\/vyatta-how-to-create-a-firewall-policy.html#primaryimage"},"thumbnailUrl":"https:\/\/www.fir3net.com\/wp-content\/uploads\/2014\/06\/images_articles_vyatta-5400-vrouter-small.jpg","articleSection":["Vyatta Routing"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.fir3net.com\/Routers\/Brocade\/vyatta-how-to-create-a-firewall-policy.html","url":"https:\/\/www.fir3net.com\/Routers\/Brocade\/vyatta-how-to-create-a-firewall-policy.html","name":"Vyatta - How to create a Firewall Policy - Fir3net","isPartOf":{"@id":"https:\/\/www.fir3net.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.fir3net.com\/Routers\/Brocade\/vyatta-how-to-create-a-firewall-policy.html#primaryimage"},"image":{"@id":"https:\/\/www.fir3net.com\/Routers\/Brocade\/vyatta-how-to-create-a-firewall-policy.html#primaryimage"},"thumbnailUrl":"https:\/\/www.fir3net.com\/wp-content\/uploads\/2014\/06\/images_articles_vyatta-5400-vrouter-small.jpg","datePublished":"2014-07-01T12:45:41+00:00","dateModified":"2021-08-01T00:42:59+00:00","description":"Within this article we will show you how to create a firewall policy for a Brocade\u00a0Vyatta\u00a0router. Firewalls policies are created much like any other","breadcrumb":{"@id":"https:\/\/www.fir3net.com\/Routers\/Brocade\/vyatta-how-to-create-a-firewall-policy.html#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.fir3net.com\/Routers\/Brocade\/vyatta-how-to-create-a-firewall-policy.html"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.fir3net.com\/Routers\/Brocade\/vyatta-how-to-create-a-firewall-policy.html#primaryimage","url":"https:\/\/www.fir3net.com\/wp-content\/uploads\/2014\/06\/images_articles_vyatta-5400-vrouter-small.jpg","contentUrl":"https:\/\/www.fir3net.com\/wp-content\/uploads\/2014\/06\/images_articles_vyatta-5400-vrouter-small.jpg","width":158,"height":150},{"@type":"BreadcrumbList","@id":"https:\/\/www.fir3net.com\/Routers\/Brocade\/vyatta-how-to-create-a-firewall-policy.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.fir3net.com\/"},{"@type":"ListItem","position":2,"name":"Networking","item":"https:\/\/www.fir3net.com\/networking"},{"@type":"ListItem","position":3,"name":"Routers","item":"https:\/\/www.fir3net.com\/networking\/routers"},{"@type":"ListItem","position":4,"name":"Vyatta Routing","item":"https:\/\/www.fir3net.com\/networking\/routers\/vyatta-routers"},{"@type":"ListItem","position":5,"name":"Vyatta – How to create a Firewall Policy"}]},{"@type":"WebSite","@id":"https:\/\/www.fir3net.com\/#website","url":"https:\/\/www.fir3net.com\/","name":"Fir3net","description":"Keeping you in the know","publisher":{"@id":"https:\/\/www.fir3net.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.fir3net.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.fir3net.com\/#organization","name":"Fir3net","url":"https:\/\/www.fir3net.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.fir3net.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.fir3net.com\/wp-content\/uploads\/Fir3net-Background-Logo-compressed.png","contentUrl":"https:\/\/www.fir3net.com\/wp-content\/uploads\/Fir3net-Background-Logo-compressed.png","width":390,"height":88,"caption":"Fir3net"},"image":{"@id":"https:\/\/www.fir3net.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.fir3net.com\/#\/schema\/person\/ab35009601b7687ee1c5310be6038037","name":"Rick Donato","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.fir3net.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/d75d69a54c0ca3b32c24c3a9703b623c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d75d69a54c0ca3b32c24c3a9703b623c?s=96&d=mm&r=g","caption":"Rick Donato"},"description":"Rick Donato is a Network Automation Architect\/Evangelist and the founder of Packet Coders."}]}},"_links":{"self":[{"href":"https:\/\/www.fir3net.com\/wp-json\/wp\/v2\/posts\/856"}],"collection":[{"href":"https:\/\/www.fir3net.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.fir3net.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.fir3net.com\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.fir3net.com\/wp-json\/wp\/v2\/comments?post=856"}],"version-history":[{"count":0,"href":"https:\/\/www.fir3net.com\/wp-json\/wp\/v2\/posts\/856\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.fir3net.com\/wp-json\/wp\/v2\/media\/854"}],"wp:attachment":[{"href":"https:\/\/www.fir3net.com\/wp-json\/wp\/v2\/media?parent=856"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.fir3net.com\/wp-json\/wp\/v2\/categories?post=856"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.fir3net.com\/wp-json\/wp\/v2\/tags?post=856"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}