How to create server.conf file
Posted: Tue Nov 09, 2010 12:33 am
Hi All,
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:
Server 2:
Once the tunnel is up I then add the appropriate routes.
Any help with how to create the server.conf would be greatly appreciated.
Cheers
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