Community discussions

 
learnyee
newbie
Topic Author
Posts: 31
Joined: Fri May 20, 2016 8:55 pm

PCC & NTH Qestion

Fri Nov 11, 2016 9:24 pm

ok, I know this is a beaten to death topic as there are many question on it but I need some help still.

I am trying to setup a load balancing for 2 WAN link, 10Mbps + 3Mbps (it is odd, I know) and I need to use PCC to have persistent HTTPS connection (meaning same WAN out all the time for a session initiated from a local host), Using NTH is easy but how should I put it using PCC?

add action=mark-connection chain=prerouting comment="" disabled=no dst-address-type=!local new-connection-mark=WAN1_IN passthrough=yes per-connection-classifier=both-addresses-and-ports:??/?? src-address=10.0.0.1-10.0.0.255

add action=mark-connection chain=prerouting comment="" disabled=no dst-address-type=!local new-connection-mark=WAN2_IN passthrough=yes per-connection-classifier=both-addresses-and-ports:??/?? src-address=10.0.0.1-10.0.0.255

any help?

PS: beside HTTPS, the rest of the traffic is Load balance using NTH which is much easier:

add action=mark-connection chain=prerouting comment="myMark" connection-state=new disabled=no new-connection-mark="TO_WAN1" passthrough=no nth=2,1
add action=mark-connection chain=prerouting comment="myMark" connection-state=new disabled=no new-connection-mark="TO_WAN2" passthrough=no nth=2,1
add action=mark-connection chain=prerouting comment="myMark" connection-state=new disabled=no new-connection-mark="TO_WAN1"

Who is online

Users browsing this forum: No registered users and 8 guests