HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=4)
-   -   Restrict access to my SystemImager server (http://www.howtoforge.com/forums/showthread.php?t=113)

cornelius 5th June 2005 18:29

Restrict access to my SystemImager server
 
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

falko 7th June 2005 11:35

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


All times are GMT +2. The time now is 12:13.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.