How to Install and Configure OpenVPN Server on Zentyal 3.4 PDC – Part 12

Best Affordable Linux and WordPress Services For Your Business
Outsource Your Linux and WordPress Project and Get it Promptly Completed Remotely and Delivered Online.

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Get your own self-hosted blog with a Free Domain at ($3.45/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Matei Cezar

I'am a computer addicted guy, a fan of open source and linux based system software, have about 4 years experience with Linux distributions desktop, servers and bash scripting.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

12 Responses

  1. Renato Fonseca says:

    Hi Matei, good afternoon.

    Very helpful tutorial, but do you know how to have this vpn for android clients?

    Thanks for your help.

  2. Manthan Patel says:


    I have been using Pfsense OpenVPN server, in pfsense i can create user based certificate which is required on the client machine for authentication.

    Does same can be archive in Zentyal? Because in here if my certificate is been stolen anyone can login to the server, while in pfsense i can reset or revoke the user’s certificate so that he no longer can get access to the server.

    I am thinking to shift to zentyal because zentyal package contains Windows AD as well as Firewall. Just needed to clear up the above mention thing so i hope you help me with this.

    Thanks & Regards,
    Manthan Patel.

  3. sravan kiran says:


    When I connected to the open VPN server i am unable to browse and the connection is failed when i am browsing kindly assist me waiting for your reply.

  4. Stanislav says:

    Hello, mr.Cezar!

    Your tutorial is one of the best tutorials about Zentyal VPN settings, in my opinion, but I have problem. After connecting to VPN (connection is success) I need to connect to my work notebook via RDP in subnet.

    What should I do?
    I have: 2 network cards (wan,lan) lan ip /25 mask

    VPN Server is configured with ip /25 mask

    After connecting to vpn command “ipconfig” shows me,132 etc.

    In VPN Server I advertised subnet and subnet.

    Thanks, Hope you can help)

    Best regards,

    • Matei Cezar says:

      As long as Allow client-to-client connections is enabled in openvpn server you should be able to access any host from internal LAN. Check if those two LAN networks directly attached to your machine as I understand (except OpenVPN network) can see each other, meaning a router actually forwards packets from one network to another.

      What I am actually saying: with no VPN whatsoever connected, from network can you reach network (ping a host)? If that is true on your LAN and on VPN server side, then any connected VPN client should be able to reach both networks.

  5. Nitin says:

    i have install vpn but not clients install

  6. Jorge Enrique Muñoz says:

    Hello, excuse my English Matei
    I am trying to configure vpn in zentyal 3.5 interoffice I have been guided by this guide but I can not ping from my office

    network 1
    eth0 public IP
    VPN subnet
    Address of the VPN interface

    Red 2
    network 1
    eth0 DHCP (
    VPN subnet
    Address of the VPN interface

    Additionally configure the rules in the firewall and networks advertised, I appreciate any help you can give me.

  7. Matei Cezar says:

    @Yum Kaax: I think I will …..!

  8. Yum Kaax says:

    Hello Mr. Cezar,

    thanks so much for the great tutorials. I have learned a lot from them.
    Will you be doing a tutorial about Openchange any time soon?

    Thanks again and best wishes.


  9. Shankar M says:

    After reading your posts,these zentyal tutorials are really easy to perform in VM environments.

    Looking forward for these posts.

    1: How to integrate with LDAP ?
    After integration i want to bind the LDAP with my Firewall for website restriction .

    Is there any other way, to restrict the specific users for allowing only few websites/blocking websites ?

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.