Hey everyone,
I have setup a router using SME Server along with a OpenVPN bridge with a private and public key; I am now trying to configure OpenVPN on CentOS 7 to work hand in hand with SME bridge. I have gotten my publickey certificate (.pem format) and publickey (.pem format) and uploaded them to /etc/openvpn/keys.
Inside the SME Server OpenVPN setup; it as already created CA Cerf, Server Cerf, Server pirate key, DH and static key.
I only need to bridge centos through the SME openvpn bridge.
Now I have created a "client.conf" file in /etc/openvpn/ with the follow text:
port 1194
port udp
dev tun
tun-mtu 1500
tun-mtu-extra 32
mssfix 1450
reneg-sec 0
key /etc/openvpn/keys/<keyname>.pem (cerf)
dh /etc/openvpn/keys/<keyname>.pem (key)
server-bridge 192.168.87.1 255.255.255.0 192.168.87.5 192.168.78.50
keepalive 10 120
comp-lzo
persist-key
persist-tun
Would anyone have any knowledge to guide me where I have gone wrong?
Greatly appreciated
When I start OpenVPN on CentOS7 I'm getting
Failed to start openvpn.service: Unit openvpn.service failed to load: No such file or directory