Jump to content


Photo

AirVPN + dd-wrt


Best Answer go558a83nk, 08 November 2018 - 07:58 PM

hash is not sha256.  it's sha1 unless you're using tls-crypt configs, where it's sha512.

Go to the full post


  • Please log in to reply
5 replies to this topic

#1 bebex

bebex

    Newbie

  • New Members
  • Pip
  • 3 posts

Posted 08 November 2018 - 07:22 PM

Hi

 

I just flashed my Netgear R6400 with dd-wrt, i try to setup VPN on it but I am unable to connect.

 

 

Firmware: DD-WRT v3.0-r36070M kongac (05/31/18)

 

Clientlog:

20181108 19:17:04 W WARNING: Using --management on a TCP port WITHOUT passwords is STRONGLY discouraged and considered insecure

20181108 19:17:04 W WARNING: Using --management on a TCP port WITHOUT passwords is STRONGLY discouraged and considered insecure

20181108 19:17:04 W WARNING: file '/tmp/openvpncl/client.key' is group or others accessible

20181108 19:17:04 W WARNING: file '/tmp/openvpncl/ta.key' is group or others accessible

20181108 19:17:04 I OpenVPN 2.4.6 arm-unknown-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on May 31 2018

20181108 19:17:04 I library versions: OpenSSL 1.1.0h 27 Mar 2018 LZO 2.09

20181108 19:17:04 MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:16

20181108 19:17:04 W NOTE: the current --script-security setting may allow this configuration to call user-defined scripts

20181108 19:17:04 Outgoing Control Channel Authentication: Using 256 bit message hash 'SHA256' for HMAC authentication

20181108 19:17:04 Incoming Control Channel Authentication: Using 256 bit message hash 'SHA256' for HMAC authentication

20181108 19:17:04 I TCP/UDP: Preserving recently used remote address: [AF_INET]62.102.148.144:443

20181108 19:17:04 Socket Buffers: R=[180224->180224] S=[180224->180224]

20181108 19:17:04 W --mtu-disc is not supported on this OS

20181108 19:17:04 I UDP link local: (not bound)

20181108 19:17:04 I UDP link remote: [AF_INET]62.102.148.144:443

20181108 19:18:05 N TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)

20181108 19:18:05 N TLS Error: TLS handshake failed

20181108 19:18:05 I SIGUSR1[soft tls-error] received process restarting

20181108 19:18:05 Restart pause 5 second(s)

20181108 19:18:10 W NOTE: the current --script-security setting may allow this configuration to call user-defined scripts

20181108 19:18:10 I TCP/UDP: Preserving recently used remote address: [AF_INET]62.102.148.144:443

20181108 19:18:10 Socket Buffers: R=[180224->180224] S=[180224->180224]

20181108 19:18:10 W --mtu-disc is not supported on this OS

20181108 19:18:10 I UDP link local: (not bound)

20181108 19:18:10 I UDP link remote: [AF_INET]62.102.148.144:443

20181108 19:19:10 N TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)

20181108 19:19:10 N TLS Error: TLS handshake failed

20181108 19:19:10 I SIGUSR1[soft tls-error] received process restarting

20181108 19:19:10 Restart pause 5 second(s)

20181108 19:19:15 W NOTE: the current --script-security setting may allow this configuration to call user-defined scripts

20181108 19:19:15 I TCP/UDP: Preserving recently used remote address: [AF_INET]62.102.148.137:443

20181108 19:19:15 Socket Buffers: R=[180224->180224] S=[180224->180224]

20181108 19:19:15 W --mtu-disc is not supported on this OS

20181108 19:19:15 I UDP link local: (not bound)

20181108 19:19:15 I UDP link remote: [AF_INET]62.102.148.137:443

20181108 19:20:15 N TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)

20181108 19:20:15 N TLS Error: TLS handshake failed

20181108 19:20:15 I SIGUSR1[soft tls-error] received process restarting

20181108 19:20:15 Restart pause 5 second(s)

20181108 19:20:20 W NOTE: the current --script-security setting may allow this configuration to call user-defined scripts

20181108 19:20:20 I TCP/UDP: Preserving recently used remote address: [AF_INET]62.102.148.137:443

