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.
/ip firewall mangle
add action=accept chain=prerouting comment=\
"No Balancear Trafico Privado" dst-address-list=RFC1918 \
src-address-list=RFC1918
add action=accept chain=prerouting dst-address=x.x.x.x \
in-interface-list=LAN
add action=accept chain=prerouting dst-address=x.x.x.x \
in-interface-list=LAN
add 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=yes
add action=mark-connection chain=prerouting connection-mark=no-mark \
connection-state=new in-interface=ether2-WAN2 new-connection-mark=\
WAN2_conn passthrough=yes
add action=mark-routing chain=output connection-mark=WAN1_conn \
new-routing-mark=ISP1 passthrough=yes
add action=mark-routing chain=output connection-mark=WAN2_conn \
new-routing-mark=ISP2 passthrough=yes
add 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/0
add 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/1
add 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/2
add 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/3
add 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/4
add 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/5
add 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/6
add action=mark-routing chain=prerouting connection-mark=WAN1_conn \
in-interface=bridge1 new-routing-mark=ISP1 passthrough=no
add action=mark-routing chain=prerouting connection-mark=WAN2_conn \
in-interface=bridge1 new-routing-mark=ISP2 passthrough=no