OPNsense Forum

English Forums => Tutorials and FAQs => Topic started by: ufoloop on September 22, 2022, 10:39:59 pm

Title: How to set up OPNsense with external access point
Post by: ufoloop on September 22, 2022, 10:39:59 pm
I have OPNsense running in an ESXi VM. A 4 port NIC is passed through to the VM. LAN is on em0, WAN on em1. I have a managed switch and a TP LINK wireless router. I put the wireless router into access point mode with a static IP on the same subnet as OPNsense, DHCP is turned off on the wireless router. What I want to achieve is to get a working access point. The wireless router would be connected to the switch, OPNsense would be connected to the switch over LAN. How must I configure OPNsense to get internet traffic on the access point?

Thanks.
Title: Re: How to set up OPNsense with external access point
Post by: Patrick M. Hausen on September 22, 2022, 10:46:43 pm
Not at all. If OPNsense has got a running DHCP server on LAN, everything will "just work". An access point is a layer 2 (bridge) device.
Title: Re: How to set up OPNsense with external access point
Post by: ufoloop on September 23, 2022, 07:25:13 am
So should the access point get an IP from the DHCP server instead having a static IP?
Title: Re: How to set up OPNsense with external access point
Post by: Bob.Dig on September 23, 2022, 08:17:33 am
So should the access point get an IP from the DHCP server instead having a static IP?
No, has nothing to do with the question above... Has your switch internet? If yes, your AP should have to.
Title: Re: How to set up OPNsense with external access point
Post by: ufoloop on September 24, 2022, 11:22:53 am
Just a feedback, my setup works as the two authors above said it would work.

To sum up: OPNsense is in a VM, LAN is running a DHCP server, WAN is over PPPOE. The wireless router is in access point mode (TP-LINK AX50), has a static IP with same subnet as LAN and DHCP turned off, Gateway on the wireless router set with the IP of LAN. The wireless router and OPNsense (LAN) are connected to the switch.
Title: Re: How to set up OPNsense with external access point
Post by: warhawk8080 on October 03, 2022, 01:00:52 am
Easy way to make a wifi router into a wireless LAN AP

Set a static ip on the internal network outside the OPNsense DHCP address pool
Turn off wifi router DHCP (OPNsense will be assigning DHCP)
Setup wifi parameters inside wifi router webgui (make sure isolation is NOT turned on in wifi security, LAN must be able to talk to WIFI)

Then connect your home LAN cable to ONLY the LAN port

Done

(http://)
Title: Re: How to set up OPNsense with external access point
Post by: versionDefect on December 18, 2022, 11:56:39 am
Hey all,

I’m doing something SUPER similar to the original thread but is it possible to use two different APs?

I have two hardwired orbi routers i’m kicking into AP mode

And i just ordered a PoE Ubiquiti AP Pro. How would you setup two? is there a different way to do it? I’m throwing the Ubiquti AP either downstairs or in the patio. but i want them both to be handing off the network to which ever is closer if that makes sense.

Thanks!
Title: Re: How to set up OPNsense with external access point
Post by: Patrick M. Hausen on December 18, 2022, 02:23:08 pm
You can have as many APs as you like as long as they are all in AP (bridge) mode, don't have a DHCP server running, and are all connected to the same network (switch).
Title: Re: How to set up OPNsense with external access point
Post by: versionDefect on December 20, 2022, 07:46:37 am
worked like a charm. Was expecting it to be a lot harder LOL.