OpenVPN and access to Internet

Hello,

sorry for my english… :frowning:

I have configured OpenVPN on my Mikrotik, from A (home PC) to B (local network at work). Works well.
But, when I connect to OpenVPN from my home PC, all internet traffic goes through the gateway from work.
I would like to have access to the local network only after connecting the OpenVPN and internet traffic from my home PC would pass through my home router (gateway) and not through the gateway at work. Is it possible? Where am I making a mistake?

Your routing table (/ip route) controls what interfaces are used to access what range of addresses. Set it up so that accesses to the IP range at your work facility go through the VPN, and all other addresses (default rule) go out your home modem. You will probably need to get tricky with your DNS so that your MikroTik can properly resolve names at your workplace.