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

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. Use our Hosting referral link if you planning to start your blog ($3.82/month).
  4. Support us via PayPal donate - Make a Donation
  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...

7 Responses

  1. 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 172.16.224.0/24 subnet.

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

    VPN Server is configured with ip 172.16.234.128 /25 mask

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

    In VPN Server I advertised 172.16.234.0/24 subnet and 172.16.224.0/24 subnet.

    Thanks, Hope you can help)

    Best regards,
    Stanislav

    • 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 172.16.234.1/25 network can you reach 172.16.224.0/24 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.

  2. Nitin says:

    i have install vpn but not clients install

  3. 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
    eth1 192.168.0.1
    VPN subnet 192.168.161.0/255.255.255.0
    tap2
    Address of the VPN interface 192.168.161.1/24

    Red 2
    network 1
    eth0 DHCP (192.168.0.14)
    eth1 192.168.5.1
    VPN subnet 192.168.161.0/255.255.255.0
    tap2
    Address of the VPN interface 192.168.161.1/24

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

  4. Matei Cezar says:

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

  5. 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.

    Yum

  6. 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 *

Join Over 300K+ Linux Users
  1. 202,035
  2. 9,267
  3. 38,621

Are you subscribed?