Community discussions

 
ik3umt
Member Candidate
Member Candidate
Topic Author
Posts: 248
Joined: Tue Jul 08, 2014 3:58 pm

PCC when multiple LANs

Fri Mar 24, 2017 3:49 pm

I'm using succesfully the following rules for PCC dual-wan :
add chain=prerouting action=mark-connection new-connection-mark=WAN1_conn passthrough=yes connection-state=new protocol=tcp dst-address-type=!local in-interface=ether1 dst-port=!443 per-connection-classifier=both-addresses-and-ports:2/0  
add chain=prerouting action=mark-connection new-connection-mark=WAN2_conn passthrough=yes connection-state=new protocol=tcp dst-address-type=!local in-interface=ether1 dst-port=!443 per-connection-classifier=both-addresses-and-ports:2/1
add chain=prerouting action=mark-routing new-routing-mark=to_WAN1 passthrough=no connection-mark=WAN1_conn in-interface=ether1  
add chain=prerouting action=mark-routing new-routing-mark=to_WAN2 passthrough=no connection-mark=WAN2_conn in-interface=ether1  
Assuming a single LAN on
in-interface=ether1
But what if I have more LANs on eth1, eth2, eth3 ecc. ???

Thank you !
 
nemanja82
newbie
Posts: 30
Joined: Tue Nov 13, 2012 2:08 am

Re: PCC when multiple LANs

Fri Mar 24, 2017 3:58 pm

in that case you can for each LAN make mangle rule or summary entire subnet in one.

Sent from my SM-G531F using Tapatalk
 
ik3umt
Member Candidate
Member Candidate
Topic Author
Posts: 248
Joined: Tue Jul 08, 2014 3:58 pm

Re: PCC when multiple LANs

Fri Mar 24, 2017 5:02 pm

or summary entire subnet in one.
What do you mean with this ?
 
ryba84
just joined
Posts: 10
Joined: Sat Feb 07, 2015 1:18 pm

Re: PCC when multiple LANs

Fri Mar 24, 2017 6:01 pm

Or do it on interface lists and address lists.

Wysłane z mojego SM-J710F przy użyciu Tapatalka

Who is online

Users browsing this forum: MSN [Bot], vodokotlic and 75 guests