Koozali.org: home of the SME Server

Ip baning

lovag

thanks
« Reply #30 on: October 31, 2006, 09:41:58 AM »
Great info...
thanks 4 this thread
 :D

Offline crzy_dmd

  • *
  • 17
  • +0/-0
Re: Ip baning
« Reply #31 on: October 01, 2007, 09:01:09 PM »
Is there a way to block all IP addresses except one?

how do i can do this?
« Last Edit: October 01, 2007, 09:11:57 PM by crzy_dmd »
____________
Shine on......

Offline TrevorB

  • *
  • 259
  • +0/-0
    • http://www.batley.id.au
Re: Ip baning
« Reply #32 on: October 02, 2007, 12:49:02 AM »
Is there a way to block all IP addresses except one?

how do i can do this?
From one of Ray's earlier posts
Code: [Select]
/sbin/e-smith/db configuration setprop sshd AllowHosts xxx.xxx.xxx.xxx
signal-event remoteaccess-update
The AllowHosts property is the opposite of DenyHosts (ie. allow ONLY these hosts vs deny ONLY these hosts) and applies to all the services stated in that post. The second statement will do all the required changes and expand the appropriate template and restart all the services.

Trevor B

Offline crzy_dmd

  • *
  • 17
  • +0/-0
Re: Ip baning
« Reply #33 on: October 02, 2007, 01:20:53 AM »
Thx Trevor,

So the idea is if i use AllowHosts, no one can access except that host? is that easy? i put DenyHosts=all, i have to remove this?
____________
Shine on......

Offline raem

  • *
  • 3,972
  • +4/-0
Re: Ip baning
« Reply #34 on: October 02, 2007, 06:41:01 AM »
crzy_dmd

This thread will probably also be of interest, and may actually give you some configuration clues.
http://forums.contribs.org/index.php?topic=38202.new;topicseen#new
...