[Solved] Unrecognized option or missing or extra parameter

Need help configuring your VPN? Just post here and you'll get that help.
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Locked
arjhay
OpenVpn Newbie
Posts: 4
Joined: Fri Mar 16, 2018 2:39 pm

[Solved] Unrecognized option or missing or extra parameter

Post by arjhay » Fri Mar 16, 2018 3:00 pm

could someone help me fix this problem
runner a portable 2.4.3 / tap window 9.21.2

log
Options error: Unrecognized option or missing or extra parameter(s) in sg-mct3.tcpvpn.com-443.ovpn:2: Dev (2.4.3)
Use --help for more information.

config
client
Dev tun
proto tcp
remote sg3-mct.tcpvpn.com
topology subnet
server 10.8.0.0 255.255.255.0
route 52.74.0.0/16;121.1.48.0/21;125.5.87.0/24;125.60.248.0/22;203.84.184.0/21
route-method exe
route-delay 2
keepalive 10 180
redirect-gateway def1
connect-retry-max 5
http-proxy-option CUSTOM-HEADER Host clients3.google.com
http-proxy-option CUSTOM-HEADER X-Online-Host clients3.google.com
http-proxy “Remote_Proxy/Squid_Proxy_Here” 188.166.249.52 3128
http-proxy-retry
http-proxy-timeout 2
redirect-gateway def1
dhcp-option DNS 209.244.0.3
dhcp-option DNS 209.244.0.4
dhcp-option DNS 8.8.8.8
dhcp-option DNS 8.8.4.4
setenv CLIENT_CERT 0
resolv-retry infinite
tun-mtu 1500
tun-mtu-extra 32
mssfix 1450
persist-key
persist-tun
key-direction 1
nobind
cipher BF-CBC
persist-tun
comp-lzo
reneg-sec 0
verb 3

<auth-user-pass>
barjhay
dikoalam
</auth-user-pass>

<ca>
-----BEGIN CERTIFICATE-----

User avatar
TinCanTech
OpenVPN Protagonist
Posts: 5873
Joined: Fri Jun 03, 2016 1:17 pm

Re: Unrecognized option or missing or extra parameter

Post by TinCanTech » Fri Mar 16, 2018 3:11 pm

arjhay wrote:
Fri Mar 16, 2018 3:00 pm
Options error: Unrecognized option or missing or extra parameter(s) in sg-mct3.tcpvpn.com-443.ovpn:2: Dev (2.4.3)
arjhay wrote:
Fri Mar 16, 2018 3:00 pm
config
client
Dev tun
:geek:

arjhay
OpenVpn Newbie
Posts: 4
Joined: Fri Mar 16, 2018 2:39 pm

Re: Unrecognized option or missing or extra parameter

Post by arjhay » Fri Mar 16, 2018 3:13 pm

TinCanTech wrote:
Fri Mar 16, 2018 3:11 pm
arjhay wrote:
Fri Mar 16, 2018 3:00 pm
Options error: Unrecognized option or missing or extra parameter(s) in sg-mct3.tcpvpn.com-443.ovpn:2: Dev (2.4.3)
arjhay wrote:
Fri Mar 16, 2018 3:00 pm
config
client
Dev tun
:geek:
forgot to put some space on the config.

[oconf]client
Dev tun
proto tcp
remote sg3-mct.tcpvpn.com
topology subnet
server 10.8.0.0 255.255.255.0
route 52.74.0.0/16;121.1.48.0/21;125.5.87.0/24;125.60.248.0/22;203.84.184.0/21
route-method exe
route-delay 2
keepalive 10 180
redirect-gateway def1
connect-retry-max 5
http-proxy-option CUSTOM-HEADER Host clients3.google.com
http-proxy-option CUSTOM-HEADER X-Online-Host clients3.google.com
http-proxy “Remote_Proxy/Squid_Proxy_Here” 188.166.249.52 3128
http-proxy-retry
http-proxy-timeout 2
redirect-gateway def1
dhcp-option DNS 209.244.0.3
dhcp-option DNS 209.244.0.4
dhcp-option DNS 8.8.8.8
dhcp-option DNS 8.8.4.4
setenv CLIENT_CERT 0
resolv-retry infinite
tun-mtu 1500
tun-mtu-extra 32
mssfix 1450
persist-key
persist-tun
key-direction 1
nobind
cipher BF-CBC
persist-tun
comp-lzo
reneg-sec 0
verb 3

