Hi folks,
I'd like the ability to view the SVG traffic graphs for the m0n0wall interfaces by embedding them in a page hosted by my web server and viewable to anyone who hits that page. In other words:
- monowall is on my network at 192.168.2.1 with its webgui running on port 443 (https)
- the web server is on my DMZ at 192.168.3.6 running on port 80
- and I want to put up a page at http://www.<mydomain>.com/graphs/graphs.html that has an embedded graph for each interface on m0n0wall. Some where on the page would be an HTML embed something like
<embed src="https://<monowall's host name or IP address>/graph.php?ifnum=fxp0&ifname=WAN" type="image/svg+xml"
width="550" height="275" pluginspage="http://www.adobe.com/svg/viewer/install/auto" />
Currently, I have my m0n0wall's web GUI running on https and there's no NAT to it from the WAN, which I prefer for security reasons.
I can see the graphs in a page I built that's running on my server as long as I'm on my LAN and logged in to the m0n0wall web GUI, so I know the HTML part works.
Is there a way that I can embed the graphs so that they can be viewed using a setup as I've described above?
Thanks for any help you can provide.