I've successfully setup a openvpn tunnel with the CLI and now I want to set it to run in the daemon but i'm not sure how to set up the server.conf file.
These are the lines I use to establish the link:
Server 1:
Code: Select all
openvpn --remote [server 2 ip] --dev tun1 --ifconfig 192.168.150.2 192.168.150.1 --secret key
Code: Select all
openvpn --remote [server 1 ip] --dev tun1 --ifconfig 192.168.150.1 192.168.150.2 --secret key
Any help with how to create the server.conf would be greatly appreciated.
Cheers