Hello Masters
Good day,
I need your help for a Issue that is bring me to nights without sleep.
I´m very new in openvpn connections, so please go easy with me.
I passed this days reading about several issues, but I can't find a solution for my issue.
The client remote operator router has to be in Bridge mode, and my openvpn server is connected in the Briedge Port.
I have this server configuration (Grandstream7000 router):
local xxx.xxx.xxx.xxx
port 1194
proto udp
dev tun1
dev-type tun
ca /data/certificates/ca/ca0/pki/ca.crt
cert /data/certificates/ca/ca0/pki/issued/Server.crt
key /data/certificates/ca/ca0/pki/private/Server.key
server 10.10.10.0 255.255.255.0
ifconfig-pool-persist /tmp/vpn1-ip.txt
dh /etc/dh1024.pem
client-config-dir /tmp/openvpn/vpn1/
push route 172.16.2.0 255.255.254.0
push redirect-gateway def1 bypass-dhcp
duplicate-cn
keepalive 10 120
tls-auth /tmp/tls_vpn1.key 0
dh /etc/dh1024.pem
crl-verify /data/certificates/ca/ca0/pki/crl.pem
cipher AES-256-CBC
comp-lzo yes
float
auth SHA256
persist-key
persist-tun
status /tmp/openvpn_vpn1.log
verb 3
tmp-dir /tmp/
In client side I have this conf:
client
dev tun1
proto udp
remote 176.78.77.150 1194
resolv-retry infinite
nobind
persist-key
persist-tun
remote-cert-tls server
key-direction 1
cipher AES-256-CBC
auth SHA256
comp-lzo yes
verb 3
mute 20
the log response is this:
Mon Apr 20 04:16:25 2020 OpenVPN 2.4.8 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [AEAD] built on Oct 31 2019
Mon Apr 20 04:16:25 2020 Windows version 6.2 (Windows 8 or greater) 64bit
Mon Apr 20 04:16:25 2020 library versions: OpenSSL 1.1.0l 10 Sep 2019, LZO 2.10
Enter Management Password:
Mon Apr 20 04:16:25 2020 MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:25341
Mon Apr 20 04:16:25 2020 Need hold release from management interface, waiting...
Mon Apr 20 04:16:25 2020 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:25341
Mon Apr 20 04:16:25 2020 MANAGEMENT: CMD 'state on'
Mon Apr 20 04:16:25 2020 MANAGEMENT: CMD 'log all on'
Mon Apr 20 04:16:25 2020 MANAGEMENT: CMD 'echo all on'
Mon Apr 20 04:16:25 2020 MANAGEMENT: CMD 'bytecount 5'
Mon Apr 20 04:16:25 2020 MANAGEMENT: CMD 'hold off'
Mon Apr 20 04:16:25 2020 MANAGEMENT: CMD 'hold release'
Mon Apr 20 04:16:25 2020 Outgoing Control Channel Authentication: Using 256 bit message hash 'SHA256' for HMAC authentication
Mon Apr 20 04:16:25 2020 Incoming Control Channel Authentication: Using 256 bit message hash 'SHA256' for HMAC authentication
Mon Apr 20 04:16:25 2020 TCP/UDP: Preserving recently used remote address: [AF_INET]xxx.xxx.xxx.xxx :1194
Mon Apr 20 04:16:25 2020 Socket Buffers: R=[65536->65536] S=[65536->65536]
Mon Apr 20 04:16:25 2020 UDP link local: (not bound)
Mon Apr 20 04:16:25 2020 UDP link remote: [AF_INET]xxx.xxx.xxx.xxx :1194
Mon Apr 20 04:16:25 2020 MANAGEMENT: >STATE:1587352585,WAIT,,,,,,
Mon Apr 20 04:16:43 2020 SIGTERM[hard,] received, process exiting
Mon Apr 20 04:16:43 2020 MANAGEMENT: >STATE:1587352603,EXITING,SIGTERM,,,,,
And after this is restarting with the same message from the - MANAGEMENT: >STATE:1587352585,WAIT,,,,,,
Can you please advise
Best regards,
HB