Ubuntu update Under ISA Firewall

Source: Internet
Author: User
Ubuntu update Under ISA firewall-Linux Enterprise Application-Linux server application information. The following is a detailed description. Because a company's SP project needs to install a Linux computer, I volunteered to install Ubuntu for that machine, because it was used very well.

However, this is a new problem in the old revolution. Because the Linux system encounters the Windows ISA proxy server, the domain user name and password cannot be used, ubuntu updates are a very headache. I installed it with LiveCD. Although the installation is complete, there is no problem with Desktop, but it is a working machine and many things, for example, the C library and input method are not in the default installation scope. Therefore, if it cannot be updated, Ubuntu will be similar to toys.

Yesterday I came back with a fierce search. Some of my friends have encountered this problem. There is almost only one solution. That is, you need to use a proxy, but the exception is Firefox. You can use the username and password under the domain to access the Internet. This can only be said that Firefox is too powerful.

Next we will introduce how to smoothly update Ubuntu in the case of an AD domain.

Tool Name: NTLM authorization Proxy Server v0.9.9
: Http://ntlmaps.sourceforge.net/

Its tool principle is to set up a proxy-like process on the local machine, and all the proxy requests will be converted to the NT proxy after it passes through, and send a request to the NT proxy server.

After the download, run
$ Tar-zxvf ntlmaps-0.9.9

Locate server. cfg and modify it.
[GENERAL]
LISTEN_PORT: 5865 # local listening port
PARENT_PROXY: 192.168.0.2 # ISA Server
PARENT_PROXY_PORT: 8080 # ISA server port
PARENT_PROXY_TIMEOUT: 15
ALLOW_EXTERNAL_CLIENTS: 0
FRIENDLY_IPS:
URL_LOG: 0
MAX_CONNECTION_BACKLOG: 5
[CLIENT_HEADER]
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd. ms-excel, application/msword, application/vnd. ms-powerpoint ,*/*
User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows 98)
[NTLM_AUTH]
NT_HOSTNAME: 192.168.0.2 # Host Name
NT_DOMAIN: demo-domain # domain
USER: test # ISA proxy Username
PASSWORD: test # ISA proxy PASSWORD
LM_PART: 1
NT_PART: 0
NTLM_FLAGS: 06820000
NTLM_TO_BASIC: 0
[DEBUG]
DEBUG: 0
BIN_DEBUG: 0
SCR_DEBUG: 0
AUTH_DEBUG: 0

Save the configuration and start main. py:
# Python main. py &

Set the proxy address of the tool to connect to the Internet to 127.0.0.1, and the port to 5865 to connect to the Internet.

You can change the proxy server in the settings by entering the above information.

If apt-get update is used, execute
$ Export http_proxy = "http: // FIG: 5865"

OK. I hope these items can be added to the favorites of baidu or google, so that more students who cannot update Ubuntu under the ISA agent of the company can refer to them.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.