LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-09-2009, 02:39 AM   #1
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,461
Blog Entries: 6

Rep: Reputation: 51
Internet Under Corporate Firewall?


I have a Intel Hardware machine in my corporate LAN on which I installed Windows Xp and Internet seems to work. I formatted the disk and installed Ubuntu 9.04 as per the requirement and internet seems to work on Firefox Browser. But when I tried installed an application which needs internet to download the package seems not to work.When I try pinging google it worked but the link for Downloading package doesnt seem to work through commandline. When I run:
Code:
 sudo apt-get update
it fails to connect to Ubuntu Repository.
I do have a OpenSolaris Machine too which needs online package for creating zones through internet but that too failed.
I attempted editing the IP on /etc/hosts and providing corresponding IP to Hostname but it dint work.
Also, When I tried opening the Browser on Firefox it asked me for DOMAIN Username and Password and it went fine. Can I have a way connect to internet through proxy client on commandline.Pls Suggest.

Last edited by your_shadow03; 07-09-2009 at 02:40 AM.
 
Old 07-09-2009, 03:59 AM   #2
emra
LQ Newbie
 
Registered: Jul 2009
Posts: 4

Rep: Reputation: 0
Sounds like you have a MS Proxy and need NTLMAPS
 
Old 07-09-2009, 04:41 AM   #3
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,461
Blog Entries: 6

Original Poster
Rep: Reputation: 51
Any Idea how to get it work on Linux

Last edited by your_shadow03; 07-09-2009 at 05:22 AM.
 
Old 07-09-2009, 07:05 AM   #4
emra
LQ Newbie
 
Registered: Jul 2009
Posts: 4

Rep: Reputation: 0
Quote:
Originally Posted by your_shadow03 View Post
Any Idea how to get it work on Linux
Download at https://sourceforge.net/projects/ntlmaps/files/

Unpack it

Edit: server.cfg with your NT username, password, domain

start it with ./main.py


In ubuntu go to menu System/Preferences/Network Proxy and add Manual proxy configuration 127.0.0.1 Port: 5865
 
Old 07-10-2009, 01:25 AM   #5
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,461
Blog Entries: 6

Original Poster
Rep: Reputation: 51
I edited server.cfg with the following modifications:
Code:
[NTLM_AUTH]

# Optional value, if leaved blank then APS will use gethostname() to determine
# host's name.
# NOTE1: If you Linux host name differs from Windows host name then it may be that
#        MS server wont recognize you host at all and wont grant you access
#        to resources requested. Then you have to use this option and APS will use
#        this name in NTLM negotiations.
# NOTE2: There are several reports that you can successfully use "foreign" host name
#        here. Say, if user may access a resource from 'host1' and may not from 'host2'
#        then there is a chance that APS running on 'host2' with NT_HOSTNAME:host1 will
#        be able to be granted access to the restricted resource. However use this on
#        you own risk as such a trick may be considered as a hack or something.
NT_HOSTNAME:<left blanked>

# Windows Domain.
# NOTE: it is not full qualified internet domain, but windows network domain.
#NT_DOMAIN:your_domain
NT_DOMAIN:ULTRAINFRA
# What user's name to use during authorization. It may differ form real current username.
# If you enable NTLM_TO_BASIC, below, you can either leave this blank or simply
# hash it out.
USER:tuxbuddy

# Password. Just leave it blank here and server will request it at the start time,
# or, if you enable NTLM_TO_BASIC, below, you can either leave this blank or simply
# hash it out, and you *won't* be prompted for a password at start time.
PASSWORD:< inputted my password here>

# These two options replace old FULL_NTLM option.
# NTLM authentication consists virtually of two parts: LM and NT. Windows95/98 use
# only LM part, WindowsNT/2000 can use NT and LM or just NT part.
# Almost always using just LM part will be enough. I had several reports
# about LM and NT requirement and no about just NT.
I have no GUI working now. Wher can I input the rest? Where do we mention proxy entries?

On running :
Code:
sudo ./main.py
NTLM authorization Proxy Server v0.9.9.0.1
Copyright (C) 2001-04 by Dmitry Rozmanov and Others
Now Listening at tuxworld on port 5865
It stops at nothing. How Cna i Chekc if it worked or not?

Last edited by your_shadow03; 07-10-2009 at 01:31 AM.
 
Old 07-10-2009, 04:53 AM   #6
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,461
Blog Entries: 6

Original Poster
Rep: Reputation: 51
As for Now, I am testing it with two Linux Machine. On one of the Linux Machine I ran ./main.py script adding the above entry.
In The second machine, I tried :
Code:
#export http_proxy="http://<ip>:5865"
And Tried opening:
Code:
#htmlview http://google.com
It dint work..Still displaying "Making a connection.."
Any Idea further?
 
Old 07-10-2009, 07:03 AM   #7
emra
LQ Newbie
 
Registered: Jul 2009
Posts: 4

Rep: Reputation: 0
Quote:
Originally Posted by your_shadow03 View Post
As for Now, I am testing it with two Linux Machine. On one of the Linux Machine I ran ./main.py script adding the above entry.
In The second machine, I tried :
Code:
#export http_proxy="http://<ip>:5865"
And Tried opening:
Code:
#htmlview http://google.com
It dint work..Still displaying "Making a connection.."
Any Idea further?

You use one linux with htlmaps and try connect through it with another? Try edit

ALLOW_EXTERNAL_CLIENTS:1

in server.cfg

Haven't used htmlview.

Try turn on some debugging

DEBUG:1
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Bypass Corporate Firewall:Urgent Soln required pls VinodhLinux Linux - Networking 5 12-14-2007 01:41 PM
internet works only when firewall is set to "no firewall" mymoon Linux - Security 1 05-07-2006 02:29 PM
SUSe 9.3 behind corporate firewall - how do I manually update Stephen Hicks Linux - Newbie 8 10-26-2005 04:25 PM
Firewall on - internet off. wellington Linux - Security 2 01-31-2005 04:50 PM
firewall blocking internet k4zau Linux - Networking 1 09-24-2004 03:18 PM


All times are GMT -5. The time now is 10:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration