Hi all,
I'm new here and looking to get into using OpenVPN from my Linux firewall to a Huawei firewall that I have at a remote location.
There are existing tunnels in place that weren't setup by me and I intend to use a pre-shared key to start with before I move to a .crt.
I've gone through the documentation but am still unclear on some parts of the .conf I will need to use.
This is the sample that I have in mind. There is already a tun0 and tun1 so this will be tun2. It will be a client as the other end, which is a Huawei firewall, will be the initiator. How/Where do I configure the key? Do I store it in a file and call it xxx.key which I then store as a .key file?
client
proto udp
dev tun2
fragment 1400
remote x.x.x.x
resolv-retry infinite
nobind
persist-key
persist-tun
key keys/test.key
tls-auth keys/test.ta.key 1 //is this needed? as its not a cert I would think so
ns-cert-type server //this one too?
comp-lzo
verb 1
log-append /var/log/openvpn/access-xxx.log
status /var/log/openvpn/status-xxx.log