Really well done for the most part....... dst address needs to be gone, and needs to be enabled!
Modify this
/routing rule
add action=lookup-only-in-table comment="MY SMARTPHONE TO WG VM16 DOCKER" disabled=yes dst-address=0.0.0.0/0 \
src-address=10.2.1.197/32 table=_wg_vm16_docker
TO
/routing rule
add action=lookup-only-in-table comment="MY SMARTPHONE TO WG VM16 DOCKER" disabled=no \
src-address=10.2.1.197/32 table=_wg_vm16_docker
Ensure your smart phone IP address is fixed static on the dhcp router leases. Its an iphone you will need to turn off the hide my IP option for the connection to the SSID in question.
The mangle rule is a good idea whenever as a client an MT router connects to a different ilk of server.
Modify your route from this ( distance not required, its a separate table )
add comment="ROUTE VM16 DOCKER" disabled=no distance=20 dst-address=0.0.0.0/0 gateway=\
wireguard-vm16-docker pref-src="" routing-table=_wg_vm16_docker scope=30 suppress-hw-offload=no \
target-scope=10
TO:
add comment="ROUTE VM16 DOCKER" dst-address=0.0.0.0/0 gateway=\
wireguard-vm16-docker pref-src="" routing-table=_wg_vm16_docker scope=30 suppress-hw-offload=no \
target-scope=10
Modify this
/routing rule
add action=lookup-only-in-table comment="MY SMARTPHONE TO WG VM16 DOCKER" disabled=yes dst-address=0.0.0.0/0 \
src-address=10.2.1.197/32 table=_wg_vm16_docker
TO
/routing rule
add action=lookup-only-in-table comment="MY SMARTPHONE TO WG VM16 DOCKER" disabled=no \
src-address=10.2.1.197/32 table=_wg_vm16_docker
Ensure your smart phone IP address is fixed static on the dhcp router leases. Its an iphone you will need to turn off the hide my IP option for the connection to the SSID in question.
The mangle rule is a good idea whenever as a client an MT router connects to a different ilk of server.
Modify your route from this ( distance not required, its a separate table )
add comment="ROUTE VM16 DOCKER" disabled=no distance=20 dst-address=0.0.0.0/0 gateway=\
wireguard-vm16-docker pref-src="" routing-table=_wg_vm16_docker scope=30 suppress-hw-offload=no \
target-scope=10
TO:
add comment="ROUTE VM16 DOCKER" dst-address=0.0.0.0/0 gateway=\
wireguard-vm16-docker pref-src="" routing-table=_wg_vm16_docker scope=30 suppress-hw-offload=no \
target-scope=10
Statistics: Posted by anav — Fri Jan 05, 2024 9:52 pm