Jump to content
TorGuard
  • 0
Hamm3rhart

Can't connect to the server

Rate this question

Question

Hamm3rhart

Hello,

I can't connect with my Linux Server to the VPN. I installed openvpn with this tutorial https://torguard.net/knowledgebase.php?action=displayarticle&id=32

but when i run the command

openvpn TorGuard.Germany.conf

i get the error:

Options error: Unrecognized option or missing parameter(s) in TorGuard.Germany.conf:19: compress (2.3.4)
Use --help for more information.

 

could someone help me with this?

 

TorGuard.Germany.conf

Share this post


Link to post
Share on other sites

6 answers to this question

Recommended Posts

  • 0
Support
19 hours ago, Hamm3rhart said:

Hello,

I can't connect with my Linux Server to the VPN. I installed openvpn with this tutorial https://torguard.net/knowledgebase.php?action=displayarticle&id=32

but when i run the command

openvpn TorGuard.Germany.conf

i get the error:

Options error: Unrecognized option or missing parameter(s) in TorGuard.Germany.conf:19: compress (2.3.4)
Use --help for more information.

 

could someone help me with this?

 

TorGuard.Germany.conf

 

You could try upgrading your OpenVPN to 2.4.+ and this would resolve your problem or you can generate a config for OpenVPN 2.3 here https://torguard.net/tgconf.php?action=vpn-openvpnconfig

Regards

Share this post


Link to post
Share on other sites
  • 0
Hamm3rhart
7 minutes ago, Support said:

 

You could try upgrading your OpenVPN to 2.4.+ and this would resolve your problem or you can generate a config for OpenVPN 2.3 here https://torguard.net/tgconf.php?action=vpn-openvpnconfig

Regards

 

Done. But now i got a fatal error.

Wed Oct 30 13:23:07 2019 OpenVPN 2.3.4 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [PKCS11] [MH] [IPv6] built on Jun 26 2017
Wed Oct 30 13:23:07 2019 library versions: OpenSSL 1.0.1t  3 May 2016, LZO 2.08
Enter Auth Username: ***************
Enter Auth Password: ***************
Wed Oct 30 13:23:17 2019 Control Channel Authentication: tls-auth using INLINE static key file
Wed Oct 30 13:23:17 2019 UDPv4 link local: [undef]
Wed Oct 30 13:23:17 2019 UDPv4 link remote: [AF_INET]93.177.73.34:1912
Wed Oct 30 13:23:17 2019 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Wed Oct 30 13:23:18 2019 WARNING: 'link-mtu' is used inconsistently, local='link-mtu 1602', remote='link-mtu 1569'
Wed Oct 30 13:23:18 2019 WARNING: 'tun-mtu' is used inconsistently, local='tun-mtu 1532', remote='tun-mtu 1500'
Wed Oct 30 13:23:18 2019 WARNING: 'comp-lzo' is present in local config but missing in remote config, local='comp-lzo'
Wed Oct 30 13:23:18 2019 [server] Peer Connection Initiated with [AF_INET]93.177.73.34:1912
Wed Oct 30 13:23:20 2019 ERROR: Cannot open TUN/TAP dev /dev/net/tun: No such file or directory (errno=2)
Wed Oct 30 13:23:20 2019 Exiting due to fatal error

 

Could you help me again, please

Share this post


Link to post
Share on other sites
  • 0
Support
19 minutes ago, Hamm3rhart said:

 

Done. But now i got a fatal error.

Wed Oct 30 13:23:07 2019 OpenVPN 2.3.4 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [PKCS11] [MH] [IPv6] built on Jun 26 2017
Wed Oct 30 13:23:07 2019 library versions: OpenSSL 1.0.1t  3 May 2016, LZO 2.08
Enter Auth Username: ***************
Enter Auth Password: ***************
Wed Oct 30 13:23:17 2019 Control Channel Authentication: tls-auth using INLINE static key file
Wed Oct 30 13:23:17 2019 UDPv4 link local: [undef]
Wed Oct 30 13:23:17 2019 UDPv4 link remote: [AF_INET]93.177.73.34:1912
Wed Oct 30 13:23:17 2019 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Wed Oct 30 13:23:18 2019 WARNING: 'link-mtu' is used inconsistently, local='link-mtu 1602', remote='link-mtu 1569'
Wed Oct 30 13:23:18 2019 WARNING: 'tun-mtu' is used inconsistently, local='tun-mtu 1532', remote='tun-mtu 1500'
Wed Oct 30 13:23:18 2019 WARNING: 'comp-lzo' is present in local config but missing in remote config, local='comp-lzo'
Wed Oct 30 13:23:18 2019 [server] Peer Connection Initiated with [AF_INET]93.177.73.34:1912
Wed Oct 30 13:23:20 2019 ERROR: Cannot open TUN/TAP dev /dev/net/tun: No such file or directory (errno=2)
Wed Oct 30 13:23:20 2019 Exiting due to fatal error

 

Could you help me again, please

Try running the config with sudo, for example:

sudo openvpn TorGuard.Germany.conf

 

Share this post


Link to post
Share on other sites
  • 0
Hamm3rhart
14 minutes ago, Support said:

Try running the config with sudo, for example:

sudo openvpn TorGuard.Germany.conf

 

 

Same error. Btw. my version is still 2.3.4 . So i just created a new config file.

 

Wed Oct 30 14:00:36 2019 OpenVPN 2.3.4 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [PKCS11] [MH] [IPv6] built on Jun 26 2017
Wed Oct 30 14:00:36 2019 library versions: OpenSSL 1.0.1t  3 May 2016, LZO 2.08
Enter Auth Username: ***************
Enter Auth Password: ***************
Wed Oct 30 14:00:42 2019 Control Channel Authentication: tls-auth using INLINE static key file
Wed Oct 30 14:00:42 2019 UDPv4 link local: [undef]
Wed Oct 30 14:00:42 2019 UDPv4 link remote: [AF_INET]93.177.73.66:1912
Wed Oct 30 14:00:42 2019 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Wed Oct 30 14:00:43 2019 WARNING: 'link-mtu' is used inconsistently, local='link-mtu 1602', remote='link-mtu 1569'
Wed Oct 30 14:00:43 2019 WARNING: 'tun-mtu' is used inconsistently, local='tun-mtu 1532', remote='tun-mtu 1500'
Wed Oct 30 14:00:43 2019 WARNING: 'comp-lzo' is present in local config but missing in remote config, local='comp-lzo'
Wed Oct 30 14:00:43 2019 [server] Peer Connection Initiated with [AF_INET]93.177.73.66:1912
Wed Oct 30 14:00:45 2019 ERROR: Cannot open TUN/TAP dev /dev/net/tun: No such file or directory (errno=2)
Wed Oct 30 14:00:45 2019 Exiting due to fatal error

 

Share this post


Link to post
Share on other sites
  • 0
Support

Try creating TUN with the below commands - are you running a KVM VM?

mkdir -p /dev/net
mknod /dev/net/tun c 10 200
chmod 600 /dev/net/tun
cat /dev/net/tun

Share this post


Link to post
Share on other sites
  • 0
Hamm3rhart
6 minutes ago, Support said:

Try creating TUN with the below commands - are you running a KVM VM?

mkdir -p /dev/net
mknod /dev/net/tun c 10 200
chmod 600 /dev/net/tun
cat /dev/net/tun

 Where could I check for this?

EDIT: It is a VM but don't know "KVM"

Edited by Hamm3rhart

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...