Community discussions

MikroTik App
grryf
刚刚加入了
Topic Author
Posts: 4
加入: Fri Aug 01, 2014 1:51 pm

dude on v7.8 router with routing rules can't use route

Wed May 17, 2023 9:31 am

Hi,
I have v7.8 router with routing rules
but The Dude installed on the router can't see computers (eg 192.168.20.20) via static route

TER route:
/ip route add check-gateway=ping comment=TER disabled=no distance=80 dst-address=192.168.20.0/24 gateway=192.168.0.1 pref-src="" routing-table=TER scope=30 suppress-hw-offload=no target-scope=30
(via recursive route)
/ip route add comment="Setup recursive to TER" disabled=no distance=70 dst-address=192.168.0.1/32 gateway=192.168.20.67 pref-src="" routing-table=main scope=10 suppress-hw-offload=no target-scope=10

Me trying to allow The Dude to access 192.168.20.20:
/路由rule add action=lookup comment="router to TER" disabled=no interface=vpn-to-ter-BIA-sstp table=TER
/路由rule add action=lookup comment="router to TER" disabled=no src-address=192.168.20.167/32 table=TER
/路由rule add action=lookup comment="router to TER" disabled=no interface=vpn-to-ter-BIA-sstp src-address=192.168.20.167/32 table=TER
/路由rule add action=lookup comment="router to TER" disabled=no src-address=192.168.88.1/32 table=TER
/路由rule add action=lookup comment="router to TER" disabled=no src-address=192.168.81.1/32 table=TER
/路由rule add action=lookup comment="router to TER" disabled=no interface=bridge table=TER
/路由rule add action=lookup comment="router to TER" disabled=no src-address=192.168.20.67/32 table=TER
/路由rule add action=lookup comment="router to TER" disabled=no src-address=192.168.1.15/32 table=TER
/路由rule add action=lookup comment="router to TER" disabled=no interface=ether1 table=TER
/路由rule add action=lookup comment="router to TER" disabled=no src-address=127.0.0.1/32 table=TER

Can't figure it out. I was trying to sniff packets but can't sniff what router "thinks".
If I set up rule for Computer then computer can use TER table routes, but The Dude can't ping it.
If I change TER to main table then The Dude can ping (eg 192.168.20.20).

Should I try something else?
Top

Who is online

Users browsing this forum: No registered users and 2 guests

Baidu
map