Frejoh4666
Regular Contributor
So I run an VPN server on the router. I access to it with OpenVPN for android. But sometimes it just breaks (around once a month) and I'm unable to connect and need to restart the service.
When it works I get,
I guess that is normal messages, about 1 message each minute when I use the phone. But today it broke, and I manage to find this,
Then I'm unable to connect the server and I don't get the normal "Connection refused" messages (I'm not sure I always get that message when it breaks). Is there a way to notice that the VPN server breaks and restart it? As I'm unable to reach the router when I'm not at home and the VPN server is dead. Running it one a RT-AC66U B1.
When it works I get,
Code:
ovpn-server1[25979]: read UDPv4 [CMSG=8|ECONNREFUSED|CMSG=8|ECONNREFUSED]: Connection refused (fd=8,code=111)
ovpn-server1[25979]: read UDPv4 [CMSG=8|ECONNREFUSED]: Connection refused (fd=8,code=111)
I guess that is normal messages, about 1 message each minute when I use the phone. But today it broke, and I manage to find this,
Code:
Jul 4 06:52:14 kernel: vpnserver1/25981: potentially unexpected fatal signal 11.
Jul 4 06:52:14 kernel: Pid: 25981, comm: vpnserver1
Jul 4 06:52:14 kernel: CPU: 1 Tainted: P (2.6.36.4brcmarm #1)
Jul 4 06:52:14 kernel: PC is at 0x40422d8c
Jul 4 06:52:14 kernel: LR is at 0x0
Jul 4 06:52:14 kernel: pc : [<40422d8c>] lr : [<00000000>] psr: 20000010
Jul 4 06:52:14 kernel: sp : beda7e00 ip : 000009e0 fp : 000009e0
Jul 4 06:52:14 kernel: r10: 4044334c r9 : 40443180 r8 : 000c0e38
Jul 4 06:52:14 kernel: r7 : 404431b4 r6 : 000bca08 r5 : 4043d4f8 r4 : 00000088
Jul 4 06:52:14 kernel: r3 : 00002268 r2 : 404431b4 r1 : 000021e0 r0 : 00000000
Jul 4 06:52:14 kernel: Flags: nzCv IRQs on FIQs on Mode USER_32 ISA ARM Segment user
Jul 4 06:52:14 kernel: Control: 10c53c7d Table: 9a6bc04a DAC: 00000015
Then I'm unable to connect the server and I don't get the normal "Connection refused" messages (I'm not sure I always get that message when it breaks). Is there a way to notice that the VPN server breaks and restart it? As I'm unable to reach the router when I'm not at home and the VPN server is dead. Running it one a RT-AC66U B1.