Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Sophos UTM 9 - SSH Administration

Hallo liebe Community!

Für meine Firewall (Sophos UTM 9) benötige ich eine Art Befehlsliste (SSH / Shell), worüber ich z.B. ein oder mehrere Firewall-Regeln erstellen kann oder gar eine Art Blacklist für externe IPs erstellen kann. Über die GUI kann ich z.B. pro Firewall-Regel nur eine IP-Adresse (mit Angabe des Präfix) oder definierte Schnittstellen zum Sperren hinzufügen.

Ist es möglich, per SSH die Sophos Firewall leichter bzw schneller zu administrieren? Kann man dort ggf. per API o.ä. eine Datei mit IPs hochladen?

VG

Bastian Len



This thread was automatically locked due to age.
Parents
  • With cc (confd-client.plx) and the Perl interface (ConfdPIRPC) a great many things are possible (including breaking everything) but it is almost entirely without any public documentation and even less support from the vendor.

    These two should be enough to get started with cc:

    cc get_exports
    cc get_objects

     

    And with Perl:

    $ perl -e 'use Astaro::ConfdPlRPC ; my $c = Astaro::ConfdPlRPC->new; $c->system_shutdown; $c->disconnect;'
Reply
  • With cc (confd-client.plx) and the Perl interface (ConfdPIRPC) a great many things are possible (including breaking everything) but it is almost entirely without any public documentation and even less support from the vendor.

    These two should be enough to get started with cc:

    cc get_exports
    cc get_objects

     

    And with Perl:

    $ perl -e 'use Astaro::ConfdPlRPC ; my $c = Astaro::ConfdPlRPC->new; $c->system_shutdown; $c->disconnect;'
Children