I have a Mikrotik 2011UAS-2HnD. And Ive just created a second Virtual AP. I want all traffic on that Virtual AP to go through my pfsense VM which is running on a server connected to the Mikrotik. So what Ive done is as follows:
Created Virtual AP
Created VLAN and assigned it to the interface the pfsense VM is connected to
Created a bridge and assigned the virtual AP and vlan interface
This works, kinda. Clients connecting to the Virtual AP gets an IP assigned by the DHCP server from pfsense, and I can see traffic running through the VLAN Firewall on pfsense. The clients can ping any part of the network (that the pfsense firewall permits), however the clients can not get any internet access. A traceroute shows the following:
traceroute to 8.8.8.8 (8.8.8.8), 64 hops max, 52 byte packets
1 10.10.60.1 (10.10.60.1) 1.399 ms 1.163 ms 0.984 ms
2 10.0.0.1 (10.0.0.1) 2.887 ms 1.298 ms 1.359 ms
10.10.60.1 is the pfsense vlan address, and 10.0.0.1 is on the Mikrotik side. The next jump should be to my ISP.
I’m assuming I’m missing something obvious here, but I cant figure out what it is.
I’ve been wrapping my head around this all day long. So frustrating as Im sure there’s something fundamental Im not getting. Clients can connect to the virtual AP, they get an IP from the pfsense DHCP, they pass the proper pfsense VLAN firewall, and reach the Mikrotik Gateway, but then it stops there instead of proceeding out the internet.
Yep, it’s there. All other interfaces have a working internet connection, it’s just traffic on that Virtual AP that has this issue, and that issue is only there when using the vlan, routing it through pfsense.
Thanks for the suggestion, but do I really want to apply that masquerade to all traffic coming from 10.0.0.0/24? I have a bunch of other vlans on the pfsense box and they all go through the mikrotik on 10.0.0.1.