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

Modify Host Definition and enable/disable NAT rule via command line

Hi,

is it possible to modify the IP address of an existing host definition via command line? 
Additionally is it possible to enable/disable NAT rules via command line?
Could it be done via cc?

EDIT: Reason: I need to change these values automatically through a script.


Thanks in advance

Dino


This thread was automatically locked due to age.
Parents
  • This seems like an ideal situation for a RED.  Just use a single DNAT rule with destination changed to an Availability Group containing, in order {Traveling Server} and {Datacenter Server}.

    If it needs to synchronize first, it can use a different IP until it's ready to take over the traffic, at which time, you would change it to the one used in the {Traveling Server} definition.

    The advantage of all this is that it can all be done automatically.  When the Traveling Server is available, traffic will be sent to it.

    Can that approach work for you?

    Cheers - Bob
     
    Sophos UTM Community Moderator
    Sophos Certified Architect - UTM
    Sophos Certified Engineer - XG
    Gold Solution Partner since 2005
    MediaSoft, Inc. USA
Reply
  • This seems like an ideal situation for a RED.  Just use a single DNAT rule with destination changed to an Availability Group containing, in order {Traveling Server} and {Datacenter Server}.

    If it needs to synchronize first, it can use a different IP until it's ready to take over the traffic, at which time, you would change it to the one used in the {Traveling Server} definition.

    The advantage of all this is that it can all be done automatically.  When the Traveling Server is available, traffic will be sent to it.

    Can that approach work for you?

    Cheers - Bob
     
    Sophos UTM Community Moderator
    Sophos Certified Architect - UTM
    Sophos Certified Engineer - XG
    Gold Solution Partner since 2005
    MediaSoft, Inc. USA
Children
No Data