20181108 19:20:20 Socket Buffers: R=[180224->180224] S=[180224->180224]

20181108 19:20:20 W --mtu-disc is not supported on this OS

20181108 19:20:20 I UDP link local: (not bound)

20181108 19:20:20 I UDP link remote: [AF_INET]62.102.148.137:443

20181108 19:20:24 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16

20181108 19:20:24 D MANAGEMENT: CMD 'state'

20181108 19:20:24 MANAGEMENT: Client disconnected

20181108 19:20:24 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16

20181108 19:20:24 D MANAGEMENT: CMD 'state'

20181108 19:20:24 MANAGEMENT: Client disconnected

20181108 19:20:24 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16

20181108 19:20:24 D MANAGEMENT: CMD 'state'

20181108 19:20:24 MANAGEMENT: Client disconnected

20181108 19:20:24 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16

20181108 19:20:24 D MANAGEMENT: CMD 'status 2'

20181108 19:20:24 MANAGEMENT: Client disconnected

20181108 19:20:24 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16

20181108 19:20:24 D MANAGEMENT: CMD 'log 500'

19700101 00:00:00

 

 

R2EkLD1.png

 

Additional config:

 

 

client

dev tun

remote europe.vpn.airdns.org 443

resolv-retry infinite

nobind

persist-key

persist-tun

auth-nocache

route-delay 5

verb 3

explicit-exit-notify 5

remote-cert-tls server

cipher AES-256-CBC

comp-lzo no

proto udp

key-direction 1

 

 

Thanks in advance



#2 go558a83nk

go558a83nk

    Advanced Member

  • Members
  • PipPipPip
  • 1676 posts

Posted 08 November 2018 - 07:58 PM   Best Answer

hash is not sha256.  it's sha1 unless you're using tls-crypt configs, where it's sha512.



#3 bebex

bebex

    Newbie

  • New Members
  • Pip
  • 3 posts

Posted 08 November 2018 - 09:20 PM

Thanks this fixed the problem!



#4 bebex

bebex

    Newbie

  • New Members
  • Pip
  • 3 posts

Posted 08 November 2018 - 09:56 PM

My connection works fine but i get something like this in logs, is this normal ?

 

