LinuxQuestions.org
Help answer threads with 0 replies.
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 04-01-2003, 04:19 PM   #1
bwarn
LQ Newbie
 
Registered: Apr 2003
Distribution: redhat 8 & SUSE 9.2
Posts: 13

Rep: Reputation: 0
access to external pop3 servers from workstations behind the linux box


I am trying to set up a linux server to act as proxy between small windows network and the internet. I have RedHat 8.0 running and can get internet access at my windows XX workstations through squid. My problem is that we are using mail service from our isp and the workstations cannot get out with MS Outlook or Outlook Express to the isp pop3. What am I over lokking in my set up?

Also: I am using eth0 to access private network
I am using ppp0 to access internet
 
Old 04-01-2003, 04:31 PM   #2
bahamat
Member
 
Registered: Mar 2003
Distribution: Debian
Posts: 158

Rep: Reputation: 30
Quote:
What am I over lokking in my set up?
pop3 duh
PS you spelled lock wrong
Just kidding.

Are your computers resolving names properly? Try connecting by IP and by name. Try using telnet to connecto to your pop3 mail server on port 110 (again by name and by IP).

In short, investigate. I couldn't even count the number of things that might be wrong. We need more information before diagnosing a problem.

You should go read the IP-Masquerading HOWTO so that you fully (or at least better) unerstand what's going on.
 
Old 04-01-2003, 04:50 PM   #3
bwarn
LQ Newbie
 
Registered: Apr 2003
Distribution: redhat 8 & SUSE 9.2
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by bahamat
You should go read the IP-Masquerading HOWTO so that you fully (or at least better) unerstand what's going on.
PS you spelled understand wrong and i was trying to spell over look

anyway to my point:

I hav ip masking and ip forwarding both active (i don't think i could get to the www with out that could i?)

i am very new to linux and have been trying to get the answers I need out of 3 very large books and have been doing a lot of reading already. My question is where should I be reading and looking for an answer. Is this a function of squid? is it a function of iptables? Is it some other service completely?

All the workstations on my network have static IP's

Last edited by bwarn; 04-01-2003 at 04:51 PM.
 
Old 04-01-2003, 06:59 PM   #4
bahamat
Member
 
Registered: Mar 2003
Distribution: Debian
Posts: 158

Rep: Reputation: 30
Ok, you mention squid.

I know exactly what your problem is. I'm going to explain it to you but you'll think I'm wrong because you can access www. Anyway, here it is.

Your masqued computers cannot resolve names to IP addresses. You've set up all of them to use the squid proxy by IP address, which is what's holding this fragile conglomeration together.

Client hands a request to squid using name. Client doesn't know or care what the IP is because it's using a proxy. Squid has working dns so it fetches the page and returns it properly.

Client tries pop3 and it fails because it doesn't have any dns servers and pop3 is only being forwarded, not proxied.

You need to set proper DNS servers on all of your clients. Unfortunately for you Squid is giving you the illusion that it works so you'll probably ignore me.

Now, why don't you go back to my first post and read it again and when the lightbulb shines above your head you'll know that I answered your question the first time. If the light doesn't shine repeat this step until it does.
 
Old 04-01-2003, 10:37 PM   #5
bwarn
LQ Newbie
 
Registered: Apr 2003
Distribution: redhat 8 & SUSE 9.2
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by bahamat
You need to set proper DNS servers on all of your clients.
By this you mean i need to set up my linux to be a DNS server? (Not DNS servers on the workstations)? And i am not going to ignore any advice...I am too new to linux to know one way or the other.

What about setting up tunneling? From what I've been reading, tunneling seemed to be my answer but i couldn't tell for sure.

Also on the first post you talk about using telnet to access the pop3 server on 110. When I do that, i get the pop3 server on my linux box. I cannot get out to the email.myisp.net pop3 using telnet.
 
Old 04-03-2003, 04:28 PM   #6
bwarn
LQ Newbie
 
Registered: Apr 2003
Distribution: redhat 8 & SUSE 9.2
Posts: 13

Original Poster
Rep: Reputation: 0
got it working!!!!!!

bahamat
thanks for the input. a bad dns set up was a large part of my problem. Got it all up and running now ( thanks to bahamat and then a lot of help from people on irc)
 
  


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
Servers on my linux box put random crap into webpages!! Farthom Linux - Networking 2 12-06-2004 10:18 PM
How to configure another pop3 service in linux box venugopalmk Linux - Networking 3 04-17-2003 08:48 PM
How do I access files on Win box from Linux box zanew Linux - Networking 5 06-12-2002 12:58 PM
SMTP POP3 Servers Nezar Linux - Networking 1 03-19-2002 03:57 AM
What's up with this - Netscape can't find Linux Box (Pop3) pponchot Linux - Networking 1 10-06-2001 11:52 PM


All times are GMT -5. The time now is 07:10 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration