I have an edgerouter lite running version 1.8. Below are the files that I have generated in my directory and I have included the configlet for my openvpn server interface. Can someone please help me figure out a way to put everything I need (certs included) into a single .ovpn file so I import into my iphone, vpn apps, etc easily? I am trying to use Viscocity for Mac.
Here are the files I have:
[edit interfaces openvpn vtun0]
root@router# ls
cacert.pem client.ovpn host.key
cakey.pem client.pem host.pem
client-decrypted.key dh2048.pem ta.key
client.key host-decrypted.key
Here is the config of my router so far:
root@router# show
description OpenVPN-Server(Home)
disable
encryption aes256
hash sha256
mode server
openvpn-option "--port 443"
openvpn-option --tls-server
openvpn-option "--comp-lzo yes"
openvpn-option --persist-key
openvpn-option --persist-tun
openvpn-option "--keepalive 10 120"
+openvpn-option "--tls-auth /config/auth/ovpn-server/ta.key 0"
protocol tcp-passive
server {
push-route 192.168.1.0/24
subnet 192.168.2.0/24
topology subnet
}
tls {
ca-cert-file /config/auth/ovpn-server/cacert.pem
cert-file /config/auth/ovpn-server/host.pem
dh-file /config/auth/ovpn-server/dh2048.pem
key-file /config/auth/ovpn-server/host-decrypted.key
}
Please help. This is rather confusing. Thanks!!!