Clientlog:
20181108 21:54:51 D MANAGEMENT: CMD 'state'
20181108 21:54:51 MANAGEMENT: Client disconnected
20181108 21:54:52 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20181108 21:54:52 D MANAGEMENT: CMD 'state'
20181108 21:54:52 MANAGEMENT: Client disconnected
20181108 21:54:52 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20181108 21:54:52 D MANAGEMENT: CMD 'status 2'
20181108 21:54:52 MANAGEMENT: Client disconnected
20181108 21:54:52 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20181108 21:54:52 D MANAGEMENT: CMD 'log 500'
20181108 21:54:52 MANAGEMENT: Client disconnected
20181108 21:54:53 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20181108 21:54:53 D MANAGEMENT: CMD 'state'
20181108 21:54:53 MANAGEMENT: Client disconnected
20181108 21:54:53 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20181108 21:54:53 D MANAGEMENT: CMD 'state'
20181108 21:54:53 MANAGEMENT: Client disconnected
20181108 21:54:53 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20181108 21:54:53 D MANAGEMENT: CMD 'state'
20181108 21:54:53 MANAGEMENT: Client disconnected
20181108 21:54:53 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20181108 21:54:53 D MANAGEMENT: CMD 'status 2'
20181108 21:54:53 MANAGEMENT: Client disconnected
20181108 21:54:53 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20181108 21:54:53 D MANAGEMENT: CMD 'log 500'
20181108 21:54:53 MANAGEMENT: Client disconnected
20181108 21:54:55 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20181108 21:54:55 D MANAGEMENT: CMD 'state'
20181108 21:54:55 MANAGEMENT: Client disconnected
20181108 21:54:55 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20181108 21:54:55 D MANAGEMENT: CMD 'state'
20181108 21:54:55 MANAGEMENT: Client disconnected
20181108 21:54:55 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20181108 21:54:55 D MANAGEMENT: CMD 'state'
20181108 21:54:55 MANAGEMENT: Client disconnected
20181108 21:54:55 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20181108 21:54:55 D MANAGEMENT: CMD 'status 2'
20181108 21:54:55 MANAGEMENT: Client disconnected
20181108 21:54:55 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20181108 21:54:55 D MANAGEMENT: CMD 'log 500'
20181108 21:54:55 MANAGEMENT: Client disconnected
20181108 21:54:57 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20181108 21:54:57 D MANAGEMENT: CMD 'state'
20181108 21:54:57 MANAGEMENT: Client disconnected
20181108 21:54:57 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20181108 21:54:57 D MANAGEMENT: CMD 'state'
20181108 21:54:57 MANAGEMENT: Client disconnected
20181108 21:54:57 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20181108 21:54:57 D MANAGEMENT: CMD 'state'
20181108 21:54:57 MANAGEMENT: Client disconnected
20181108 21:54:57 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20181108 21:54:57 D MANAGEMENT: CMD 'status 2'
20181108 21:54:57 MANAGEMENT: Client disconnected
20181108 21:54:57 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20181108 21:54:57 D MANAGEMENT: CMD 'log 500'
20181108 21:54:57 MANAGEMENT: Client disconnected
20181108 21:54:58 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20181108 21:54:58 D MANAGEMENT: CMD 'state'
20181108 21:54:58 MANAGEMENT: Client disconnected
20181108 21:54:58 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20181108 21:54:58 D MANAGEMENT: CMD 'state'
20181108 21:54:58 MANAGEMENT: Client disconnected
20181108 21:54:58 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20181108 21:54:58 D MANAGEMENT: CMD 'state'
20181108 21:54:58 MANAGEMENT: Client disconnected
20181108 21:54:58 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20181108 21:54:58 D MANAGEMENT: CMD 'status 2'
20181108 21:54:58 MANAGEMENT: Client disconnected
20181108 21:54:58 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20181108 21:54:58 D MANAGEMENT: CMD 'log 500'
20181108 21:54:58 MANAGEMENT: Client disconnected
20181108 21:55:33 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20181108 21:55:33 D MANAGEMENT: CMD 'state'
20181108 21:55:33 MANAGEMENT: Client disconnected
20181108 21:55:33 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20181108 21:55:33 D MANAGEMENT: CMD 'state'
20181108 21:55:33 MANAGEMENT: Client disconnected
20181108 21:55:33 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20181108 21:55:33 D MANAGEMENT: CMD 'state'
20181108 21:55:33 MANAGEMENT: Client disconnected
20181108 21:55:33 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20181108 21:55:33 D MANAGEMENT: CMD 'status 2'
20181108 21:55:33 MANAGEMENT: Client disconnected
20181108 21:55:33 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20181108 21:55:33 D MANAGEMENT: CMD 'log 500'
20181108 21:55:33 MANAGEMENT: Client disconnected
20181108 21:56:03 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20181108 21:56:03 D MANAGEMENT: CMD 'state'
20181108 21:56:03 MANAGEMENT: Client disconnected
20181108 21:56:03 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20181108 21:56:03 D MANAGEMENT: CMD 'state'
20181108 21:56:03 MANAGEMENT: Client disconnected
20181108 21:56:03 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20181108 21:56:03 D MANAGEMENT: CMD 'state'
20181108 21:56:03 MANAGEMENT: Client disconnected
20181108 21:56:03 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20181108 21:56:03 D MANAGEMENT: CMD 'status 2'
20181108 21:56:03 MANAGEMENT: Client disconnected
20181108 21:56:03 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20181108 21:56:03 D MANAGEMENT: CMD 'log 500'
19700101 00:00:00


#5 Flx

Flx

    Advanced Member

  • Members
  • PipPipPip
  • 164 posts

Posted 09 November 2018 - 09:32 PM

change the date on your router...if not yet updated for your location/region?



#6 go558a83nk

go558a83nk

    Advanced Member

  • Members
  • PipPipPip
  • 1676 posts

Posted 10 November 2018 - 04:53 AM

Yeah, I think all that "management" stuff is normal.  It's just the router making a note that it checked on itself basically.







Similar Topics Collapse

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users

Servers online. Online Sessions: 14436 - BW: 50886 Mbit/sYour IP: 54.167.18.170Guest Access.