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

Webadmin unreachable

Hello Forum!

During a long night, we made a big mistake: We made a SNAT rule, which is forwarding all HTTPS traffic to our Exchange server, so we can´t connect to the webadmin anymore.

How can we recover this in ASL V4? We still have access to the console


Greetings from Germany
ESD


This thread was automatically locked due to age.
  • Hi,

    go to the console. go to /etc/wfe/conf/ and edit the file natmasq. delete the "bad" rule than your access to webadmin should work again!

    regards, mario
  • After your recover, change the webadmin to something else as well. [:)]
  • How would one go about getting to correct directory to change these settings. I made dumb mistake and forgot to change admin port. I tried
    the settings above, but dont exactly know how to do from console. If it
    is possible via scp then I can handle. Not the greatest @ cmd line.
  • winscp that comes with the astaro installation cd (or any other version) won't allow you to "su", and you cannot login to the astaro box as root. To make changes to the file mentioned above, you will have to be root. So your only option is to use putty; (putty can also be found on your installation disk under dosutils directory). However that will require you to fire up vi and as my AIX instructor used to say, "There are two kinds of people in this world, people who love vi, and people who don't know vi". A short reference guide on vi commands is at http://linux.dbw.org/vi_short_ref.html

    Using command line is not that difficult. Just use putty and when you get login screen, type su and put your root password

    Now type vi /etc/wfe/conf/natmasq and you will get the file you want to edit. Make the desired changes and type :qw when finished to write and quit the editor.

    Just remember all these changes will be made by the root account and you can really damage your system if you are not careful.

    HTH[;)]