Community discussions

MikroTik App
 
MrIC
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 66
Joined: Tue Jan 13, 2009 11:34 pm

help with PCC load balance + mikrotik proxy

Sun Jul 11, 2010 7:24 pm

hello
i have RB 750G
also i have 4 lines each one 2mb
i'm using the routerboard to load balance those 4 lines
i tried to active web proxy but when i did that i got only one line works
so i need help to active 4lines with PCC method + web proxy

can some one help me with this ?
this is my config " only load balance "
/ ip address
add address=10.5.50.1/24 interface=Local comment=OUT
add address=192.168.5.5/24 interface=WAN1 comment=Line1
add address=192.168.10.5/24 interface=WAN2 comment=Line2
add address=192.168.15.5/24 interface=WAN3 comment=Line3
add address=192.168.20.5/24 interface=WAN4 comment=Line4

/ ip firewall mangle
add chain=input in-interface=WAN1 action=mark-connection new-connection-mark=WAN1_conn
add chain=input in-interface=WAN2 action=mark-connection new-connection-mark=WAN2_conn
add chain=input in-interface=WAN3 action=mark-connection new-connection-mark=WAN3_conn
add chain=input in-interface=WAN4 action=mark-connection new-connection-mark=WAN4_conn

add chain=output connection-mark=WAN1_conn action=mark-routing new-routing-mark=WAN1
add chain=output connection-mark=WAN2_conn action=mark-routing new-routing-mark=WAN2
add chain=output connection-mark=WAN3_conn action=mark-routing new-routing-mark=WAN3
add chain=output connection-mark=WAN4_conn action=mark-routing new-routing-mark=WAN4
     
add chain=prerouting dst-address-type=!local in-interface=Local per-connection-classifier=both-addresses:4/0 action=mark-connection new-connection-mark=WAN1_conn passthrough=yes
add chain=prerouting dst-address-type=!local in-interface=Local per-connection-classifier=both-addresses:4/1 action=mark-connection new-connection-mark=WAN2_conn passthrough=yes
add chain=prerouting dst-address-type=!local in-interface=Local per-connection-classifier=both-addresses:4/2 action=mark-connection new-connection-mark=WAN3_conn passthrough=yes
add chain=prerouting dst-address-type=!local in-interface=Local per-connection-classifier=both-addresses:4/3 action=mark-connection new-connection-mark=WAN4_conn passthrough=yes

add chain=prerouting connection-mark=WAN1_conn in-interface=Local action=mark-routing new-routing-mark=WAN1
add chain=prerouting connection-mark=WAN2_conn in-interface=Local action=mark-routing new-routing-mark=WAN2
add chain=prerouting connection-mark=WAN3_conn in-interface=Local action=mark-routing new-routing-mark=WAN3
add chain=prerouting connection-mark=WAN4_conn in-interface=Local action=mark-routing new-routing-mark=WAN4

/ ip route
add dst-address=0.0.0.0/0 gateway=192.168.5.1 routing-mark=WAN1 check-gateway=ping
add dst-address=0.0.0.0/0 gateway=192.168.10.1 routing-mark=WAN2 check-gateway=ping
add dst-address=0.0.0.0/0 gateway=192.168.15.1 routing-mark=WAN3 check-gateway=ping
add dst-address=0.0.0.0/0 gateway=192.168.20.1 routing-mark=WAN4 check-gateway=ping

add dst-address=0.0.0.0/0 gateway=192.168.5.1 distance=1 check-gateway=ping
add dst-address=0.0.0.0/0 gateway=192.168.10.1 distance=2 check-gateway=ping
add dst-address=0.0.0.0/0 gateway=192.168.15.1 distance=3 check-gateway=ping
add dst-address=0.0.0.0/0 gateway=192.168.20.1 distance=4 check-gateway=ping

/ ip firewall nat 
add chain=srcnat out-interface=WAN1 action=masquerade
add chain=srcnat out-interface=WAN2 action=masquerade
add chain=srcnat out-interface=WAN3 action=masquerade
add chain=srcnat out-interface=WAN4 action=masquerade
sorry for my english :oops:
thanks in advance
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: help with PCC load balance + mikrotik proxy

Sun Jul 11, 2010 7:36 pm

Search the forums, this has been answered several times in the past. You also have to use PCC on the output chain as the proxy doesn't get caught by the wiki example.
 
MrIC
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 66
Joined: Tue Jan 13, 2009 11:34 pm

Re: help with PCC load balance + mikrotik proxy

Wed Jul 14, 2010 3:36 pm

Search the forums, this has been answered several times in the past. You also have to use PCC on the output chain as the proxy doesn't get caught by the wiki example.
ok can u help mr with link?
i searched and found some topics but not working too :(

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot], intania, maigonis and 106 guests