update Mr.Fewi
/ip firewall mangle
add action=mark-connection chain=input comment="" disabled=yes in-interface=ether8 new-connection-mark=internet1_conn passthrough=yes
add action=mark-connection chain=input comment="" disabled=yes in-interface=pppoe-out1 new-connection-mark=internet2_conn passthrough=yes
add action=mark-routing chain=output comment="" connection-mark=internet1_conn disabled=yes new-routing-mark=to_internet1 passthrough=yes
add action=mark-routing chain=output comment="" connection-mark=internet2_conn disabled=yes new-routing-mark=to_internet2 passthrough=yes
add action=accept chain=prerouting comment="" disabled=yes dst-address-type=!local in-interface=Local per-connection-classifier=both-addresses:2/0
add action=accept chain=prerouting comment="" disabled=yes dst-address-type=!local in-interface=Local per-connection-classifier=both-addresses:2/1
add action=mark-connection chain=prerouting comment="" disabled=yes dst-address-type=!local new-connection-mark=internet1_conn passthrough=yes \
per-connection-classifier=both-addresses:2/0
add action=mark-connection chain=prerouting comment="" disabled=yes dst-address-type=!local new-connection-mark=internet2_conn passthrough=yes \
per-connection-classifier=both-addresses:2/1
add action=mark-routing chain=prerouting comment="" connection-mark=internet1_conn disabled=yes in-interface=Local new-routing-mark=to_internet1 passthrough=yes
add action=mark-routing chain=prerouting comment="" connection-mark=internet2_conn disabled=yes in-interface=Local new-routing-mark=to_internet2 passthrough=yes
/ip firewall nat
add action=passthrough chain=unused-hs-chain comment="place hotspot rules here" disabled=yes
add action=masquerade chain=srcnat comment="" disabled=no out-interface=ether8
add action=masquerade chain=srcnat comment="" disabled=no out-interface=pppoe-out1
add action=masquerade chain=srcnat comment="masquerade hotspot network" disabled=no src-address=10.2.50.0/24
/ip route
add check-gateway=ping comment="very important_1" disabled=no distance=1 dst-address=0.0.0.0/0 gateway=192.168.1.254 routing-mark=to_internet1 scope=30 target-scope=10
add check-gateway=ping comment="very important_2" disabled=no distance=1 dst-address=0.0.0.0/0 gateway=pppoe-out1 routing-mark=to_internet2 scope=30 target-scope=10
add check-gateway=ping comment="very important" disabled=no distance=1 dst-address=0.0.0.0/0 gateway=192.168.1.254,pppoe-out1 scope=30 target-scope=10
Ok thats all
i have problem now with ether8"wan2" i should make it disable ..
i need some firewall that make all authentication in or out go from pppoe-out1
and if you see some wrong please tell me to fix it...
regards