Hi everyone,
I'm having a problem, i have 2 internet providers which i configured a PCC load balance for, the problem is that i have a Koha server accesible through internet, but it logs me out because it says that the ip changed. Assuming the load balance is the problem, how could i solve this?
Using internet from my mobile phone works fine, but when using internet from my local network gives me the problem, thats why i assume there a problem with my configuration.
I'm having a problem, i have 2 internet providers which i configured a PCC load balance for, the problem is that i have a Koha server accesible through internet, but it logs me out because it says that the ip changed. Assuming the load balance is the problem, how could i solve this?
Using internet from my mobile phone works fine, but when using internet from my local network gives me the problem, thats why i assume there a problem with my configuration.
Code:
/ip firewall mangleadd action=accept chain=prerouting comment=\ "No Balancear Trafico Privado" dst-address-list=RFC1918 \ src-address-list=RFC1918add action=accept chain=prerouting dst-address=x.x.x.x \ in-interface-list=LANadd action=accept chain=prerouting dst-address=x.x.x.x \ in-interface-list=LANadd action=mark-connection chain=prerouting comment=\ "Marcado de Conexiones Originadas en Internet" connection-mark=\ no-mark connection-state=new in-interface=ether1-WAN1 \ new-connection-mark=WAN1_conn passthrough=yesadd action=mark-connection chain=prerouting connection-mark=no-mark \ connection-state=new in-interface=ether2-WAN2 new-connection-mark=\ WAN2_conn passthrough=yesadd action=mark-routing chain=output connection-mark=WAN1_conn \ new-routing-mark=ISP1 passthrough=yesadd action=mark-routing chain=output connection-mark=WAN2_conn \ new-routing-mark=ISP2 passthrough=yesadd action=mark-connection chain=prerouting connection-mark=no-mark \ connection-state=new dst-address-type=!local in-interface=bridge1 \ new-connection-mark=WAN1_conn passthrough=yes \ per-connection-classifier=both-addresses-and-ports:7/0add action=mark-connection chain=prerouting connection-mark=no-mark \ connection-state=new dst-address-type=!local in-interface=bridge1 \ new-connection-mark=WAN1_conn passthrough=yes \ per-connection-classifier=both-addresses-and-ports:7/1add action=mark-connection chain=prerouting connection-mark=no-mark \ connection-state=new dst-address-type=!local in-interface=bridge1 \ new-connection-mark=WAN1_conn passthrough=yes \ per-connection-classifier=both-addresses-and-ports:7/2add action=mark-connection chain=prerouting connection-mark=no-mark \ connection-state=new dst-address-type=!local in-interface=bridge1 \ new-connection-mark=WAN1_conn passthrough=yes \ per-connection-classifier=both-addresses-and-ports:7/3add action=mark-connection chain=prerouting connection-mark=no-mark \ connection-state=new dst-address-type=!local in-interface=bridge1 \ new-connection-mark=WAN1_conn passthrough=yes \ per-connection-classifier=both-addresses-and-ports:7/4add action=mark-connection chain=prerouting connection-mark=no-mark \ connection-state=new dst-address-type=!local in-interface=bridge1 \ new-connection-mark=WAN2_conn passthrough=yes \ per-connection-classifier=both-addresses-and-ports:7/5add action=mark-connection chain=prerouting connection-mark=no-mark \ connection-state=new dst-address-type=!local in-interface=bridge1 \ new-connection-mark=WAN2_conn passthrough=yes \ per-connection-classifier=both-addresses-and-ports:7/6add action=mark-routing chain=prerouting connection-mark=WAN1_conn \ in-interface=bridge1 new-routing-mark=ISP1 passthrough=noadd action=mark-routing chain=prerouting connection-mark=WAN2_conn \ in-interface=bridge1 new-routing-mark=ISP2 passthrough=no
Statistics: Posted by ctorres — Mon Feb 12, 2024 7:43 pm