<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Guest-Network on vlan51</title><link>https://vlan51.com/tags/guest-network/</link><description>Recent content in Guest-Network on vlan51</description><generator>Hugo</generator><language>en-gb</language><lastBuildDate>Mon, 01 Jan 2024 00:00:00 +0000</lastBuildDate><atom:link href="https://vlan51.com/tags/guest-network/index.xml" rel="self" type="application/rss+xml"/><item><title>ACL / Access Lists on HPE Aruba ArubaOS-Switch</title><link>https://vlan51.com/aruba-provision/acl-guest-network/</link><pubDate>Mon, 01 Jan 2024 00:00:00 +0000</pubDate><guid>https://vlan51.com/aruba-provision/acl-guest-network/</guid><description>&lt;p&gt;How to create extended ACLs on HPE Aruba ArubaOS-Switch and apply them to a VLAN interface. This example restricts a guest wireless network from accessing any internal address space while allowing internet access.&lt;/p&gt;&#10;&lt;h2 id="scenario"&gt;Scenario &lt;a class="anchor" href="#scenario" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;p&gt;Guest network subnet: &lt;code&gt;192.168.0.0/23&lt;/code&gt;. Guests must reach the internet but must not reach any RFC1918 internal ranges.&lt;/p&gt;&#10;&lt;h2 id="create-the-acl"&gt;Create the ACL &lt;a class="anchor" href="#create-the-acl" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&lt;span&gt;cli&lt;/span&gt;&lt;button class="copy" type="button" aria-label="Copy to clipboard"&gt;Copy&lt;/button&gt;&lt;/div&gt;&lt;pre&gt;&lt;code&gt;ip access-list extended &amp;#34;GUEST-ACL&amp;#34;&#10; 10 permit ip 192.168.0.0 0.0.1.255 192.168.0.0 0.0.1.255&#10; 20 deny ip 192.168.0.0 0.0.1.255 10.0.0.0 0.255.255.255 log&#10; 30 deny ip 192.168.0.0 0.0.1.255 172.16.0.0 0.15.255.255 log&#10; 40 deny ip 192.168.0.0 0.0.1.255 192.168.0.0 0.0.255.255 log&#10; 50 permit ip 192.168.0.0 0.0.1.255 0.0.0.0 255.255.255.255 log&#10; exit&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;Line 10 — permits intra-subnet traffic (required for hosts on the /23 to communicate with each other)&lt;/li&gt;&#10;&lt;li&gt;Lines 20, 30, 40 — deny RFC1918 ranges&lt;/li&gt;&#10;&lt;li&gt;Line 50 — permit all other destinations (internet)&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="apply-to-the-vlan-interface"&gt;Apply to the VLAN interface &lt;a class="anchor" href="#apply-to-the-vlan-interface" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&lt;span&gt;cli&lt;/span&gt;&lt;button class="copy" type="button" aria-label="Copy to clipboard"&gt;Copy&lt;/button&gt;&lt;/div&gt;&lt;pre&gt;&lt;code&gt;vlan 10&#10; name &amp;#34;Guest Network&amp;#34;&#10; ip access-group &amp;#34;GUEST-ACL&amp;#34; in&#10; ip address 192.168.0.1 255.255.254.0&#10;exit&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;p&gt;The ACL is applied &lt;strong&gt;inbound&lt;/strong&gt; (&lt;code&gt;in&lt;/code&gt;) — it inspects traffic as it arrives from guest clients.&lt;/p&gt;</description></item></channel></rss>