Troubleshooting AWTUN on System Manager

Last Updated : Jul 25, 2024 |

Use the following information to troubleshoot Avaya WebSocket Tunnel (AWTUN) on System Manager:

  • AWTUN process runs under Linux systemd awtun.service. By default, the AWTUN process is off.

  • AWTUN service starts when the edge Branch Session Manager is configured. The Linux systemd awtun-manager.service configures and starts the awtun.service

  • awtun-manager.service always runs. awtun.service only if edge Branch Session Manager is configured.

  • To view the AWTUN process status, run systemctl status awtun-manager or systemctl status awtun

  • AWTUN log messages are captured in /var/log/messages

  • To view the AWTUN log messages, run grep awtun /var/log/messages

  • To view the AWTUN manager messages, run vi /var/log/Avaya/awtun/awtunServerMgr.log

  • To view the configured edge Branch Session Managers, run vi /opt/Avaya/awtun/conf/users.json and /etc/hosts

  • To view the port redirection rules, run nft list chain ip nat awtun_redirect

  • To capture network packets on System Manager, run tcpdump. For example, run tcpdump -i lo -f 'host 127.0.1.1 to capture all packets tunneled for edge Branch Session Manager IP address 127.0.1.1

  • To view the current connections to AWTUN, run awtunstat. This utility provides a filtering option. To view the full options, run awtunstat -h

The following table provides a few examples for running awtunstat on System Manager:

Command

Description

awtunstat

To view all active connections.

awtunstat -n

To view all active connections with IP addresses only.

awtunstat -n -i':2940'

To view only WebSocket connections of port 2940.

awtunstat -n -e':2940'

To view all active connections, excluding the WebSocket connections.

awtunstat -nw -e':2940'

To continually view active connections, excluding the WebSocket connections.

Note:

From the root user login, you can view and execute all the troubleshooting commands.