Login
Register
Home
Wiki Knowledge Base
FreeDNS
Facebook
Linux Support
Control Web Panel
MENU
Home
Help
Search
Login
Register
Control Web Panel
»
WebPanel
»
CentOS-WebPanel Bugs
»
/etc/hosts.allow is this a bug or I am doing something wrong?
« previous
next »
Print
Pages: [
1
]
Author
Topic: /etc/hosts.allow is this a bug or I am doing something wrong? (Read 4030 times)
0 Members and 1 Guest are viewing this topic.
jnet
Jr. Member
Posts: 73
/etc/hosts.allow is this a bug or I am doing something wrong?
«
on:
August 05, 2019, 08:46:12 AM »
In this file /etc/hosts.allow I have
sshd : 1.23.45.567 : allow
sshd : ALL : deny
Is the above wrong? It is not working for me.
I still can ssh to server from any ip
I want to restrcit ssh to only 1.23.45.567 ip
Logged
jnet
Jr. Member
Posts: 73
Re: /etc/hosts.allow is this a bug or I am doing something wrong?
«
Reply #1 on:
August 05, 2019, 09:31:42 AM »
OK I think I discovered what was wrong, I removed port 22 from firewall
made sure I whitelist my static ip in firewall and have it in hosts.allow
Logged
Print
Pages: [
1
]
« previous
next »
Control Web Panel
»
WebPanel
»
CentOS-WebPanel Bugs
»
/etc/hosts.allow is this a bug or I am doing something wrong?