get internet over openVPN

Hello everyone!

I have adjusted openVPN server on routerOS(office) and openVPN client(at home)
Now I can connect to office and see all computers.
(of course if I will add this: “route add 192.168.0.0 mask 255.255.0.0 10.10.10.1” on client)

But I want to get internet over openVPN too. Scilicet get IP and static DNS from office.
On client, i can write route “route add 0.0.0.0 mask 0.0.0.0 10.10.10.1 metric 1

I’m think problem with NAT on router..
I have just one rule: “chain=srcnat action=masquerade to-addresses=0.0.0.0 out-interface=ether12”


Any help would be much appreciated!

Thank you!

It’s resolved by adding string to file.ovpn (client configuration).
“redirect-gateway def1”