Forums

Resolved
0 votes
I am using ClearOS in gateway mode. I have a OpenVPN Server in Amazon Web Service. I've been using my raspberry pi(openvpn client) to connect to my AWS OpenVPN server. However I want to use ClearOS as OpenVPN client

I've found all the article about ClearOS as OpenVPN Server,but I want to use OpenVPN Client on ClearOS. Tried to install via shell (yum -y openvpn) however I cannot.

Also my ultimate goal is to create a site to site between clearOS and AWS OpenVPN.

Any help?

Thanks,
Ben
Wednesday, May 03 2017, 02:17 AM
Share this post:
Responses (3)
  • Accepted Answer

    Friday, May 05 2017, 09:20 AM - #Permalink
    Resolved
    0 votes
    There is no particular difference between server and client. In the link to the HowTo, you will see the HQ config does not have a "remote" line so it is not trying to call anywhere. Implicitly, therefore, it is in server mode. The Remote Office Configuration has a "remote" line so, implicitly, it is running as client. If both ends have a "remote" line it may also work, but I don't know. In that case the client logically becomes the first one to establish a connection to the other but it really does not matter. It can also be controlled by the firewall as only the server should allow incoming connections.
    The reply is currently minimized Show
  • Accepted Answer

    Friday, May 05 2017, 12:30 AM - #Permalink
    Resolved
    0 votes
    Nick,

    Correct if i am wrong but the document is how to setup a OpenVPN Server? I have a OpenVPN Server on AWS, so I am guessing there is not native OpenVPN Client in ClearOS? I'll try installing openvpn client via shell, but I hope it doesnt take much config for a Open VPN site to site.

    Ben
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, May 03 2017, 05:47 AM - #Permalink
    Resolved
    0 votes
    See the docs for a HowTo here.

    Your yum command is slightly wrong. Try "yum install openvpn", perhaps with the "-y" switch. If it does not work, please state your version of ClearOS and the output of "yum repolist".

    You can also do an IPsec VPN to AWS but it needs a particular set up which is detailed on Libreswan's web site.
    The reply is currently minimized Show
Your Reply