I'm running a hostpot in my network with 2 WANs, but after PCC load balancing my client can not access to the portal, If i turn off the PCC load balancing script everthing work well but the connection just through wan 1. I have some google searches they told me that add hotspot=auth but It seems did not work with me.
Here is my LB configuration, hope you guys will help me with this matter!
Code: Select all
/ip firewall mangle add action=mark-connection chain=input in-interface=pppoe-out1 new-connection-mark=WAN1_conn passthrough=yes add action=mark-connection chain=input in-interface=pppoe-out2 new-connection-mark=WAN2_conn passthrough=yes add action=mark-routing chain=output connection-mark=WAN1_conn new-routing-mark=to_WAN1 passthrough=yes add action=mark-routing chain=output connection-mark=WAN2_conn new-routing-mark=to_WAN2 passthrough=yes add action=mark-connection chain=prerouting dst-address-list=!connected-subnets dst-address-type=!local [b]hotspot=auth[/b] in-interface-list=all-lans \ new-connection-mark=WAN1_conn passthrough=yes per-connection-classifier=both-addresses:2/0 add action=mark-connection chain=prerouting dst-address-list=!connected-subnets dst-address-type=!local [b]hotspot=auth[/b] in-interface-list=all-lans new-connection-mark=\ WAN2_conn passthrough=yes per-connection-classifier=both-addresses:2/2 add action=mark-routing chain=prerouting connection-mark=WAN1_conn in-interface-list=all-lans new-routing-mark=to_WAN1 passthrough=yes add action=mark-routing chain=prerouting connection-mark=WAN2_conn in-interface-list=all-lans new-routing-mark=to_WAN2 passthrough=yes /ip route add check-gateway=ping distance=1 gateway=pppoe-out1 routing-mark=to_WAN1 add check-gateway=ping distance=1 gateway=pppoe-out2 routing-mark=to_WAN2 add distance=1 gateway=pppoe-out1 add distance=2 gateway=pppoe-out2