LinuxQuestions.org
Help answer threads with 0 replies.
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 04-16-2014, 06:03 AM   #1
gardenair
Member
 
Registered: Oct 2004
Location: LH
Posts: 648

Rep: Reputation: 45
IP based camera squid not allow to open it in web browser.


hi,
I am using Cent os 6.3 as a proxy server. The internet is working perfact on it.All internet trafic is working smoothly on my squid server. Recently we have installed a ip based camera in our office.

When I write the camera IP address on the browser http:// 10.1.77.180:82

it show an errow message

Code:
Error
The requested URL could not be retrived
While trying to retrieve the URL: http:// 10.1.77.180:82  
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 root
The squid.conf file

“INSERT YOURS RULE(S) HERE TO ALLOW ACCESS ”.
acl our_networks src 10.1.83.0/24 10.1.77.0/24
http_access allow our_networks

is it due to port 82 or some thing else ? How can I solve it so i may view mt IP based camera on my web browser ?

When i stop my squid service it show me message.see in the attachment herewith.

please guide.

thanks
gardenair
Attached Thumbnails
Click image for larger version

Name:	Proxy.JPG
Views:	18
Size:	67.6 KB
ID:	15256  
 
Old 04-16-2014, 10:47 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Quote:
The squid.conf file

“INSERT YOURS RULE(S) HERE TO ALLOW ACCESS ”.
acl our_networks src 10.1.83.0/24 10.1.77.0/24
http_access allow our_networks
You need to use "dst" instead of "src" in ther above ACL:
Code:
acl our_networks dst 10.1.83.0/24 10.1.77.0/24
http_access allow our_networks[
Cheers
 
1 members found this post helpful.
Old 04-18-2014, 09:41 AM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,635

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by gardenair View Post
hi,
I am using Cent os 6.3 as a proxy server. The internet is working perfact on it.All internet trafic is working smoothly on my squid server. Recently we have installed a ip based camera in our office. When I write the camera IP address on the browser http:// 10.1.77.180:82 it show an errow message

Code:
Error
The requested URL could not be retrived
While trying to retrieve the URL: http:// 10.1.77.180:82  
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 root
The squid.conf file

“INSERT YOURS RULE(S) HERE TO ALLOW ACCESS ”.
acl our_networks src 10.1.83.0/24 10.1.77.0/24
http_access allow our_networks

is it due to port 82 or some thing else ? How can I solve it so i may view mt IP based camera on my web browser ? When i stop my squid service it show me message.see in the attachment herewith.
And aside from what bathory said...did you read/understand the screen-shot you posted? Did you not see the part where it told you SPECIFICALLY, that there was a problem with the definition of the 10.1.77 network? Where it TOLD YOU that that network was being ignored????

If that network is being ignored by squid, and the device you're trying to access is ON that network, wouldn't it make sense to put the two together, and realize that THAT is the reason you can't access it?
 
  


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
LXer: Ajaxterm- A web based terminal that help you use ssh from a web browser LXer Syndicated Linux News 0 10-13-2010 09:20 PM
Create a web forward for a java based web camera using SSL Explorer timthecamel Linux - Newbie 0 09-01-2008 09:20 PM
Can ping web page from telnet, but can't open it in web browser a.ilic Linux - Networking 1 04-01-2008 10:29 AM
text based web browser for SLES8 dussel SUSE / openSUSE 2 03-03-2006 04:53 AM
web-based file browser eugeneQ Programming 2 07-23-2004 09:28 AM

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

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