4.7K reads
2 comments
Hello Travis,
I have Debian 11 CIS and did that same changes for nftables config but still not able to access web services on browser, browser is getting connection timed out, any help really appreciated here !!
Vikash, it will be very hard for me to help troubleshoot as there are so many reasons why it might not be working for you.
First, try sudo nft list ruleset
to see what rules nftables is actually using. Look for anything wrong there.
Try sudo dmesg | grep nftables
to check the log and look for any error messages.
Try to access the web server locally with curl localhost
.
Make sure your web server is running with sudo systemctl status apache2
. If you're using nginx instead of Apache, replace apache2
with nginx
in that command.
Using some of the knowledge gained from those commands, try searching for a working solution.
Good luck!