Page 1 of 1

Can I block specific website access after OpenVPN connection

Posted: Tue Dec 08, 2020 9:36 am
by pankajsain
Can I block specific website i.e. facebook.com access after OpenVPN connection.

My OpenVPN server is working fine and I want to stop VPN users to access only certain websites which I mention in the configuration.

Please suggest,

Thanks,

Re: Can I block specific website access after OpenVPN connection

Posted: Tue Dec 08, 2020 4:31 pm
by TinCanTech
As the server administrator, you have the power to do as you please.

All you need now is to know how to do server administration .. there are some great websites out there to teach you ..

Hint: In this case -> Firewall rules. Openvpn cannot do what you want it to.

Re: Can I block specific website access after OpenVPN connection

Posted: Tue Dec 08, 2020 5:47 pm
by pankajsain
Hi TinCan, Thanks for the suggestion, I can understand that I can do that with other server things and I will surely do so.

I just wanted to know that if this is feasible with OpenVPN or not.

Actually, after getting connected with the OpenVPN. I still can dial another VPNs i.e. CISCO, which is the problem. I was thinking if I could block the domain of second VPN when I am using the OpenVPN.

I am expecting that there must be few options if could define them in Client side configurations to edit the hosts file, as like pre and post scripts.

Thanks