Guest User!

You are not Sophos Staff.

Command Line PDF

Hi dear all,

I have some pdf about webadmin configuration for ASG-525, but i want to add configuration by command line.
I know Astaro use redhat linux, so i can do some basic configuratuin with linux commands.(for example: ifconfig,route,ip route,iptables,...), but i want to have a complete command line reference.
Could anyone have this document?

thank you.
Ashkan.
  • It's not Redhat Linux.  Using command line for configuring the Astaro won't necessarily survive a restart.  Doing such commands may prevent you from getting warranty support from Astaro.

    WHat problems are you having that you can't resolve with the WebAdmin interface?

    Cheers - Bob
     
    Sophos UTM Community Moderator
    Sophos Certified Architect - UTM
    Sophos Certified Engineer - XG
    Gold Solution Partner since 2005
    MediaSoft, Inc. USA
  • I for one would love to see a command line resource on how to enable/disable ports from the commandline. I am a gamer (Wow in particular) and find myself constantly having to log into the webadmin to just enable one port for someone's ventrilo server or teamspeak server. Being able to run a batch file, vbs script, etc., with the port as an argument would definitely speed up the process and make me happier. [:)]

    Plus, I have been a command line junkie since DOS 4.0 or so, and this would just make life a lot easier for a lot of folks.

    thanks,
    isildur
  • Hi Isildur,

    While certainly possible to craft netfilter rules right at the command line, it won't be something we document or support from Astaro. The reason is that WebAdmin is a "push" type GUI which is not aware of changes made at the command line. It has a set of knowledge and rules it assumes are there, and when you add things at the command line they are not "pulled" up into the GUI. As such, the very next time you login to the WebAdmin and even access a screen (perhaps not even making changes), your command line changes can be lost, and will most certainly be overwritten during Up2Dates.

    While its fun to play , for  configuration you will have the best Astaro experience using the GUI.

    Cheers,
  • dear all, 

    Can we do a restore configuration via the command line? because my customer made a mistake in the QoS configuration that he had difficulty to akes into their astaro.
  • You might not need the command line, but maybe you will.  Try a google
    site:astaro.org config restore command line


    Cheers - Bob
     
    Sophos UTM Community Moderator
    Sophos Certified Architect - UTM
    Sophos Certified Engineer - XG
    Gold Solution Partner since 2005
    MediaSoft, Inc. USA
  • I think the reason is that WebAdmin is a "push" type GUI which is not aware of changes made at the command line. It has a set of knowledge and rules it assumes are there, and when you add things at the command line they are not "pulled" up into the GUI.
    I think so !
  • Hi Cindy, there is a 'cc' program on the command line which can modify the configuration db directly; the same config db as the GUI uses.

    It is, however, mostly undocumented.

    Barry