Hello. How to configure the file of faevrol http://rghost.ru/35781010 on the website epsilion-w.ru for site access to the database. Thank you in advance.

  • specify which services are running on the machine (apache, database - which one, which settings of services, which ports work) - let's say how to set up a firewall - danila 1

2 answers 2

iptables -t filter -A INPUT -p udp --sport 53 -j ACCEPTiptables -t filter -A INPUT -p udp --dport 53 -j ACCEPT 

There is one thing you need to throw out, rather dport, if it is not a DNS server. And what exactly does not work? What database?

  • well ... and what to turn out if to throw out the indication of port? Allow all udp traffic? and if to throw out a mention about udp that permission to all and all? brilliant! - danila 1

hm ... Here it seems as though it is necessary to use the tcp protocol, but not udp.