To troubleshoot and allow IPv6 traffic on TCP port 18917 on your Debian 11 system, follow these steps:
ip6tablessudo ip6tables -A INPUT -p tcp --dport 18917 -j ACCEPT sudo ip6tables -A OUTPUT -p tcp --sport 18917 -j ACCEPT iptables-persistent if not already installed:sudo apt-get install iptables-persistent sudo netfilter-persistent save sudo ip6tables -L -v -n This command will show you the current ip6tables rules. Ensure that the rules for port 18917 are present in the INPUT and OUTPUT chains.
Ensure that your network interface is configured to handle IPv6. Verify your network settings in /etc/network/interfaces or using nmcli if you are using NetworkManager.
Ensure that your server has IPv6 connectivity and that it is correctly configured:
ping6 google.com Ensure no other firewall or security groups are blocking IPv6 traffic:
sudo ufw status sudo firewall-cmd --list-all Ensure that the service is listening on the correct IPv6 address and port:
sudo netstat -tuln | grep 18917 This command should show that the service is listening on :: or the specific IPv6 address for port 18917.
Ensure that the service itself is configured to listen on IPv6 addresses. This might require checking the service configuration files.
By following these steps, you should be able to allow and troubleshoot IPv6 traffic on TCP port 18917 on your Debian 11 system.