FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
324 views 4 comments
by anonymous
plese see the log attached

Mon Apr  4 22:46:14 2022 daemon.info unhandler[1972]: libgsm[src/libgsm_auth.c:89]: All phone allowed
Mon Apr  4 22:46:14 2022 daemon.info unhandler[1972]: SMS-Utilities[src/sms_utils.c:389]: EXECUTING VPN MANAGER
Mon Apr  4 22:46:14 2022 daemon.info unhandler[1972]: SMS-Utilities[src/sms_utils.c:126]: Deleting sms with index:1
Mon Apr  4 22:46:14 2022 kern.notice kernel: VPN turned off from: +1234 (internal modem)
Mon Apr  4 22:46:15 2022 daemon.err openvpn(x)[23111]: event_wait : Interrupted system call (code=4)
Mon Apr  4 22:46:15 2022 daemon.notice openvpn(x)[23111]: TCP/UDP: Closing socket
Mon Apr  4 22:46:15 2022 daemon.notice openvpn(x)[23111]: net_route_v4_del: 10.8.0.0/24 via 10.8.0.45 dev [NULL] table 0 metric -1
Mon Apr  4 22:46:15 2022 daemon.notice openvpn(x)[23111]: net_route_v4_del: x.x.x.x/32 via 0.0.0.0 dev [NULL] table 0 metric -1
Mon Apr  4 22:46:15 2022 daemon.notice openvpn(x)[23111]: net_route_v4_del: 0.0.0.0/1 via 10.8.0.45 dev [NULL] table 0 metric -1
Mon Apr  4 22:46:15 2022 daemon.notice openvpn(x)[23111]: net_route_v4_del: 128.0.0.0/1 via 10.8.0.45 dev [NULL] table 0 metric -1
Mon Apr  4 22:46:15 2022 daemon.notice openvpn(x)[23111]: Closing TUN/TAP interface
Mon Apr  4 22:46:15 2022 daemon.notice openvpn(x)[23111]: net_addr_ptp_v4_del: 10.8.0.46 dev tun_c_x
Mon Apr  4 22:46:15 2022 daemon.notice openvpn(x)[23111]: /etc/openvpn/updown.sh tun_c_x 1500 1553 10.8.0.46 10.8.0.45 init
Mon Apr  4 22:46:15 2022 daemon.notice openvpn(x)[23111]: SIGTERM[hard,] received, process exiting
Mon Apr  4 22:46:18 2022 kern.info kernel: [ 5173.260392] do_page_fault(): sending SIGSEGV to sms_utils for invalid write access to 00000000
Mon Apr  4 22:46:18 2022 kern.info kernel: [ 5173.267703] epc = 77e22250 in libc.so[77df2000+a0000]
Mon Apr  4 22:46:18 2022 kern.info kernel: [ 5173.272628] ra  = 77dc95d1 in libuci.so[77dc8000+16000]
Mon Apr  4 22:46:18 2022 daemon.warn openvpn(x)[28811]: WARNING: Compression for receiving enabled. Compression has been used in the past to break encryption. Sent packets are not compressed unless "allow-compression yes" is also set.
Mon Apr  4 22:46:18 2022 daemon.warn openvpn(x)[28811]: DEPRECATED OPTION: --cipher set to 'BF-CBC' but missing in --data-ciphers (AES-256-GCM:AES-128-GCM). Future OpenVPN version will ignore --cipher for cipher negotiations. Add 'BF-CBC' to --data-ciphers or change --cipher 'BF-CBC' to --data-ciphers-fallback 'BF-CBC' to silence this warning.
Mon Apr  4 22:46:51 2022 daemon.notice openvpn(x)[28811]: Recursive routing detected, drop tun packet to [AF_INET]94.177.202.57:1194
Mon Apr  4 22:46:51 2022 daemon.notice openvpn(x)[28811]: Recursive routing detected, drop tun packet to [AF_INET]94.177.202.57:1194
Mon Apr  4 22:46:51 2022 daemon.err openvpn(x)[28811]: write UDP: Operation not permitted (code=1)
Mon Apr  4 22:47:29 2022 daemon.err openvpn(x)[28811]: write UDP: Operation not permitted (code=1)
Mon Apr  4 22:47:29 2022 daemon.notice openvpn(x)[28811]: Recursive routing detected, drop tun packet to [AF_INET]94.177.202.57:1194
Mon Apr  4 22:47:29 2022 daemon.notice openvpn(x)[28811]: Recursive routing detected, drop tun packet to [AF_INET]94.177.202.57:1194
Mon Apr  4 22:47:29 2022 daemon.notice openvpn(x)[28811]: Recursive routing detected, drop tun packet to [AF_INET]94.177.202.57:1194
Mon Apr  4 22:47:29 2022 daemon.notice openvpn(x)[28811]: Recursive routing detected, drop tun packet to [AF_INET]94.177.202.57:1194
Mon Apr  4 22:47:29 2022 daemon.err openvpn(x)[28811]: write UDP: Operation not permitted (code=1)
Mon Apr  4 22:47:34 2022 daemon.err openvpn(x)[28811]: write UDP: Operation not permitted (code=1)
Mon Apr  4 22:47:34 2022 daemon.notice openvpn(x)[28811]: Recursive routing detected, drop tun packet to [AF_INET]94.177.202.57:1194
Mon Apr  4 22:47:34 2022 daemon.notice openvpn(x)[28811]: Recursive routing detected, drop tun packet to [AF_INET]94.177.202.57:1194
Mon Apr  4 22:47:34 2022 daemon.notice openvpn(x)[28811]: Recursive routing detected, drop tun packet to [AF_INET]94.177.202.57:1194
Mon Apr  4 22:47:34 2022 daemon.err openvpn(x)[28811]: write UDP: Operation not permitted (code=1)
^[[BMon Apr  4 22:48:01 2022 daemon.err openvpn(x)[28811]: write UDP: Operation not permitted (code=1)
Mon Apr  4 22:48:01 2022 daemon.notice openvpn(x)[28811]: Recursive routing detected, drop tun packet to [AF_INET]94.177.202.57:1194
Mon Apr  4 22:48:01 2022 daemon.notice openvpn(x)[28811]: Recursive routing detected, drop tun packet to [AF_INET]94.177.202.57:1194

1 Answer

0 votes
by anonymous

Hello,

Please check if the SMS message you are sending is in the correct format. By default the SMS text should be written like this: “admin_password command_text“, where admin_password is router's WebUI login password used for authorization. Depending on your configuration, other method might be selected. command_text is the specific command word/phrase.

If that does not help, generate a troubleshoot file by going to Webui System -> Administration -> Troubleshoot and send it to me in a private message. 

Best regards,

Žygimantas

by anonymous
Hi! can you clarify if the  expected vpnon syntax is

pass vpnon client_xxx

OR

pass vpnon xxx

with the legacy firmware client_xxx works only

can it matter that the admin password contains a '=' besides a-z,A-Z,0-9?

thanks
by anonymous

Hello,

The characters in the password does not matter. The command should simply be like this: pass vpnon - to start OpenVPN instance, pass vpnoff - to stop OpenVPN instance.

Best regards, 

Žygimantas 

by anonymous
Hi!

Yes, but what is unclear to me is that if you name your client connection 'vpnhost' than the format would be

pass vpnon client_vpnhost

or

pass vpnon vpnhost

if I save a connection and name it 'xxx' it gets saved as client_xxx
by anonymous

The command is pass vpnon xxx. Sending with client_ in front of vpn host will not enable/disable the instance.