❤❤Internet Cable Cut from isp auto Shift Traffic to Wireless | how to shift internet from wan1 to ❤❤

Thu, 23 Jan 2025 17:19:45 +0000

⁣/interface ethernet
set [ find default-name=ether5 ] name=LAN-Out
set [ find default-name=ether1 ] name="WAN1-Fiber Link"
set [ find default-name=ether2 ] name="WAN2-Power Beam"

/ip pool
add name=PppoE ranges=10.10.10.2-10.10.10.254

/ppp profile
add local-address=192.168.88.1 name=2MB only-one=yes rate-limit=2M/2M \
remote-address=PppoE

/interface pppoe-server server
add disabled=no interface=LAN-Out one-session-per-host=yes service-name=\
service1
/ip address
add address=192.168.88.1/24 interface=LAN-Out network=192.168.88.0
add address=192.168.101.2/24 interface="WAN1-Fiber Link" network=\
192.168.101.0
add address=192.168.102.2/24 interface="WAN2-Power Beam" network=\
192.168.102.0

/ip dns
set allow-remote-requests=yes servers=8.8.8.8,8.8.4.4
/ip firewall address-list
add address=10.10.10.0-10.10.10.254 list=PppoE
/ip firewall mangle
add action=mark-routing chain=prerouting new-routing-mark=to_PppoE \
passthrough=yes src-address-list=PppoE
/ip firewall nat
add action=masquerade chain=srcnat src-address-list=PppoE
/ip route
add check-gateway=ping comment="(2nd)Recursive wan1" distance=1 gateway=\
8.8.8.8 routing-mark=to_PppoE target-scope=30
add check-gateway=ping comment="(2nd)Recursive wan2" distance=2 gateway=\
8.8.4.4 routing-mark=to_PppoE target-scope=30
add comment="(1st)DNS + Gatway WAN2" distance=1 dst-address=8.8.4.4/32 \
gateway=192.168.102.1
add comment="(1st)DNS + Gatway WAN1" distance=1 dst-address=8.8.8.8/32 \
gateway=192.168.101.1
/ppp secret
add local-address=192.168.88.1 name=Ali password=14 profile=2MB service=pppoe