<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Tutorial - pfSense, OpenWrt - multiple SSIDs and VLANs]]></title><description><![CDATA[<p dir="auto">I have created a tutorial for adding multiple SSIDs (guest wifi network) with VLAN support on an OpenWrt router/ap and pfSense firewall.<br />
This tutorial is based on pfSense version 2.3.2 and OpenWrt CC 15.05.1. Other versions should work too, but the steps might be different.<br />
You can download the tutorial as PDF file for offline viewing as well: <a href="https://mega.nz/#!MV9VSCyK!vcl945m0GxwRTQbN31RpZFwMRJBVSPBiK46nKCV_koY" target="_blank" rel="noopener noreferrer nofollow ugc">MEGA</a> | <a href="http://uploaded.net/file/68t63wmx" target="_blank" rel="noopener noreferrer nofollow ugc">uploaded.net</a><br />
(please report if a link is down)</p>
<p dir="auto"><strong>–----------------------------------------------------------------------------------</strong></p>
<p dir="auto">First we’re going to create the VLANs on our pfSense box.<br />
Go to <em>Interfaces</em> and choose <em>VLANs</em>. After that press the <em>Add</em> button.<br />
<img src="http://i.imgur.com/eJokhjo.png?1" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto">For <em>Parent Interface</em> choose your <em>LAN</em> connection.<br />
For <em>VLAN Tag</em> choose your desired VLAN ID.<br />
The <em>VLAN Priority</em> can be set to 0.<br />
<em>Description</em> can be anything you like. After that press <em>Save</em>.<br />
<img src="http://i.imgur.com/Kv3YWvM.png?1" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto">Once you have saved your VLAN configuration it will look something like this.<br />
Add more VLANs the same way, if you like.<br />
<img src="http://i.imgur.com/84hSRmZ.png?1" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto">Now go to <em>Interface Assignments</em>, choose <em>VLAN 10</em> and press <em>Add</em>.<br />
<img src="http://i.imgur.com/r8ENgvJ.png?1" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto">A new interface has now been added, interface <em>OPT1</em>.<br />
Now click on <em>OPT1</em>, so we can edit the interface.<br />
<img src="http://i.imgur.com/eoKCck8.png?1" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto">Tick the <em>Enable</em> box and give the interface a <em>description</em>.<br />
<em>IPv4 Configuration Type</em> must be set on <em>Static IPv4</em>.<br />
<em>IPv4 Address</em> can be whatever you want. I choose 192.168.10.1 with a /24 subnet. After that press <em>Save</em>.<br />
<img src="http://i.imgur.com/c9CEHEa.png?1" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto">Next we go to <em>Services  –&gt; DHCP Server</em> and choose your VLAN.<br />
Tick the <em>Enable</em> box and choose your <em>DHCP Range</em>. After that Save.<br />
<img src="http://i.imgur.com/C20lMMo.png?1" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto">For the next step we go to <em>Firewall  –&gt; Rules</em> and we choose our VLAN.<br />
At this point there should be no rules configured for our VLAN. Press <em>Add</em> to add a new rule.<br />
<img src="http://i.imgur.com/RKHMCwS.png?1" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto"><em>Action</em>: Pass <em>Interface</em>: Your VLAN <em>Address Family</em>: IPv4<br />
<em>Protocol</em>: any   <em>Source</em>: VLAN_net     <em>Destination</em>: any<br />
<em>Description</em> can of course be anything you like. After that press <em>Save</em>.<br />
<img src="http://i.imgur.com/gjq1F7H.png?1" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto">We’ve now created an <em>Allow any/any rule</em>, so all traffic can go through this VLAN.<br />
Additional rules can be added per your own preference.<br />
<img src="http://i.imgur.com/qKWsvmf.png?1" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto">Now let’s go to our OpenWrt router/ap. Go to <em>Network  –&gt; Wireless</em>.<br />
Add your desired SSIDs here. For this tutorial I’ve created two 5GHz SSIDs and two 2.4GHz SSID’s.<br />
SSID: <em>test</em> and SSID: <em>test-guest</em>.<br />
<img src="http://i.imgur.com/l8M3WaC.png?1" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto">Now go to <em>Network  –&gt; Swtich</em>. The standard switch configuration on my TP-Link Archer C7 is below.<br />
Port 1 is WAN, port 2 -5 are LAN ports, CPU is eth1 and port 6 is eth0.<br />
<img src="http://i.imgur.com/QT3KkNd.png?1" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto">Press the <em>Add</em> button and choose the same <em>VLAN ID</em> as we’ve created on our pfSense box.<br />
The <em>CPU</em> port needs to be <em>tagged</em>, as well as the port that is connected to your pfSense box.<br />
<img src="http://i.imgur.com/2flj9TH.png?1" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto">After that we go to <em>Network  –&gt; Interfaces</em>. The screenshot below shows a standard interface layout.<br />
Click on the <em>Add new interface</em> button.<br />
<img src="http://i.imgur.com/ypEVbic.png?1" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto">Give the new interface a name and create a <em>Custom Interface</em>.<br />
The custom interface needs to be eth1, “dot”  VLAN ID.<br />
So in the case of VLAN ID 10 it needs to be: <em>eth1.10</em><br />
Press <em>submit</em>.<br />
<img src="http://i.imgur.com/Vbg9iY1.png?1" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto">You’ll be brought to the newly created interface after pressing <em>submit</em>.<br />
Now go to <em>Physical Settings</em> and tick the box to create a <em>bridge over the specified interface(s)</em>.<br />
Also tick the box of the VLAN (eth1.10) and choose the SSID you want the VLAN to be assigned to.<br />
I choose both the guest SSIDs, 5GHz and 2.4GHz. Click <em>Save</em> and <em>Apply</em>.<br />
<img src="http://i.imgur.com/wIVJqSC.png?1" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto">The new VLAN interface is now created and visible on the <em>Interface Overview</em>.<br />
At this point we’re ready! The guest SSID is connected to VLAN 10.<br />
<img src="http://i.imgur.com/FlYiJCW.png?1" alt="" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.netgate.com/topic/104277/tutorial-pfsense-openwrt-multiple-ssids-and-vlans</link><generator>RSS for Node</generator><lastBuildDate>Sat, 16 May 2026 15:27:37 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/104277.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 18 Aug 2016 11:38:47 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Tutorial - pfSense, OpenWrt - multiple SSIDs and VLANs on Fri, 21 Jun 2024 02:52:53 GMT]]></title><description><![CDATA[<p dir="auto">Oh.. would be wonderful to have a detailed update for DSA which replaced Openwrt's switch function. Not out of laziness, much easier to learn this way, following the steps and trying to make sense of it.</p>
<p dir="auto">Thanx</p>
]]></description><link>https://forum.netgate.com/post/1174261</link><guid isPermaLink="true">https://forum.netgate.com/post/1174261</guid><dc:creator><![CDATA[Flowi001]]></dc:creator><pubDate>Fri, 21 Jun 2024 02:52:53 GMT</pubDate></item><item><title><![CDATA[Reply to Tutorial - pfSense, OpenWrt - multiple SSIDs and VLANs on Tue, 04 Dec 2018 02:22:36 GMT]]></title><description><![CDATA[<p dir="auto">If you're not seeing the Forest by all the Trees you might need a break <img src="https://forum.netgate.com/assets/plugins/nodebb-plugin-emoji/emoji/android/1f601.png?v=717669fab53" class="not-responsive emoji emoji-android emoji--grin" style="height:23px;width:auto;vertical-align:middle" title=":grin:" alt="😁" /></p>
<p dir="auto">The solutions (yet at least for my problem) was as simple as it could be.</p>
<p dir="auto">On TPLink WDR 4300 with OpenWRT under "Network" - "Switch" Port 1 is the WAN. And this one should for all uplinked VLANs be tagged as even as the CPU is.</p>
<p dir="auto">Anyway, DHCP Server leases its adresses and at least my Problem is soluted.</p>
<p dir="auto">If anyone in the further should run into issues with OpenWRT on TPLink Routers but is sure that everything is accurate configured...check out the Switch Tab and make sure CPU &amp;&amp; WAN (this is Port 1) are both tagged.</p>
<p dir="auto">The CPU is the Routerboard itself and Port1 as mentioned above the Uplink on WAN for delivering the segmented VLANs.</p>
<p dir="auto">I am just still wondering why it worked with static IPs. The only way I might suggest would be that the CPU might have processed here? I am just a little bit unsure if this should be a "missed feature" or might be a bigger (security breaching / breachable ?) bug... It wasn't as fast as it was without VLAN Tags on pfSense and as fast as it responds now. So might it really have been the CPU that worked that missconfigured VLAN switching out in this case.. ?!?</p>
<hr />
<p dir="auto">BTW &amp; (at least) TPLink WDR4300 related: if your router isn't capable of VLAN for WIFI (you aint got a Wifi Port on the Switch Tab) you can check under the "Interfaces" Tab if it is bridged (br) on LAN.<br />
A simple workaround I did to get Wifi on a VLAN separated from LAN was to deconfigure the BRIDGE WIFI - LAN and take an unused Port (in my case the 4th and last one), bridge this to Wifi and put this port in a VLAN.<br />
This way you might separate your Wifi (2.4GHz or 5GHz or both as I did) from your LAN and be able to route it through a VLAN either.</p>
]]></description><link>https://forum.netgate.com/post/808761</link><guid isPermaLink="true">https://forum.netgate.com/post/808761</guid><dc:creator><![CDATA[BSA66]]></dc:creator><pubDate>Tue, 04 Dec 2018 02:22:36 GMT</pubDate></item><item><title><![CDATA[Reply to Tutorial - pfSense, OpenWrt - multiple SSIDs and VLANs on Tue, 04 Dec 2018 00:03:16 GMT]]></title><description><![CDATA[<p dir="auto">I'm just running in a very similar environment. Anybody got this solved?</p>
<p dir="auto">What I found out till now...but first my setup.</p>
<p dir="auto">pfsense with e.g. WIFI on VLAN20<br />
OpenWRT assigned and bridged, eth0.20 (VLAN ID 20)<br />
DHCP Server on pfSense set, range set etc.</p>
<p dir="auto">Anyway it works but just with an static IP assigned to the Client behind OpenWRT (TP-Link WDR4300, CC 15.05)</p>
<p dir="auto">The DHCP Server is not serving. Or at least what I found out is that there are none Requests forwarded to it.</p>
<p dir="auto">So as I see the Requests get stuck at OpenWRT Level as they are not reaching the pfSense. (FW Rule "default allow any" for VLAN-Interface created)</p>
<p dir="auto">I just read a bit and <strong>it might be</strong> that the additional package <em>relayd</em> could be a problem, read sth about this on a different router.</p>
<p dir="auto">Conclusions:</p>
<ul>
<li>
<p dir="auto">with a static IP on the Clientsite Clients get access to the Web</p>
</li>
<li>
<p dir="auto">DHCP Server is not serving / several Packet Captures for Port 67 &amp; 68 (DHCP) captured just nothing on the VLAN-Interface</p>
</li>
</ul>
<p dir="auto">Would be really appreciating if someone got an idea or yet even such a setup (OpenWRT via VLAN -&gt; DHCP Requests / leases) running...</p>
<p dir="auto">Thanks at all<br />
BSA66</p>
]]></description><link>https://forum.netgate.com/post/808730</link><guid isPermaLink="true">https://forum.netgate.com/post/808730</guid><dc:creator><![CDATA[BSA66]]></dc:creator><pubDate>Tue, 04 Dec 2018 00:03:16 GMT</pubDate></item><item><title><![CDATA[Reply to Tutorial - pfSense, OpenWrt - multiple SSIDs and VLANs on Thu, 15 Jun 2017 14:21:22 GMT]]></title><description><![CDATA[<p dir="auto">Hi, I need exactly this, and after doing it, I'm stucked at the point that my clients are not being assigned their IP addresses….</p>
<p dir="auto">Anything we should take in to consideration?, firewall rules?, interface bridging?, etc.</p>
]]></description><link>https://forum.netgate.com/post/705970</link><guid isPermaLink="true">https://forum.netgate.com/post/705970</guid><dc:creator><![CDATA[pablot]]></dc:creator><pubDate>Thu, 15 Jun 2017 14:21:22 GMT</pubDate></item><item><title><![CDATA[Reply to Tutorial - pfSense, OpenWrt - multiple SSIDs and VLANs on Thu, 18 May 2017 10:45:26 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for the very good tutorial, panja. I am using a Wndr3700v2 with Lede 17.01 as operating system. I followed your tutorial but pfsense does not assign an IP-address to machines on the guest wifi. If I assign a Ip-address on the machine, it can connect to the network, but not the internet. (All machines connect via openvpn-client running on pfsense).</p>
<p dir="auto">I bridged the wan port on the AP (Lede) to the lan-interface (to make use of it) and deleted the wan and ipv6 inteface as I don't need them.<br />
Might that be a problem? Or maybe I configured the vlan wrong? Take a look at my setup:<br />
http://imgur.com/EdjDRfi<br />
(Lan1 is connected to pfsense)</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kiowadriver">@<bdi>kiowadriver</bdi></a>: Does the dir-645 run stable with openwrt for you? I tried v.15.05 on my dir 645 some time ago and the wifi was way too slow to be usable. That's why I bought a new router as AP last week (the vanilla software on the dir-645 has not been updated in two years…)</p>
]]></description><link>https://forum.netgate.com/post/700425</link><guid isPermaLink="true">https://forum.netgate.com/post/700425</guid><dc:creator><![CDATA[beatstick]]></dc:creator><pubDate>Thu, 18 May 2017 10:45:26 GMT</pubDate></item><item><title><![CDATA[Reply to Tutorial - pfSense, OpenWrt - multiple SSIDs and VLANs on Wed, 19 Apr 2017 15:11:48 GMT]]></title><description><![CDATA[<p dir="auto">This is a great tutorial.</p>
<p dir="auto"><strong>I have the following hardware &amp; software:</strong><br />
SG-2220 - pfsense<br />
DIR-645 Running OpenWRT (latest) - running two SSID for HOME and GUEST networks<br />
HW Procurve 1810G-24 port managed switch</p>
<p dir="auto">My pfsense router is connected to the WAN, then to the managed switch (LAN) on port 1<br />
my DIR-645 is connected to the managed switch (LAN) on port 2</p>
<p dir="auto">I followed the tutorial and my guest users get an IP (eventually) over DHCP but have no DNS, LAN, or internet traffic</p>
<p dir="auto"><strong>I assume that I need to setup something in the managed switch correct? ???</strong></p>
]]></description><link>https://forum.netgate.com/post/694281</link><guid isPermaLink="true">https://forum.netgate.com/post/694281</guid><dc:creator><![CDATA[kiowadriver]]></dc:creator><pubDate>Wed, 19 Apr 2017 15:11:48 GMT</pubDate></item></channel></rss>