Quantcast
Channel: MikroTik
Viewing all articles
Browse latest Browse all 21068

Beginner Basics • Re: RB4011 OpenVPN server - Client no gateway

$
0
0
Thanks for the advices.
After studying the suggested information and a lot of trial and error I discovered that there are two options:
1. Add the local network in the client.ovpn file but without a gateway address, so I added
route 192.168.2.0 255.255.255.255.0 WITHOUT gateway in .ovpn file.
All traffic to the 192.68.2.0/24 network is routed through the VPN tunnel.

2. Remove the route from .ovpn file and change the OVPN server on MikroTik router: Redirect Gateway = def1 (instead of disabled).
All traffic from the client pc is then routed through the VPN tunnel and can be managed by firewall rules on the MikroTik.

Statistics: Posted by Bert — Sat Feb 17, 2024 6:43 pm



Viewing all articles
Browse latest Browse all 21068

Trending Articles