I have puzzled over this for a couple months and trolled forums and I still can not find an example that helps me.
I want to run two Hotspots on a single Mikrotik. I want to have two Wan Interfaces on this Mikrotik. I want Hotspot 1 to route out Wan1 only. I want Hotspot 2 to route out Wan 2 only. I realize Wan 1 and Wan 2 are on the same subnet. The reason for this is because the Mikrotik sits behind a firewall that does filtering of services based on ip address. I want to filter adult content and streaming on Hotspot 1 and allow all traffic for Hotspot 2. Right now I am doing this with two separate Mikrotiks. We are offering a free network and a paid network in a hotel. So my question is how do I set up the Mikrotik to do this?
Upstream firewall 10.3.2.1/24 on it’s Lan port and Public on it’s Wan
I am not worried about the hotspot setup I have that figured out. I just need to figure out the routing. I am guessing I need to mark packets with mangle somehow but I am not sure where to start. Any advice would be hugley appriciated
I am not sure how to create a default route for the hot spot. In winbox if I go to ip > default route is there an option to select hotspot network. Please explain what you mean.
2 ssid’s
2 vlans
2 hotspots
1 vlan per hotspot
hotspot one uses usermanager and paypal for paid services.
hotspot two uses-in bedded password in ua and a shared guest account for authentication in hotspot users. users click on i agree button.
both hotspots reside on same mikrotik
mikrotik has two wan interfaces
hotspot one egresses out wan1
hotspot two egresses out wan2
both wan 1 and wan2 have the same default gateway. the upstream router ie 10.3.2.1
upstream router does content filtering based on ip so mikrotik wan1 is 10.3.2.2 and wan2 is 10.3.2.3
upstream router filters content on 10.3.2.2 only not 10.3.2.3
this is why i want to figure out how to make hotspot 1 egress out wan1 only and make hotspot 2 egress out wan2 only.
I am trying to create two separate mikrotik units into one so i can apply separate policies to hotspots.
I have tried this before in nat saying hotspot subnet 1 out interface wan1 hotspot subnet 2 out interface wan2 but it did not work.
I then did some work on load balancing dual wan on mikrotik wich i had to do some mangling and packet marking to get to work.
I assume I need a similar setup to load balancing but make sure that i don’t load balance