Use ntlmaps to access the Internet in Ubuntu

Source: Internet
Author: User
The company installed the ISA Server, and Ubuntu could not update the software through the ISA agent. you cannot use apt-get to update the software on the command line. it's easy to simply access the internet. (1) We can directly set the proxy in preference -- & gt; networkproxy. For more information, see: (2) Enter routeadddefaultgw10. ***. ***. *** in the command line to add the default network administrator.

The company installed the ISA Server, and Ubuntu could not update the software through the ISA agent. That is, it could not use apt-get to update the software under the command line.

1. If you just access the Internet, it is very simple.

(1) We directly preference --> Find the proxy in network proxy

Just set it.

Refer:

(2) enter route add default gw 10. *** in the command line to add the default network administrator. Then, you can access the Internet in the browser.

If you are surfing the Internet under Firefox, you only need to set up a proxy in Edit --> Preferrences --> Advance --> Settings. You can directly access the Internet by adding a network administrator to the command line port.

2. The company has installed the ISA Server, and Ubuntu cannot update the software through the ISA agent.

Solution: Install ntlmaps

(1) Go to this website http://pkgs.org/search ntlmapsto download your debversion

(2) dpkg-I * install the downloaded ntlmaps

(3) cp/etc/ntlmaps/server. cfg/usr/share/ntlmaps/

(4) Before starting the Authentication Proxy server, you must first configure the IP address, port information, and ntlmaps of the proxy server msproxy.

Vi/usr/share/ntlmaps/server. cfg or gedit/usr/share/ntlmaps/server. cfg

[GENERAL] # GENERAL settings

LISTEN_PORT: 5865 # ntlmaps default listening port, default
PARENT_PROXY: your_parentproxy # IP address of the msproxy Proxy Server
PARENT_PROXY_PORT: 8080 # msproxy proxy server port, http is generally 8080
[NTLM_AUTH]
NT_HOSTNAME: hostname # optional Host Name
NT_DOMAIN: domainname # optional NT Server Domain Name
USER: username # the USER name specified by msproxy. If not, leave it blank.
PASSWORD: password # The PASSWORD required by msproxy, Which is blank and automatically prompted

(5)/usr/share/ntlmaps/main. py cannot be switched off after the background is started.

(6) export http_proxy = "http: // 127.0.0.1: 9001" The local IP address and listening port are set the same as those of system ----> preferences ----> proxy

(7) apt-get update test run

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.