Thanks for your contribution and your time!
I've added some comments and made the naming conventions more consistance.
Would you please check if everything is alright?
I've added some comments and made the naming conventions more consistance.
Would you please check if everything is alright?
Code:
# 1. Add Routing Tables/routing table add fib name=to-dorm/routing table add fib name=to-LTE# 2. Add firewall Mangle Rules# 3 Connections: 2 over LTE / 1 over ether1## Step 2.1.: mark-connection/ip firewall mangleadd action=mark-connection chain=prerouting connection-mark=no-mark \ dst-address-type=!local in-interface-list=LAN new-connection-mark=to-LTE \ passthrough=yes per-connection-classifier=src-address-and-port:3/0add action=mark-connection chain=prerouting connection-mark=no-mark \ dst-address-type=!local in-interface-list=LAN new-connection-mark=to-dorm \ passthrough=yes per-connection-classifier=src-address-and-port:3/1add action=mark-connection chain=prerouting connection-mark=no-mark \ dst-address-type=!local in-interface-list=LAN new-connection-mark=to-LTE \ passthrough=yes per-connection-classifier=src-address-and-port:3/2## Step 2.2.: mark-routing # Add Mark Routing Rulesadd action=mark-routing chain=prerouting connection-mark=to-LTE \ new-routing-mark=to-LTE passthrough=noadd action=mark-routing chain=prerouting connection-mark=to-dorm \ new-routing-mark=to-dorm passthrough=no# 3. Add IP Routes# Note: Replace <add-dorm1-gateway-IP> with the actual IP address/ip/routeadd dst-address=0.0.0.0/0 gateway=<add-dorm1-gateway-IP> routing-table=to-dormadd dst-address=0.0.0.0/0 gateway=lte1 routing-table=to-LTE
Statistics: Posted by p0p — Thu Feb 29, 2024 12:58 am