First the certificate (key) should be created on the server. cd /etc/openvpn/easy-rsa/ source vars ./pkitool hostname Copy the certificate files to the client * /etc/openvpn/ca.crt * /etc/openvpn/easy-rsa/keys/hostname.crt * /etc/openvpn/easy-rsa/keys/hostname.key Then the client should be setup apt-get install openvpn cd /etc/openvpn cp /usr/share/doc/openvpn/examples/sample-config/client.conf client.conf Edit the client.conf file (edit all that you need to fit your…
Tag: OpenVPN
OpenVPN to a VPS… Secure communications…
There are several potential benefits to setting up a VPN to your Asterisk server. All traffic is encrypted and you don’t need to open lots of ports in the firewall. Also there are no issues with SIP and NAT as traffic is routed over the VPN tunnel. This is a pretty advanced setup but here…
Creating an OpenVPN Tunnel…
OpenVPN OpenVPN uses Public Key Infrastructure (PKI) to encrypt VPN traffic between nodes. A simple way of setting up a VPN with OpenVPN is to connect the clients through a bridge interface on the VPN server. This guide will assume that one VPN node, the server in this case, has a bridge interface configured. For…