Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 07-21-2003, 03:45 AM   #1
LQ Newbie
Registered: Jul 2003
Posts: 16

Rep: Reputation: 0
problem about NAT and squid

When i use NAT only , the clinet machines can resolve the domine names ,but when i redirect the port 80 to 8080(the proxy port i use in squid),clinets can not resolve domine names again .i have filled in DNS in the clinets' network configuration,but it doesn't work.who can tell me why? thx
Old 07-21-2003, 04:00 AM   #2
Senior Member
Registered: May 2003
Location: /var/log/cabin
Distribution: All
Posts: 1,167

Rep: Reputation: 45
The DNS of the clients should be the squid ip. The DNS of the squid should be the outside DNS. The iptable rules for the squid server should allow passthrough from wan(squid) to lan(client).
Old 07-21-2003, 05:04 AM   #3
LQ Newbie
Registered: Jul 2003
Posts: 16

Original Poster
Rep: Reputation: 0
then ,shall I also config a DNS server on the squid server?
Old 07-21-2003, 07:48 AM   #4
LQ Newbie
Registered: Jul 2003
Posts: 16

Original Poster
Rep: Reputation: 0
Setting clients's DNS to be my squid server's ip doesn't works.when a clinet resolves the domine name,it gives a error message like"no response from squid server's inner ip).So I need to set a DNS server,needn't I?


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
Squid behind a NAT/FW colonyofcrumbs Linux - Networking 3 05-17-2005 11:18 PM
problem in nat table + squid alvi2 Linux - Networking 3 03-05-2005 06:18 AM
Squid with NAT azfar Linux - Networking 5 11-24-2004 09:54 PM
Squid NAT logging problem ncorreia Linux - Software 0 09-23-2004 06:52 AM
Help With Bind,squid,nat And Proxy debloxie Linux - Networking 1 01-19-2004 06:40 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:58 AM.

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