LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 03-28-2007, 07:44 AM   #1
arunksit
LQ Newbie
 
Registered: Feb 2007
Posts: 13

Rep: Reputation: 0
internet connection sharing using squid


Hi,
I'm using edubuntu 6.06 on my machine.Its connected to the internet through the ethernet card eth0 and to our local network(LAN) through eth1.I tried to share internet with one win xp machine on our LAN using squid by specifying its ip and made some changes to the file squid.conf as said in the edubuntu help section.I configured the browser in winxp machine with proxy settings(IP & port no.).But when i enter a website address on the browser of winxp machine it flashes an error message in the browser as follows..

"
Here is result of your request:
Access denied to this domain
Probably the requested site doesn't answer or it timed out. Check the address or try again.
Administrator

Generated by oops at edubuntu:3128 "

Anyone pls help..
Thanks in advance.....
 
Old 03-28-2007, 08:56 AM   #2
pk21
Member
 
Registered: Jun 2002
Location: Netherlands - Amsterdam
Distribution: RedHat 9
Posts: 549

Rep: Reputation: 30
check your squid error log
 
Old 03-29-2007, 12:48 AM   #3
Teomari
Member
 
Registered: Mar 2007
Location: Manila Philippines
Distribution: Slackware, Redhat, Ubuntu, Centos, Open Suse
Posts: 38

Rep: Reputation: 15
have you checked/allowed

acl our_networks src 192.168.
in your squid.conf?
 
Old 03-29-2007, 02:43 AM   #4
arunksit
LQ Newbie
 
Registered: Feb 2007
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Teomari
have you checked/allowed

acl our_networks src 192.168.
in your squid.conf?

ya its allowed.it is as follows..
acl fortytwo_network src 192.168.11.11/255.255.255.0
 
Old 03-29-2007, 08:23 PM   #5
Teomari
Member
 
Registered: Mar 2007
Location: Manila Philippines
Distribution: Slackware, Redhat, Ubuntu, Centos, Open Suse
Posts: 38

Rep: Reputation: 15
Quote:
Originally Posted by arunksit
ya its allowed.it is as follows..
acl fortytwo_network src 192.168.11.11/255.255.255.0

try to use this:
acl fortytwo_network src 192.168.11.0/24
http_access allow fortytwo_network
 
Old 03-29-2007, 10:12 PM   #6
arunksit
LQ Newbie
 
Registered: Feb 2007
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Teomari
try to use this:
acl fortytwo_network src 192.168.11.0/24
http_access allow fortytwo_network

http_access allow fortytwo_network is given under
http_access tag
 
Old 03-30-2007, 07:41 PM   #7
Teomari
Member
 
Registered: Mar 2007
Location: Manila Philippines
Distribution: Slackware, Redhat, Ubuntu, Centos, Open Suse
Posts: 38

Rep: Reputation: 15
if thats the case,

1.have you tried to use iptables + squid proxy?
2.or you go directly to squid? then try using internet sharing first using iptables
 
Old 04-01-2007, 10:44 AM   #8
arunksit
LQ Newbie
 
Registered: Feb 2007
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Teomari
if thats the case,

1.have you tried to use iptables + squid proxy?
2.or you go directly to squid? then try using internet sharing first using iptables
this time I tried squid only .
earlier i tried iptables as said by another member of the forum.but it didnt worked.

the link to that thread is.
http://www.linuxquestions.org/questi...d.php?t=531963


help needed ...
thanks in advance...
 
  


Reply



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
Sharing internet with Squid mr.borrie Linux - Networking 1 01-09-2007 02:11 PM
Internet Connection Sharing Squid-Transarent Test Setup Kirschey Linux - Software 1 02-15-2006 10:25 AM
Internet Connection Sharing usa1234 Linux - Networking 1 10-28-2004 05:27 PM
Internet Connection Sharing bravo Linux - Networking 3 02-25-2003 04:51 AM
sharing an internet connection bubba169 Linux - General 9 06-02-2002 09:50 AM

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

All times are GMT -5. The time now is 01:53 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