Restrict access to my SystemImager server

Discussion in 'Installation/Configuration' started by cornelius, Jun 5, 2005.

  1. cornelius

    cornelius New Member

    I'm now using SystemImager for backing up and installing my systems in my local network. I followed this howto http://www.howtoforge.com/howto_linux_systemimager, and all is working like expected. Now I have a little question: I'd like to restrict the access to my image server, i.e., I have certain IP adresses that should be allowed to retrieve images from the image server, but all other IP addresses should not be allowed to access the image server. Is this possible, and if so, how?

    Cornelius
     
  2. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    Edit the file /etc/systemimager/rsyncd.conf and put something like this into it:

    Code:
    #hosts allow = 127.0.0.0/24 MY_NET/NETMASK MY_CLIENT/32
    hosts allow = 192.168.0.0/24 1.2.3.4/32
    hosts deny = *
    This will allow access from the subnet 192.168.0.0 and from the single machine 1.2.3.4; all other systems will be blocked.
    Restart your SystemImager server afterwards:
    Code:
    /etc/init.d/systemimager-server restart
     

Share This Page