Indunil Jayasooriya
2007-Sep-19 04:34 UTC
[CentOS] How to mount a remote file system to another linux box
Hi, I have applied traffic shaping on firewall running CentOS 4.5. eth1 is the device where I have done traffic shaping. I am now running some monitoring tools such as polltc and tc-graph.pl. They generate graphs. These graphs are updated every 10 seconds. They have been saved on the firewall it self. To view thsese graphs, I have to enable apache on firewall it self. But I do not need to run apache on firewall as I will have to open port 80. I only have opened port 22 to the WORLD. I want to go that way. I have a web server running CentOS 4.4 @ LAN. I can view those graphs via this web server , if I can mount those graphs to this web server. my firewall has 3 nics. eth2 is 192.168.101.254 connected to the LAN. my web server @ LAN is 192.168.101.35 How can I achieve this ? Hope to hear from you. -- Thank you Indunil Jayasooriya -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20070919/22698ed9/attachment-0001.html>
Tomasz NapieraĆa
2007-Sep-19 07:07 UTC
[CentOS] How to mount a remote file system to another linux box
On Wednesday 19 September 2007 06:34:58 Indunil Jayasooriya wrote:> I have a web server running CentOS 4.4 @ LAN. I can view those graphs via > this web server , if I can mount those graphs to this web server. > > my firewall has 3 nics. eth2 is 192.168.101.254 connected to the LAN. my > web server @ LAN is 192.168.101.35 > > > How can I achieve this ?Some ideas comes to my mind: - export folder containing graphs via NSF on desired net interface, but IMHO it's bit over the top. - look at running httpd only on internal interface (but that would limit access to the graphs to your LAN only) - use rsync But to keep security tight I would simply schedule cron job transfering those files to web server. Regards, -- Tomasz Napierala System Administrator Allegro Team http://www.allegro.pl/