Can I block specific website access after OpenVPN connection

This forum is for general conversation and user-user networking.
Post Reply
pankajsain
OpenVpn Newbie
Posts: 2
Joined: Tue Dec 08, 2020 9:32 am

Can I block specific website access after OpenVPN connection

Post by pankajsain » Tue Dec 08, 2020 9:36 am

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,

User avatar
TinCanTech
OpenVPN Protagonist
Posts: 8966
Joined: Fri Jun 03, 2016 1:17 pm

Re: Can I block specific website access after OpenVPN connection

Post by TinCanTech » Tue Dec 08, 2020 4:31 pm

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.

pankajsain
OpenVpn Newbie
Posts: 2
Joined: Tue Dec 08, 2020 9:32 am

Re: Can I block specific website access after OpenVPN connection

Post by pankajsain » Tue Dec 08, 2020 5:47 pm

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

Post Reply