Page 1 of 1

server setup

Posted: Mon May 18, 2020 9:01 pm
by Dazcomputers
Im getting this error and can't figure out what I'm doing wrong. Tried from scratch 3 times. Just trying to get the server configured and started up for the first time. I've been reading for hours trying to figure this out with no luck. Please point me in the right direction so I can work through this. Thanks

I just can't find where this error is pulling from.

Code: Select all

Options error: Unrecognized option or missing or extra parameter(s) in Server.ovpn:3: Port (2.4.9)
Use --help for more information.
Server config

dev-node "ServerVPN"
mode server
Port 1194

proto tcp4-server
dev tun

tls-server
tls-auth "C:\\Program Files\\OpenVPN\\config\\easy-rsa\\keys\\ta.key" 0

tun-mtu 1500
tun-mtu-extra 32
mssfix 1450

ca "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\ca.crt"
cert "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\ServerVPN.crt"
key "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\ServerVPN.key"
dh "C:\\Progam Files\\OpenVPN\\easy-rsa\\keys\\dh2048.pem"

server 10.10.10.0 255.255.255.0

client-to-client
keepalive 10 120
cipher AES-128-CBC
comp-lzo

persist-key
persist-tun

client-config-dir "C:\\Program Files\\OpenVPN\config"

verb 3

route-delay 5
route-method exe

push "route 192.168.0.0 255.255.255.0"
route 192.168.182.0 255.255.255.0

Re: server setup

Posted: Mon May 18, 2020 9:17 pm
by TinCanTech
Dazcomputers wrote:
Mon May 18, 2020 9:01 pm
Port 12345
--port ;)

Re: server setup

Posted: Mon May 18, 2020 11:11 pm
by Dazcomputers
I set the port to 1194 but get the same error.

Re: server setup

Posted: Mon May 18, 2020 11:15 pm
by TinCanTech
port not Port ... :roll:

Re: server setup

Posted: Tue May 19, 2020 8:22 am
by Dazcomputers
Thank you TinCAnTech that got me passed the error and on to the next. I really appreciate the help. One darn capital letter! Gave me hours of great learning and researching time though.

Re: server setup

Posted: Tue May 19, 2020 10:00 am
by TinCanTech
I did the same thing with --Dev once, had me scratching my head for sooome time 8-)

Re: server setup

Posted: Thu May 21, 2020 10:28 pm
by Dazcomputers
Just wanted to let you know I finally got the server up and a client connected. Been working on it on and off for about a year banging my head. I feel like a million bucks now. Also feel like I have a much better understanding of the process now as well. I think Ill leave it setup for a bit before I tear it down to do over again to be sure I know what I'm doing but I wanted to thank you for your help TinCanTech. Very Much appreciated.

Re: server setup

Posted: Thu May 21, 2020 11:15 pm
by TinCanTech
Thank you for the positive feedback 8-)

I have said it before and I will say it again: If you want to know about openvpn.