SAYERS42
I have been trying to use this as the server config file but whenever I try to launch it as a service it fails. I have another config file that works. So I know that its a bad config file. Please tell me what syntax is wrong.
port 443
proto tcp-server
dev tun1
keepalive 50 100
topology subnet
server 10.4.0.0 255.255.255.252
ifconfig-pool-persist ipp.txt
push "redirect-gateway def1 bypass-dhcp"
push "dhcp-option DNS 172.31.0.2"
status server-tcp.log
verb 3
secret ovpn.key
wildcat2083
"proto" should be either "tcp" or "udp
you could use tls-server option for hardened security but not mandatory
the secret option also isnt correct
depending on the type of key (ovpn.key) it will either be
key or ta
key would be the server key
ta is the ta key
your also missing the
server cert
and the root ca options
port xxxx
proto tcp or udp
ca yourca.crt
cert yourserver.crt
key yourserver.key
dh dhxxxx.pem
cipher xxx
ta usually ta.key 0 << indicates the direction 0 on a server 1 on the client
auth (optional)
and port 443 is already assigned to https protocol so thst might need to be changed
i use a guide on linode do a google search with linode vpn and it will show you step by step exactly what you need
wildcat2083
the server option also looks off
id use
server 10.4.0.0 255.255.255.0