I have been trouble shooting a blocked range of ip addresses, (207.103.198.x) which I cannot reach from my server. It appears the problem is in the hosts.allow file.
when I look in server manager Networking Configuration:
I see
Networking Parameters
Server Mode servergateway
Local IP address / subnet mask 10.6.18.1/255.255.255.0
External IP address / subnet mask 10.6.17.2/255.255.255.0
Gateway 10.6.17.1
Additional local networks 10.6.18.0/255.255.255.0
DHCP server enabled
Beginning of DHCP address range 10.6.18.65
End of DHCP address range 10.6.18.250
When I look at local networks I see:
Network Subnet mask Number of hosts Router Action
10.6.18.0 255.255.255.0 256
But when I open /etc/hosts.allow
I see:
afpd: 127.0.0.1 10.6.17.0/255.255.255.0 10.6.18.0/255.255.255.0 207.103.198.0/255.255.255.0 207.103.198.180/255.255.255.255 207.103.198.190/255.255.255.255
papd: 127.0.0.1 10.6.17.0/255.255.255.0 10.6.18.0/255.255.255.0 207.103.198.0/255.255.255.0 207.103.198.180/255.255.255.255 207.103.198.190/255.255.255.255
in.ident: ALL
# LDAP servers
slapd: 127.0.0.1 10.6.17.0/255.255.255.0 10.6.18.0/255.255.255.0 207.103.198.0/255.255.255.0 207.103.198.180/255.255.255.255 207.103.198.190/255.255.255.255
# pptpd is disabled
in.proftpd: ALL
qmail-popup: 127.0.0.1 10.6.17.0/255.255.255.0 10.6.18.0/255.255.255.0 207.103.198.0/255.255.255.0 207.103.198.180/255.255.255.255 207.103.198.190/255.255.255.255
sshd: ALL
# 'telnet' is disabled in the configuration database
I have checked the templates in /etc/e-smith/templates/etc/hosts.allow/
which refer to a db "hosts_allow_spec"
and in /etc/e-smith/templates-custom/etc/hsosts.allow
There is onle a reference to snmpd 127.0.0.1
So my question is how do I find and edit "hosts_allow_spec" db or edit the template fragments to clear the references to 207.103.198.x
Thanks for any guidance!