LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-26-2005, 06:42 AM   #1
muppski
Member
 
Registered: Feb 2003
Posts: 149

Rep: Reputation: 15
NAT & Proxy?


Hey there!

Here is the situation

Comp A is connected to a proxy (windows ISA) and we use ntlmaps to be able to connect to the internet.
There is 2 NIC's in this comp , Eth0 is used to connect to the internet

Can we setup eth1 on Comp A so Comp B,C,D can surf trough it ? so we dont have to install ntlmaps on these?
 
Old 10-27-2005, 03:56 AM   #2
fouldsy
Senior Member
 
Registered: Jan 2002
Location: St Louis, MO
Distribution: Ubuntu
Posts: 1,284

Rep: Reputation: 47
Sure, you'd simply create a couple of iptable rules for handling and NAT and masquerading. Assign your second NIC an IP address and create your routing table so the system knows it has to use the first NIC when accessing the Internet, then simply point any other computer to the IP address of the second NIC.

Out of interest, why don't you just get rid of the ISA server - why run through two proxies with only a handful of machines?
 
Old 10-27-2005, 11:05 AM   #3
muppski
Member
 
Registered: Feb 2003
Posts: 149

Original Poster
Rep: Reputation: 15
So basicly it shouldnt be different with setting up nat whenever the comp handling the nat is going through a proxy or not?

ISA server? me? baaaah , this isent my setup
its the schools..

and its just not a handfull , just a example cuz we plug in comps in the computerlab all the time. When you install linux (lets say debian) you have to get ntlmaps put in the students user and pass to be able to run apt-get.


Last edited by muppski; 10-27-2005 at 11:07 AM.
 
Old 10-27-2005, 11:53 AM   #4
fouldsy
Senior Member
 
Registered: Jan 2002
Location: St Louis, MO
Distribution: Ubuntu
Posts: 1,284

Rep: Reputation: 47
Correct. If your machine handling NAT sits between the school's ISA server and the machines in your computer lab, you're machines shouldn't have problems logging in. I'm not sure whether you'll need something else setup on your Linux box to handle authentication to the Windows ISA server. Give it a go and see.
 
Old 10-27-2005, 02:14 PM   #5
muppski
Member
 
Registered: Feb 2003
Posts: 149

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by fouldsy
Correct. If your machine handling NAT sits between the school's ISA server and the machines in your computer lab, you're machines shouldn't have problems logging in. I'm not sure whether you'll need something else setup on your Linux box to handle authentication to the Windows ISA server. Give it a go and see.
It didnt work , forgot to mention that in the last post >_>
Either the iptables was fucked or it just didnt work
 
  


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
Proxy behind NAT Tihi Linux - Networking 1 03-11-2005 03:01 PM
Help With Bind,squid,nat And Proxy debloxie Linux - Networking 1 01-19-2004 05:40 PM
I Need Help With Bind,squid,nat & Proxy debloxie Linux - Networking 0 01-19-2004 08:27 AM
proxy server thru nat gateway. tanmay_79 Linux - General 1 09-10-2001 07:45 AM
Proxy&NAT Wazza Linux - Networking 2 07-14-2001 11:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:49 PM.

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
Open Source Consulting | Domain Registration