Monthly Archives: January 2016

Use CNTML to pass through NTML proxy

Lots of company require end users to use a proxy to access internet. Some of them are using NTML proxy such as ISA. But some software such as Xshell, putty are not supporting NTML proxy.
So we can use CNTML to pass through NTML proxy.

Official website:http://sourceforge.net/projects/cntlm/
You can also refer to wiki:http://sourceforge.net/apps/mediawiki/cntlm/index.php?title=Main_Page

1. Download CNTML. I suggest to download the zip version due to users may not have admin rights.
2. Unzip it.
3. Modify configuration file cntlm.ini,Please note that the password is in plain text and it’s a security risk:

Username: Your domain username
Domain: Your domain name
Password : Your domain password. (It seems that if you have # in your password, you may get some problem)
Proxy : You NTML proxy address, such as 10.0.0.1:8080
Listen cntlm: By default it’s 3128

4. Create a shortcut for cntlm.exe, and then right click the shortcut, choose property. And add ” -c cntlm.ini” at the end of target. Otherwise CNTML will try to laod the configuration files in C:\Program Files\cntlm中的cntlm.ini, and you’ll get an error.
5.Double click the shortcut to start CNTML. And then open task manager, you can find that cntml is running.
6. In Xshell, create a new proxy which is 127.0.0.1:3128

Upgrade vCenter Server Appliance (VCSA) and ESXi

Upgrade vCenter

Vcenter

Best practices is always to upgrade vCenter before your ESXi hosts. Download the ISO and upload to your Datastore.

Attach the ISO to the vCenter VM.

Mount ISO

Mount ISO

Use Putty to connect to your VCSA and run the following command:

software-packages install --iso --acceptEulas

step 3

4

reboot -r updates
exit

5
6

Update ESXi – Fast Method

This is the fastest way, but requires a decent internet connection.

Shut down all your running VM’s and enter Maintenance Mode.

Use Putty to connect to your ESXi host and run the following command:

esxcli network firewall ruleset set -e true -r httpClient
esxcli software sources profile list -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml
esxcli software profile update -p ESXi-6.0.0-20160104001-standard -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml

updaet esxi

reboot
exit