I checked by various netstat commands that many connections are made to my VPS Debian server. I have NodeJS app running behind Apache2 proxy pass and when I want to open this app its really slow (5-10secs to load). DDos protection from my hosting not working and I still see hundreds of connections from countries like China, Ukraine and Russia. Everytime I block those IP addresses using firewalld new appear...

How to block ALL countries from connecting to my server EXCEPT one or two countries I choose? Do I really must use some kind of list of ranges and block them all and update it properly? Or I can just do "BLOCK ALL EXCEPT "

BTW: Xtables-addons not working anymore (https://github.com/openwrt/packages/issues/7927)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.