Re: I need to allow to login to Linux pc from particular IP addr only - Can I do that with IPtables command?
- From: Bit Twister <BitTwister@xxxxxxxxxxxxxxxx>
- Date: Sun, 29 Jan 2006 18:08:21 -0600
On 29 Jan 2006 15:56:36 -0800, GS wrote:
> I looked into thi spage, thi stells me to add entry into /etc/hosts.all
> and hosts.deny file.
you put
ALL: ALL
in /etc/hosts.deny
And in /etc/hosts.allow
sshd: 68.192.220.199
> if I add just an IP address of the external PC, in /etc/hosts.allow
> file will it be Ok?.
I assume you have a carriage after each line and the firewall does not
block you.
For extra points, try doing a
man hosts.allow
man hosts.deny
.
- References:
- I need to allow to login to Linux pc from particular IP addr only - Can I do that with IPtables command?
- From: GS
- Re: I need to allow to login to Linux pc from particular IP addr only - Can I do that with IPtables command?
- From: d
- Re: I need to allow to login to Linux pc from particular IP addr only - Can I do that with IPtables command?
- From: GS
- I need to allow to login to Linux pc from particular IP addr only - Can I do that with IPtables command?
- Prev by Date: Re: I need to allow to login to Linux pc from particular IP addr only - Can I do that with IPtables command?
- Next by Date: What's This Log Entry Mean?
- Previous by thread: Re: I need to allow to login to Linux pc from particular IP addr only - Can I do that with IPtables command?
- Next by thread: Re: I need to allow to login to Linux pc from particular IP addr only - Can I do that with IPtables command?
- Index(es):