Lang Zhi wrote:
>
> Hi,
> I want to restric telnet or ftp to only mydomain.com, others connection will
> be rejected. How to do this ?
> Is ipchains will do this or the tcp wrapers ?
TCP wrappers will work fine for this. Edit /etc/hosts.allow and add:
in.telnetd: .mydomain.com
in.ftpd: .mydomain.com
Then edit /etc/hosts.deny and add:
ALL: ALL
--
Steve Philp
Network Administrator
Advance Packaging Corp.
[EMAIL PROTECTED]
- [expert] blocking remote access Lang Zhi
- Re: [expert] blocking remote access Steve Philp
- Re: [expert] blocking remote access Ramon Gandia
- Re: [expert] blocking remote access Steve Philp
