Jump to content

Recommended Posts

Posted

Ive got a squid transparent proxy setup. Ive got my website (hosted on same server) to listen on the network card on the internet side to avoid conflicts with the proxy on the LAN side. When i enter my website address into a browser (http://www.jacknet.co.uk) i get Access Denied

 

ERROR

The requested URL could not be retrieved

 

While trying to retrieve the URL: http://jacknet.co.uk/

 

The following error was encountered:

 

* Access Denied.

 

Access control configuration prevents your request from being allowed at this time. Please contact your service provider if you feel this is incorrect.

 

Your cache administrator is webmaster.

Generated Wed, 25 Jul 2007 18:10:33 GMT by chn-svr-001.jacknet.co.uk (squid/2.6.STABLE5)

 

I've tried adding http_access allow all, but it makes no difference.

 

Any Ideas?

 

Jack D

Posted

Okay.

 

1. Can you see other "external" servers ?

2. What happens if you ping the server, does it show the internal or external IP ?

 

I can't access the site form here, I get the same Squid error too. Are you sure that the web server is running properly.

 

Try putting the webserver on another port maybe 8080, to see if this will resolve, then try to access with http://www.jacknet.co.uk:8080/

 

I've never tried to run them on the same box, check it can be done.

Posted

I seem to have fixed it.

 

Set squid to not accept from the Internet card and i forgot to set iptables to only route port 80 to 3128 only on the LAN card.

 

Doh! :oops:

 

Thanks anyway lol

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...