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

utm 9 change ip command line

First, thanks in advance. 
We have a virtual appliance 8.0 and have downloaded 9 to update. 
We want to change the ip of the virtual appliance to connect to the gui. set default 192.168.0.1 but do not have access to that network. 
How I can change the settings by command before launching the GUI? 
thank you!


This thread was automatically locked due to age.
Parents
  • Hi, kinomakino, and welcome to the User BB!

    I think you want:
    ifconfig eth0 up

    And then, to change to 192.168.2.1,
    ifconfig eth0 192.168.2.1 netmask 255.255.255.0 broadcast 192.168.2.255

    That's not a persistent change, so you'll want to make the change in WebAdmin once you're in.  You might want to consult the https://community.sophos.com/products/unified-threat-management/astaroorg/f/51/t/22065, especially The Zeroeth Rule.

    If you're just going to restore a configuration backup, you can do that from the CLI also.

    Cheers - Bob
     
    Sophos UTM Community Moderator
    Sophos Certified Architect - UTM
    Sophos Certified Engineer - XG
    Gold Solution Partner since 2005
    MediaSoft, Inc. USA
Reply
  • Hi, kinomakino, and welcome to the User BB!

    I think you want:
    ifconfig eth0 up

    And then, to change to 192.168.2.1,
    ifconfig eth0 192.168.2.1 netmask 255.255.255.0 broadcast 192.168.2.255

    That's not a persistent change, so you'll want to make the change in WebAdmin once you're in.  You might want to consult the https://community.sophos.com/products/unified-threat-management/astaroorg/f/51/t/22065, especially The Zeroeth Rule.

    If you're just going to restore a configuration backup, you can do that from the CLI also.

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