Navigation

    Netgate Discussion Forum
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    Connect my VM's to my local network

    OpenVPN
    4
    8
    2666
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      hossam.khalili last edited by

      hello,

      I rent some VM's from internet, and I need to connect them to my local network.
      Pfsense 2.0 is running on my local network and I installed Centos 6 on VM's.
      so how can I connect Centos 6 servers to pfsense 2.0 using OpenVPN ?

      help me if you can or if you have any other suggestion please tell me.

      thanks.

      1 Reply Last reply Reply Quote 0
      • T
        tbrummell last edited by

        Setup pfSense OpenVPN in TAP mode.  Install OpenVPN on the CentOS boxes in client mode.  OpenVPN Cookbook would be of great use to you.

        1 Reply Last reply Reply Quote 0
        • H
          hossam.khalili last edited by

          " Setup pfSense OpenVPN in TAP mode " is that mean create Road-warrior situation??

          1 Reply Last reply Reply Quote 0
          • N
            Nachtfalke last edited by

            Yes, RoadWarrior setup should work.

            You should think about if it is neccessary for you to have the VMs on the same subnet as your local network. If you need this, than use OpenVPN in TAP mode (bridging).

            If it is no problem that the VMs are on a different subnet then choose OpenVPN in TUN mode (routing).

            If you use pfsense 2.0.1 and OpenVPN in TAP mode then install the "OpenVPN bridging Fix" package from pfsense package manager.

            My personal optionion is to run OpenVPN in TUN mode but it is up to you!

            1 Reply Last reply Reply Quote 0
            • H
              hossam.khalili last edited by

              Thanks for reply,

              I create Read-warrior connection, and i test it with windows 7 machine and it working,
              now what's the steps to use the road-warrior connection on Centos machine.

              thanks.


              1 Reply Last reply Reply Quote 0
              • N
                Nachtfalke last edited by

                Don't know how to configure OpenVPN per hand/file on CentOS

                Perhaps you could use your Windows 7 .ovpn config file and edit it for the CentOS machines.

                1 Reply Last reply Reply Quote 0
                • C
                  cmb last edited by

                  get the config archive via the client export and use it on CentOS. You'll have to install OpenVPN on it first.

                  1 Reply Last reply Reply Quote 0
                  • H
                    hossam.khalili last edited by

                    thanks all for replaies,

                    I used this link to install and config Openvpn client in my Centos servers http://www.techrepublic.com/blog/opensource/how-to-set-up-a-linux-openvpn-client/1894
                    After that i get my client config files from " export client " and the CA file and put it on my Centos server Also, i disable the firewall on my Centos then i run Client.conf. this message appeared


                    openvpn client.conf
                    Wed Mar  7 04:23:45 2012 OpenVPN 2.1.4 i386-redhat-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] built on Apr 24 2011
                    Wed Mar  7 04:23:45 2012 NOTE: OpenVPN 2.1 requires '–script-security 2' or higher to call user-defined scripts or executables
                    Wed Mar  7 04:23:45 2012 Cannot load private key file jrcfw01-udp-2198-tls.key: error:0906D06C:PEM routines:PEM_read_bio:no start line: error:140B0009:SSL routines:SSL_CTX_use_PrivateKey_file:PEM lib
                    Wed Mar  7 04:23:45 2012 Error: private key password verification failed
                    Wed Mar  7 04:23:45 2012 Exiting


                    any new suggestion.
                    thanks.

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post

                    Products

                    • Platform Overview
                    • TNSR
                    • pfSense Plus
                    • Appliances

                    Services

                    • Training
                    • Professional Services

                    Support

                    • Subscription Plans
                    • Contact Support
                    • Product Lifecycle
                    • Documentation

                    News

                    • Media Coverage
                    • Press
                    • Events

                    Resources

                    • Blog
                    • FAQ
                    • Find a Partner
                    • Resource Library
                    • Security Information

                    Company

                    • About Us
                    • Careers
                    • Partners
                    • Contact Us
                    • Legal
                    Our Mission

                    We provide leading-edge network security at a fair price - regardless of organizational size or network sophistication. We believe that an open-source security model offers disruptive pricing along with the agility required to quickly address emerging threats.

                    Subscribe to our Newsletter

                    Product information, software announcements, and special offers. See our newsletter archive to sign up for future newsletters and to read past announcements.

                    © 2021 Rubicon Communications, LLC | Privacy Policy