How to reach external syslog server (VM + VPN)

Hi there , i searched the forum but didnt find an answer. so here is my setting.

mikrotik 5.19 running on 3 interfaces board.1 interface (managment) ist bound to a vm machine. these vm machine (esxi server) is connected physical to a vpn router in our company.

the managment vm has got a ip adresse from the managment lan (172.28.80.x , the mikrotik router runs 172.28.80.1/172.28.64.1).

i think i have to set a route into our vpn network, but where ?

in the vm machine or the esxi server ?

any suggestions ? thanks for the help…

Your config is something like this

mikrotik routerboard ether1 connected to —> virtual management machine → physical vpn router

\

  1. Could you fill in the ip adresses so I could get the thread.
  2. From where do you want to connect (through the vpn from another location?)

If you route through vpn and in to the management, your vpn router should be aware the mikrotik network is behind the management station. But for the returning packets the mikrotik routerboard should be aware that the vpn router is behind your management station. You need to add one static route to both places.

If your management station is windows, run rdp to it and management from there, if it linux, use ssh and portforward f.ex winbox to your mikrotik.