<auth-user-pass>
barjhay
dikoalam
</auth-user-pass>

<ca>
[/oconf]

User avatar
TinCanTech
OpenVPN Protagonist
Posts: 5873
Joined: Fri Jun 03, 2016 1:17 pm

Re: Unrecognized option or missing or extra parameter

Post by TinCanTech » Fri Mar 16, 2018 3:31 pm

arjhay wrote:
Fri Mar 16, 2018 3:13 pm
client
D ev tun
:roll:

arjhay
OpenVpn Newbie
Posts: 4
Joined: Fri Mar 16, 2018 2:39 pm

Unrecognized option or missing or extra parameter

Post by arjhay » Fri Mar 16, 2018 3:39 pm

could someone help me fix this problem.
runner a portable 2.4.3 / tap 9.21.2

CLIENT CONFIG

Code: Select all

client
dev tun
proto tcp
remote sg3-mct.tcpvpn.com
topology subnet
server 10.8.0.0 255.255.255.0
route 52.74.0.0/16;121.1.48.0/21;125.5.87.0/24;125.60.248.0/22;203.84.184.0/21
route-method exe
route-delay 2
keepalive 10 180
redirect-gateway def1
connect-retry-max 5

SERVER CONFIG

Code: Select all

http-proxy-option CUSTOM-HEADER Host clients3.google.com
http-proxy-option CUSTOM-HEADER X-Online-Host clients3.google.com
http-proxy “Remote_Proxy/Squid_Proxy_Here” 188.166.249.52 3128
http-proxy-retry
http-proxy-timeout 2
redirect-gateway def1
dhcp-option DNS 209.244.0.3
dhcp-option DNS 209.244.0.4
dhcp-option DNS 8.8.8.8
dhcp-option DNS 8.8.4.4
setenv CLIENT_CERT 0
resolv-retry infinite
tun-mtu 1500
tun-mtu-extra 32
mssfix 1450
persist-key
persist-tun
key-direction 1
nobind
cipher BF-CBC
persist-tun
comp-lzo
reneg-sec 0
verb 3

<auth-user-pass>
barjhay
dikoalam
</auth-user-pass>

<ca>
VIEW LOG

Code: Select all

Fri Mar 16 23:40:52 2018 DEPRECATED OPTION: http-proxy-retry and socks-proxy-retry: In OpenVPN 2.4 proxy connection retries are handled like regular connections. Use connect-retry-max 1 to get a similar behavior as before.
Fri Mar 16 23:40:52 2018 DEPRECATED OPTION: http-proxy-timeout: In OpenVPN 2.4 the timeout until a connection to a server is established is managed with a single timeout set by connect-timeout
Options error: Unrecognized option or missing or extra parameter(s) in sg-mct3.tcpvpn.com-443.ovpn:38: auth-user-pass (2.4.3)
Use --help for more information.

User avatar
TinCanTech
OpenVPN Protagonist
Posts: 5873
Joined: Fri Jun 03, 2016 1:17 pm

Re: Unrecognized option or missing or extra parameter

Post by TinCanTech » Fri Mar 16, 2018 4:16 pm

https://community.openvpn.net/openvpn/w ... nPage#lbAW

Start here:
HOWTO: For OpenVPN Community Edition

Please do not SPAM the forum with questions until you have read the HOWTO :!:

Locked