Morgan O'Neal wrote:
>The only problem is I have ~500 domaisn that need to be changed to
>access the private IPs. I can easily make a script that can give me
>all the data I need to add to my m0n0wall config but I don't know of a
>easy way to do this. Does anyone know of a easy way to interface with
>m0n0wall remotely. The only way that I can see to do this now is grab
>the config.xml from status.php and check to see if it already has the
>domain and if not post the information to the DNS forward add form.
>This would be really slow because of the disk writes and feels wrong.
>If anyone has a better idea please let me know.
>
>
Grab config.xml, add the entries into the XML file directly, then use
the backup/restore functionality to restore your newly written
configuration to m0n0wall.
--
All generalizations are bad! |