![]() ![]() $ sudo ufw deny proto tcp from sub/net to any port 22 The routing prefix may be expressed in Classless Inter-Domain Routing (CIDR) notation. Subnetting is the practice of dividing a network into two or more networks. ![]() $ sudo ufw status numbered ufw block subnet (CIDR)Ī subnetwork (also known as “subnet”) is a logical subdivision of an IP network. $ sudo ufw deny proto tcp from 202.54.1.1 to any port 22 $ sudo ufw deny proto įor example block hacker IP address 202.54.1.1 to tcp port 22, enter: The syntax is as following when you need to block by IP address, port number and protocol: Going to should show an Nginx index.html file at present.80 DENY IN 202.54.1.5 ufw deny specific IP, port number, and protocol The domain is and the nameservers are and. This has got me a bit stumped given it was all running perfectly fine before the reboot. flags: qr rd ra QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 >HEADER<<- opcode: QUERY, status: NOERROR, id: 6408 ![]() I can access ISPConfig and Webmin via the server IP address, I can SSH into the server via the IP, and dig returns noerror for both nameservers either from my local computer or from the server: dig I've run through all the firewall settings, confirmed the DNS zones checked the nameservers etc with no luck. So far I've not been able to get any domain names to resolve to it since the reboot. I did have it all up and running however needed to reboot it the other day. This is the first time I've tinkered with ISPConfig, Webmin and Nginx. I have recently setup a Centos 6.3 VPS running ISPConfig3 and Webmin with Nginx as the web server and BIND as the DNS server. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |