I think I figured it out. I modified the rules:to
LAN address list contains the wireguard subnet and now I can access devices in the 192.168.0.0/24.
Do you see a problem with this implementation?
Code:
add action=mark-routing chain=prerouting dst-address-type=!local \ new-routing-mark=to_ISP1 passthrough=yes src-address-list=WAN_1_local_ipsadd action=mark-routing chain=prerouting dst-address-type=!local \ new-routing-mark=to_ISP2 passthrough=yes src-address-list=WAN_2_local_ipsadd action=mark-routing chain=prerouting dst-address-type=!local \ new-routing-mark=to_ISP3 passthrough=yes src-address-list=WAN_3_local_ipsadd action=mark-routing chain=prerouting dst-address-type=!local \ new-routing-mark=to_ISP4 passthrough=yes src-address-list=WAN_4_local_ipsadd action=mark-routing chain=prerouting dst-address-type=!local \ new-routing-mark=to_STARLINK passthrough=yes src-address-list=\ WAN_5_local_ips
Code:
add action=mark-routing chain=prerouting dst-address-list=!LAN \ dst-address-type=!local new-routing-mark=to_ISP1 passthrough=yes \ src-address-list=WAN_1_local_ipsadd action=mark-routing chain=prerouting dst-address-list=!LAN \ dst-address-type=!local new-routing-mark=to_ISP2 passthrough=yes \ src-address-list=WAN_2_local_ipsadd action=mark-routing chain=prerouting dst-address-list=!LAN \ dst-address-type=!local new-routing-mark=to_ISP3 passthrough=yes \ src-address-list=WAN_3_local_ipsadd action=mark-routing chain=prerouting dst-address-list=!LAN \ dst-address-type=!local new-routing-mark=to_ISP4 passthrough=yes \ src-address-list=WAN_4_local_ipsadd action=mark-routing chain=prerouting dst-address-type=!local \ new-routing-mark=to_STARLINK passthrough=yes src-address-list=\ WAN_5_local_ips
Do you see a problem with this implementation?
Statistics: Posted by damdim — Wed Dec 20, 2023 1:00 pm