hello, thanks, my first time, i setup the openvpn server with TOTP login. fantasic, it works great.
i figured out how to make a openvpn firewall rules and that also works well.
but now i need to allow a specific user to a specific machine and port.
how to change the source to a specific openvpn user?
currently, i have this rule
(https://ibb.co/h9grXwm)
i am using this guide - https://docs.opnsense.org/manual/how-tos/sslvpn_client.html
i cannot get opnsense router to use the specifc ip address i want.
from "VPN: OpenVPN: Client Specific Overrides",
for common name "Donald", for "IPv4 Tunnel Network", i have tried variations of "10.0.10.16/24"
also, after making such a change, i always re-export the openvpn file and re-import it into my laptop.
do i need to do that or not?
Hi jojothehumanmonkey,
[ ] Are you using certificates to authenticate users in this openvpn profile?
[ ] Did you checked the option "Username as CN"?
[ ] Does the term "Donald" matches the user certificate common name (case sensitive)?
[ ] In the field common name on screen Client Specific Overrides, have you verified any leading white space?
first, thanks for the reply.
i figured it out based on this topic from this forum.
The local and remote VPN endpoints cannot use (https://forums.openvpn.net/viewtopic.php?t=8406)
and the tricky thing for me was for to use the correct subnet mask for `/30`
"VPN: OpenVPN: Client Specific Overrides" - > "IPv4 Tunnel Network"
"10.10.0.42/30"