Route marking, static route and nat

My config on client router is:
/interface eoip
add !keepalive name=TUNNEL1 remote-address=192.168.0.1 tunnel-id=10
/interface vlan
add interface=TUNNEL1 name=VLAN1000 vlan-id=1000

/ip address
add address=10.0.0.2/23 interface=VLAN1000 network=10.0.0.0

/ip firewall mangle
add action=mark-connection chain=input in-interface=VLAN1000 new-connection-mark=TUN_conn
add action=mark-routing chain=output connection-mark=TUN_conn new-routing-mark=to_TUN

/ip route
add distance=1 gateway=10.0.0.1 routing-mark=to_TUN

Works well, but when i want to reach http port behind 10.0.0.2 address nothing works.
When I remove /ip firewall mangle and /ip route configurations, and create static route to my network (10.1.0.0/23) where I’am currently in:
/ip route add distance=1 dst-address=10.1.0.0/23 gateway=10.0.0.1
All works fine, without changing my nat rules.

Add before first /ip firewall mangle chain=forward in-interface=vlan1000 new-connection-mark=TUN_conn
And make changes in route mark.


Sent from my iPhone using Tapatalk