The firewall is up and running, good old Debian, I think even webmin and openpanel are able to manipulate a firewall, maybe they should think about including a feature like that.
Yes it is a dedicated server and yes I am the admin. I don't need to hire anyone I will sort it myself, I was just suprised to see something missing like this.
Thanks for the lead on the KISS firewall, I will look into it. Guess I will head over to the feature requests.
The problem I have is that a domain is not resolving to my servers ip address.
Zone information
Domain name / Zone: *****.***
Nameserver: ns1.leaseweb.com
ns2.leaseweb.com
Test results in detail
Failures
Test: Server doesn't listen/answer on port 53 for UDP protocol
==> ns1.leaseweb.com./83.149.80.111
Warnings
Test: All addresses should be distinct
==> generic
Successes
Test: At least one nameserver found
==> generic
Test: Delegation response with additional fit in a 512 byte UDP packet
==> generic
Test: No illegal use of dash ('-') in the domain name found
==> generic
Test: Address is not part of a private subnet
==> ns1.leaseweb.com.
==> ns2.leaseweb.com.
Test: Delegation response fit in a 512 byte UDP packet
==> generic
Test: At least two nameservers found
==> generic
Test: No illegal symbols found in domain name
==> generic
nmap is actually showing that the port is open but not allowing dns requests on port 53 which apparently is what that port is for. Now in openpanel which I installed when I first got this server about a week ago and is free and opensource you are able to select ports and permit or deny such requests.
I think this might be the answer to my problem seeing that there is not a interface in DirectAdmin to do it but I need to find out for sure.
SERVER_IP="***.**.**.**"
iptables -A INPUT -p udp -s 0/0 --sport 1024:65535 -d $SERVER_IP --dport 53 -m state --state NEW,ESTABLISHED -j ACCEPT
iptables -A OUTPUT -p udp -s $SERVER_IP --sport 53 -d 0/0 --dport 1024:65535 -m state --state ESTABLISHED -j ACCEPT
iptables -A INPUT -p udp -s 0/0 --sport 53 -d $SERVER_IP --dport 53 -m state --state NEW,ESTABLISHED -j ACCEPT
iptables -A OUTPUT -p udp -s $SERVER_IP --sport 53 -d 0/0 --dport 53 -m state --state ESTABLISHED -j ACCEPT
Thanks for your help.
David