Before Start Load balancing change WAN Ip address according to your need.
Add Evo 3g Usb Dongle and set user name and password on pppoe client to access internet.
Add Evo 3g Usb Dongle and set user name and password on pppoe client to access internet.
/ip addressadd address=10.0.2.2/24interface=wan2add address=192.168.5.1/24interface=Local/ip firewall natadd chain=srcnat out-interface=pppoe-out1 action=masqueradeadd chain=srcnat out-interface=wan2 action=masquerade/ip firewall mangleadd chain=prerouting in-interface=pppoe-out1 connection-state=newnew-connection-mark=pppoe-out1_conn action=mark-connection passthrough=yesadd chain=prerouting in-interface=wan2 connection-state=newnew-connection-mark=ether2_conn action=mark-connection passthrough=yesadd chain=output connection-mark=pppoe-out1_connnew-routing-mark=to_pppoe-out1 action=mark-routing passthrough=yesadd chain=output connection-mark=ether2_connnew-routing-mark=to_ether2 action=mark-routing passthrough=yes/ip firewall mangleadd chain=prerouting in-interface=Local connection-state=newdst-address-type=!local per-connection-classifier=both-addresses:2/0 action=mark-connectionnew-connection-mark=pppoe-out1_conn passthrough=yesadd chain=prerouting in-interface=Local connection-state=newdst-address-type=!local per-connection-classifier=both-addresses:2/1 action=mark-connectionnew-connection-mark=ether2_conn passthrough=yesadd chain=prerouting in-interface=Local connection-mark=pppoe-out1_conn action=mark-routingnew-routing-mark=to_pppoe-out1 passthrough=yesadd chain=prerouting in-interface=Local connection-mark=ether2_conn action=mark-routingnew-routing-mark=to_ether2 passthrough=yes/ip firewall mangleadd chain=prerouting dst-address=10.0.2.0/24 action=accept in-interface=ether5/ip routeadd gateway=pppoe-out1 distance=1add gateway=10.0.2.1 check-gateway=ping distance=2/ip routeadd gateway=pppoe-out1 routing-mark=to_pppoe-out1add gateway=10.0.2.1 routing-mark=to_ether2 check-gateway=ping
Post a Comment