Page 1 of 1

Prevent client connection attempts from selected internal and external IPs

Posted: Mon Mar 28, 2022 9:31 am
by johnds
Hi,

Within the OpenVPN Access Server interface or via the terminal is there a way to prevent client connections attempts from selected internal and external IPs?

I did think of using Linux's /etc/hosts.deny but it will invariably break legitimate connections to internal resources.

thanks

John

Re: Prevent client connection attempts from selected internal and external IPs

Posted: Mon Mar 28, 2022 3:55 pm
by johnds
Looks like the below GUI control is already configured in a sane manner:

USER MANAGEMENT > User Permissions > More settings > Allow Access From: "all server-side private subnets" [checkbox]

above not flagged by default.

Re: Prevent client connection attempts from selected internal and external IPs

Posted: Sat Apr 02, 2022 4:27 pm
by openvpn_inc
Hi John,

You'll find that fine-grained control of user/group access rules requires the command line interface:
https://openvpn.net/vpn-server-resource ... mand-line/

regards, rob0