J
jaomedes
Guest
Hello,
How can I prevent telnet to a server from an specific IP Address?
Thanks
How can I prevent telnet to a server from an specific IP Address?
Thanks
I know this is an old-ish thread, but it is relevant to what Rob said.Hi, welcome to LinuxForum!
You could use the hosts.deny file:
telnet: 1.2.3.4
Is this a server facing the internet though? You should be uaing ssh instead.
Good luck,
Rob
Depends. If it's an external connection then rejecting the connection at the router segment would be better and cause less overhead via iptables.The safest and most powerful method would be denying it using iptables.