Networking
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me



Go Back   Dev Hardware ForumsHARDWARENetworking

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Hardware Forums Sponsor:
  Trader Rating: 0 · #1  
Old December 5th, 2012, 11:32 PM
hazee hazee is offline
n00b DevH'er
Dev Hardware Newbie (0 - 499 posts)
 
Join Date: Apr 2010
Posts: 9 hazee User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 37 m 25 sec
Reputation Power: 0
Question Squid not allowing connection to MySQL on port 3306

I can not connect to MySQL database using VB.Net application, over a remote user connection. I am to browse http and https without any issue but none of the other safe ports are available for communication. Though I am able to connect without the proxy server. MySQL remote connections are established on port number 3306.

Below is the squid.config file; ( I have given an extra space in 'c:' and '\' )


#Modified by Hazee Dec 04 2012
http_port 8080
cache_mgr the_email_id
visible_hostname the_host_name
hierarchy_stoplist cgi-bin ?
cache_mem 64 MB

cache_dir ufs c: /Squid/cache01 1000 16 256
cache_dir ufs c: /Squid/cache02 1000 16 256
cache_dir ufs c: /Squid/cache03 1000 16 256

cache_access_log c: /Squid/var/logs/access.log
cache_log c: /Squid/var/logs/cache.log
cache_store_log c: /Squid/var/logs/store.log
mime_table c: /Squid/etc/mime.conf
pid_filename c: /Squid/var/logs/squid.pid
ftp_user the_ftp_user
diskd_program c: /Squid/libexec/diskd.exe
unlinkd_program c: /Squid/libexec/unlinkd.exe
logfile_daemon c: /squid/libexec/logfile-daemon.exe
cache_store_log none
forwarded_for off
via off
httpd_suppress_version_string on
uri_whitespace strip

maximum_object_size 4194240 KB
maximum_object_size_in_memory 1024 KB

#redirect_program c: /usr/local/squidGuard/squidGuard.exe

#authenication with Windows server
auth_param ntlm program c: /squid/libexec/mswin_ntlm_auth.exe
auth_param ntlm children 5

acl all src 0.0.0.0/0.0.0.0
acl localhost src 127.0.0.1/255.255.255.255
acl allowed_hosts src 201.1.1.0/255.255.255.0
#acl localnet proxy_auth REQUIRED src 200.1.1.0/255.255.255.0
#acl localnet proxy_auth REQUIRED src 192.168.0.0/255.255.0.0


#Limit upload to 2M and download to 3M
request_body_max_size 2048 KB
reply_body_max_size 5000000 allow all

# default refresh patterns
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0

#ACL to define ports allowed to pass through Squid
acl Safe_ports port 80
acl Safe_ports port 21
acl Safe_ports port 3306
acl Safe_ports port 443
acl Safe_ports port 9003
acl Safe_ports port 9005
acl Safe_ports port 9006
acl Safe_ports port 9999
acl Safe_ports port 1080
acl SSL_ports port 443

acl CONNECT method CONNECT
http_access deny !Safe_ports
http_access allow Safe_ports
http_access allow CONNECT !SSL_ports
http_access allow gud_sites
http_access allow localhost
http_access allow allowed_hosts
#http_access deny all

always_direct allow all

icon_directory c: /Squid/share/icons
error_directory c: /Squid/share/errors/English
coredump_dir c: Squid

Reply With Quote
  Trader Rating: 0 · #2  
Old December 6th, 2012, 01:49 AM
JohnFrank's Avatar
JohnFrank JohnFrank is offline
Contributing User
Click here for more information. Click here for more information
Click here for more information
 
Join Date: Jan 2008
Location: Lilyfield NSW Australia
Posts: 2,149 JohnFrank User rank is General 135th Grade (Above 100000 Reputation Level)JohnFrank User rank is General 135th Grade (Above 100000 Reputation Level)JohnFrank User rank is General 135th Grade (Above 100000 Reputation Level)JohnFrank User rank is General 135th Grade (Above 100000 Reputation Level)JohnFrank User rank is General 135th Grade (Above 100000 Reputation Level)JohnFrank User rank is General 135th Grade (Above 100000 Reputation Level)JohnFrank User rank is General 135th Grade (Above 100000 Reputation Level)JohnFrank User rank is General 135th Grade (Above 100000 Reputation Level)JohnFrank User rank is General 135th Grade (Above 100000 Reputation Level)JohnFrank User rank is General 135th Grade (Above 100000 Reputation Level)JohnFrank User rank is General 135th Grade (Above 100000 Reputation Level)JohnFrank User rank is General 135th Grade (Above 100000 Reputation Level)JohnFrank User rank is General 135th Grade (Above 100000 Reputation Level)JohnFrank User rank is General 135th Grade (Above 100000 Reputation Level)JohnFrank User rank is General 135th Grade (Above 100000 Reputation Level)JohnFrank User rank is General 135th Grade (Above 100000 Reputation Level)  Folding Points: 25499921 Folding Title: Super Ultimate Folder - Level 51Folding Points: 25499921 Folding Title: Super Ultimate Folder - Level 51Folding Points: 25499921 Folding Title: Super Ultimate Folder - Level 51Folding Points: 25499921 Folding Title: Super Ultimate Folder - Level 51Folding Points: 25499921 Folding Title: Super Ultimate Folder - Level 51Folding Points: 25499921 Folding Title: Super Ultimate Folder - Level 51Folding Points: 25499921 Folding Title: Super Ultimate Folder - Level 51Folding Points: 25499921 Folding Title: Super Ultimate Folder - Level 51Folding Points: 25499921 Folding Title: Super Ultimate Folder - Level 51Folding Points: 25499921 Folding Title: Super Ultimate Folder - Level 51
Time spent in forums: 3 Months 4 Weeks 1 Day 3 h 5 sec
Reputation Power: 9968
Send a message via MSN to JohnFrank
Facebook
Not a squid person, but from reading your message you are able to get through firewall and proxy server on ports 80 and 443. Have the other ports been opened up on the hardware firewall?
__________________

Reply With Quote
  Trader Rating: 0 · #3  
Old December 8th, 2012, 05:18 AM
hazee hazee is offline
n00b DevH'er
Dev Hardware Newbie (0 - 499 posts)
 
Join Date: Apr 2010
Posts: 9 hazee User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 37 m 25 sec
Reputation Power: 0
I am not using Hardware Firewall.

Its a server with 2 network cards where squid is configured. One network adapter is connected to modem/router and other to the rest of the network where 40 computers are connected. The IP class of modem/router is A and the rest of the network is C. Server works in the middle for internet sharing purpose.

A new application is developed and that requires remote access on the web server (over internet) and I cant figure out how to open the communication on port 3306 of MySql on server(that is squid as proxy).

Can I use some other way instead of squid cache? I can't let the users send requests to router/modem directly as the router doesnt repond as quick as squid does.

Reply With Quote
  Trader Rating: 0 · #4  
Old December 8th, 2012, 04:49 PM
JohnFrank's Avatar
JohnFrank JohnFrank is offline
Contributing User
Click here for more information. Click here for more information
Click here for more information
 
Join Date: Jan 2008
Location: Lilyfield NSW Australia
Posts: 2,149 JohnFrank User rank is General 135th Grade (Above 100000 Reputation Level)JohnFrank User rank is General 135th Grade (Above 100000 Reputation Level)JohnFrank User rank is General 135th Grade (Above 100000 Reputation Level)JohnFrank User rank is General 135th Grade (Above 100000 Reputation Level)JohnFrank User rank is General 135th Grade (Above 100000 Reputation Level)JohnFrank User rank is General 135th Grade (Above 100000 Reputation Level)JohnFrank User rank is General 135th Grade (Above 100000 Reputation Level)JohnFrank User rank is General 135th Grade (Above 100000 Reputation Level)JohnFrank User rank is General 135th Grade (Above 100000 Reputation Level)JohnFrank User rank is General 135th Grade (Above 100000 Reputation Level)JohnFrank User rank is General 135th Grade (Above 100000 Reputation Level)JohnFrank User rank is General 135th Grade (Above 100000 Reputation Level)JohnFrank User rank is General 135th Grade (Above 100000 Reputation Level)JohnFrank User rank is General 135th Grade (Above 100000 Reputation Level)JohnFrank User rank is General 135th Grade (Above 100000 Reputation Level)JohnFrank User rank is General 135th Grade (Above 100000 Reputation Level)  Folding Points: 25499921 Folding Title: Super Ultimate Folder - Level 51Folding Points: 25499921 Folding Title: Super Ultimate Folder - Level 51Folding Points: 25499921 Folding Title: Super Ultimate Folder - Level 51Folding Points: 25499921 Folding Title: Super Ultimate Folder - Level 51Folding Points: 25499921 Folding Title: Super Ultimate Folder - Level 51Folding Points: 25499921 Folding Title: Super Ultimate Folder - Level 51Folding Points: 25499921 Folding Title: Super Ultimate Folder - Level 51Folding Points: 25499921 Folding Title: Super Ultimate Folder - Level 51Folding Points: 25499921 Folding Title: Super Ultimate Folder - Level 51Folding Points: 25499921 Folding Title: Super Ultimate Folder - Level 51
Time spent in forums: 3 Months 4 Weeks 1 Day 3 h 5 sec
Reputation Power: 9968
Send a message via MSN to JohnFrank
Facebook
What is your system config as you have not mentioned that.

Are you using squid v 1.4? This version has a patch to support your problem "Added mysql support for authentication based on a patch from Chris Fletcher (thank you). Tested with MySQL 5.0. (bug 19)"

Reply With Quote
  Trader Rating: 0 · #5  
Old December 8th, 2012, 11:31 PM
hazee hazee is offline
n00b DevH'er
Dev Hardware Newbie (0 - 499 posts)
 
Join Date: Apr 2010
Posts: 9 hazee User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 37 m 25 sec
Reputation Power: 0
Quote:
Originally Posted by JohnFrank
What is your system config as you have not mentioned that.

Are you using squid v 1.4? This version has a patch to support your problem "Added mysql support for authentication based on a patch from Chris Fletcher (thank you). Tested with MySQL 5.0. (bug 19)"


I am using Squid 2.7 on a Windows server 2003 dell power edge 2900.

I have found MySql proxy documentation on mysql web and trying to figure out.

Still blank.

Reply With Quote
  Trader Rating: 0 · #6  
Old December 10th, 2012, 05:16 AM
hazee hazee is offline
n00b DevH'er
Dev Hardware Newbie (0 - 499 posts)
 
Join Date: Apr 2010
Posts: 9 hazee User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 37 m 25 sec
Reputation Power: 0
Any help !!!

Reply With Quote
  Trader Rating: 0 · #7  
Old December 10th, 2012, 07:36 AM
JohnFrank's Avatar
JohnFrank JohnFrank is offline
Contributing User
Click here for more information. Click here for more information
Click here for more information
 
Join Date: Jan 2008
Location: Lilyfield NSW Australia
Posts: 2,149 JohnFrank User rank is General 135th Grade (Above 100000 Reputation Level)JohnFrank User rank is General 135th Grade (Above 100000 Reputation Level)JohnFrank User rank is General 135th Grade (Above 100000 Reputation Level)JohnFrank User rank is General 135th Grade (Above 100000 Reputation Level)JohnFrank User rank is General 135th Grade (Above 100000 Reputation Level)JohnFrank User rank is General 135th Grade (Above 100000 Reputation Level)JohnFrank User rank is General 135th Grade (Above 100000 Reputation Level)JohnFrank User rank is General 135th Grade (Above 100000 Reputation Level)JohnFrank User rank is General 135th Grade (Above 100000 Reputation Level)JohnFrank User rank is General 135th Grade (Above 100000 Reputation Level)JohnFrank User rank is General 135th Grade (Above 100000 Reputation Level)JohnFrank User rank is General 135th Grade (Above 100000 Reputation Level)JohnFrank User rank is General 135th Grade (Above 100000 Reputation Level)JohnFrank User rank is General 135th Grade (Above 100000 Reputation Level)JohnFrank User rank is General 135th Grade (Above 100000 Reputation Level)JohnFrank User rank is General 135th Grade (Above 100000 Reputation Level)  Folding Points: 25499921 Folding Title: Super Ultimate Folder - Level 51Folding Points: 25499921 Folding Title: Super Ultimate Folder - Level 51Folding Points: 25499921 Folding Title: Super Ultimate Folder - Level 51Folding Points: 25499921 Folding Title: Super Ultimate Folder - Level 51Folding Points: 25499921 Folding Title: Super Ultimate Folder - Level 51Folding Points: 25499921 Folding Title: Super Ultimate Folder - Level 51Folding Points: 25499921 Folding Title: Super Ultimate Folder - Level 51Folding Points: 25499921 Folding Title: Super Ultimate Folder - Level 51Folding Points: 25499921 Folding Title: Super Ultimate Folder - Level 51Folding Points: 25499921 Folding Title: Super Ultimate Folder - Level 51
Time spent in forums: 3 Months 4 Weeks 1 Day 3 h 5 sec
Reputation Power: 9968
Send a message via MSN to JohnFrank
Facebook
Quote:
Originally Posted by hazee
Any help !!!
Not sure if you will get a quick reply, the forums are pretty quiet these days and as I said in an earlier post I am not a squid person. Keep posting what you have tried and what has changed and maybe someone will chime in.

Reply With Quote
  Trader Rating: 0 · #8  
Old December 11th, 2012, 06:45 AM
hazee hazee is offline
n00b DevH'er
Dev Hardware Newbie (0 - 499 posts)
 
Join Date: Apr 2010
Posts: 9 hazee User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 37 m 25 sec
Reputation Power: 0
I have tried tcp_outgoing_address with no help ..

I have also tried to use
acl serverip dst 178.x.x.x/255.255.0.0 and no use.

Pls help any one.

Reply With Quote
  Trader Rating: 0 · #9  
Old December 20th, 2012, 08:56 PM
hazee hazee is offline
n00b DevH'er
Dev Hardware Newbie (0 - 499 posts)
 
Join Date: Apr 2010
Posts: 9 hazee User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 37 m 25 sec
Reputation Power: 0
OK .. some one told me that squid can not proxy Mysql at all and I will have to use direct connect or nat.

Any idea how do I use nat or direct connect?

I have a very basic setup of forward proxy connected to my local Lan on a windows server 2003.

Reply With Quote
  Trader Rating: 0 · #10  
Old December 20th, 2012, 09:57 PM
JohnFrank's Avatar
JohnFrank JohnFrank is offline
Contributing User
Click here for more information. Click here for more information
Click here for more information
 
Join Date: Jan 2008
Location: Lilyfield NSW Australia
Posts: 2,149 JohnFrank User rank is General 135th Grade (Above 100000 Reputation Level)JohnFrank User rank is General 135th Grade (Above 100000 Reputation Level)JohnFrank User rank is General 135th Grade (Above 100000 Reputation Level)JohnFrank User rank is General 135th Grade (Above 100000 Reputation Level)JohnFrank User rank is General 135th Grade (Above 100000 Reputation Level)JohnFrank User rank is General 135th Grade (Above 100000 Reputation Level)JohnFrank User rank is General 135th Grade (Above 100000 Reputation Level)JohnFrank User rank is General 135th Grade (Above 100000 Reputation Level)JohnFrank User rank is General 135th Grade (Above 100000 Reputation Level)JohnFrank User rank is General 135th Grade (Above 100000 Reputation Level)JohnFrank User rank is General 135th Grade (Above 100000 Reputation Level)JohnFrank User rank is General 135th Grade (Above 100000 Reputation Level)JohnFrank User rank is General 135th Grade (Above 100000 Reputation Level)JohnFrank User rank is General 135th Grade (Above 100000 Reputation Level)JohnFrank User rank is General 135th Grade (Above 100000 Reputation Level)JohnFrank User rank is General 135th Grade (Above 100000 Reputation Level)  Folding Points: 25499921 Folding Title: Super Ultimate Folder - Level 51Folding Points: 25499921 Folding Title: Super Ultimate Folder - Level 51Folding Points: 25499921 Folding Title: Super Ultimate Folder - Level 51Folding Points: 25499921 Folding Title: Super Ultimate Folder - Level 51Folding Points: 25499921 Folding Title: Super Ultimate Folder - Level 51Folding Points: 25499921 Folding Title: Super Ultimate Folder - Level 51Folding Points: 25499921 Folding Title: Super Ultimate Folder - Level 51Folding Points: 25499921 Folding Title: Super Ultimate Folder - Level 51Folding Points: 25499921 Folding Title: Super Ultimate Folder - Level 51Folding Points: 25499921 Folding Title: Super Ultimate Folder - Level 51
Time spent in forums: 3 Months 4 Weeks 1 Day 3 h 5 sec
Reputation Power: 9968
Send a message via MSN to JohnFrank
Facebook
Nat (network address translation) is setup on you router. You need to map the external IP address and port number used on the internet to the internal intranet IP address and port for your machine.

Most routers vary for setup, if you are not sure let us know the model number.

Reply With Quote
  Trader Rating: 3 · #11  
Old December 21st, 2012, 07:23 PM
Nilpo's Avatar
Nilpo Nilpo is offline
Dev Hardware God 1st Plane (5500 - 5999 posts)
 
Join Date: May 2004
Location: New Springfield, OH
Posts: 5,975 Nilpo User rank is General 181st Grade (Above 100000 Reputation Level)Nilpo User rank is General 181st Grade (Above 100000 Reputation Level)Nilpo User rank is General 181st Grade (Above 100000 Reputation Level)Nilpo User rank is General 181st Grade (Above 100000 Reputation Level)Nilpo User rank is General 181st Grade (Above 100000 Reputation Level)Nilpo User rank is General 181st Grade (Above 100000 Reputation Level)Nilpo User rank is General 181st Grade (Above 100000 Reputation Level)Nilpo User rank is General 181st Grade (Above 100000 Reputation Level)Nilpo User rank is General 181st Grade (Above 100000 Reputation Level)Nilpo User rank is General 181st Grade (Above 100000 Reputation Level)Nilpo User rank is General 181st Grade (Above 100000 Reputation Level)Nilpo User rank is General 181st Grade (Above 100000 Reputation Level)Nilpo User rank is General 181st Grade (Above 100000 Reputation Level)Nilpo User rank is General 181st Grade (Above 100000 Reputation Level)Nilpo User rank is General 181st Grade (Above 100000 Reputation Level)Nilpo User rank is General 181st Grade (Above 100000 Reputation Level)  Folding Points: 600856 Folding Title: Super Ultimate Folder - Level 2Folding Points: 600856 Folding Title: Super Ultimate Folder - Level 2Folding Points: 600856 Folding Title: Super Ultimate Folder - Level 2Folding Points: 600856 Folding Title: Super Ultimate Folder - Level 2Folding Points: 600856 Folding Title: Super Ultimate Folder - Level 2Folding Points: 600856 Folding Title: Super Ultimate Folder - Level 2Folding Points: 600856 Folding Title: Super Ultimate Folder - Level 2
Time spent in forums: 1 Month 2 Weeks 18 h 59 m 47 sec
Reputation Power: 13055
Send a message via ICQ to Nilpo Send a message via AIM to Nilpo Send a message via MSN to Nilpo Send a message via Yahoo to Nilpo Send a message via Google Talk to Nilpo Send a message via Skype to Nilpo Send a message via XFire to Nilpo
Facebook MySpace Orkut
Along with what JohnFrank is saying, NAT is not something you typically set up. It's more like a by product of the type of networking you use.

That being said, I hate to push away a thread but you may be better off asking this question on our sister site at ASP Free where they specialize in Windows technologies. I can help you with the Windows part, but I have little experience using Squid.
__________________
Don't like me? Click it.

Scripting problems? Windows questions? Ask the Windows Guru!

Stay up to date with all of my latest content. Follow me on Twitter!

Help us help you! Post your exact error message with these easy tips!

Reply With Quote
  Trader Rating: 0 · #12  
Old December 23rd, 2012, 03:00 AM
hazee hazee is offline
n00b DevH'er
Dev Hardware Newbie (0 - 499 posts)
 
Join Date: Apr 2010
Posts: 9 hazee User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 37 m 25 sec
Reputation Power: 0
Quote:
That being said, I hate to push away a thread but you may be better off asking this question on our sister site at ASP Free where they specialize in Windows technologies. I can help you with the Windows part, but I have little experience using Squid.

My question relates to or now changed to MySql and proxy servers. I dont think ASP Free community will welcome me with MySql. I have posted this question on official forum of MYSql as well but guess there is no one to response or understand my question. That's what happens when there is more than 1 father of a child and still people keep adopting; open source.

ISA works as a charm.


Quote:
Originally Posted by JohnFrank
Nat (network address translation) is setup on you router. You need to map the external IP address and port number used on the internet to the internal intranet IP address and port for your machine.

Most routers vary for setup, if you are not sure let us know the model number.


OK. But the request of connecting to the remote server still has to pass through the proxy server. If proxy is not letting the request reach the router how will NAT work any thing for the request.

I have tried Polipo as a proxy as well but with no luck.

So the question is that how do I do web caching(for better speed to web clients) for my LAN when I have to connect to a remote MySql database from the same LAN?

Reply With Quote
  Trader Rating: 0 · #13  
Old December 23rd, 2012, 07:37 AM
JohnFrank's Avatar
JohnFrank JohnFrank is offline
Contributing User
Click here for more information. Click here for more information
Click here for more information
 
Join Date: Jan 2008
Location: Lilyfield NSW Australia
Posts: 2,149 JohnFrank User rank is General 135th Grade (Above 100000 Reputation Level)JohnFrank User rank is General 135th Grade (Above 100000 Reputation Level)JohnFrank User rank is General 135th Grade (Above 100000 Reputation Level)JohnFrank User rank is General 135th Grade (Above 100000 Reputation Level)JohnFrank User rank is General 135th Grade (Above 100000 Reputation Level)JohnFrank User rank is General 135th Grade (Above 100000 Reputation Level)JohnFrank User rank is General 135th Grade (Above 100000 Reputation Level)JohnFrank User rank is General 135th Grade (Above 100000 Reputation Level)JohnFrank User rank is General 135th Grade (Above 100000 Reputation Level)JohnFrank User rank is General 135th Grade (Above 100000 Reputation Level)JohnFrank User rank is General 135th Grade (Above 100000 Reputation Level)JohnFrank User rank is General 135th Grade (Above 100000 Reputation Level)JohnFrank User rank is General 135th Grade (Above 100000 Reputation Level)JohnFrank User rank is General 135th Grade (Above 100000 Reputation Level)JohnFrank User rank is General 135th Grade (Above 100000 Reputation Level)JohnFrank User rank is General 135th Grade (Above 100000 Reputation Level)  Folding Points: 25499921 Folding Title: Super Ultimate Folder - Level 51Folding Points: 25499921 Folding Title: Super Ultimate Folder - Level 51Folding Points: 25499921 Folding Title: Super Ultimate Folder - Level 51Folding Points: 25499921 Folding Title: Super Ultimate Folder - Level 51Folding Points: 25499921 Folding Title: Super Ultimate Folder - Level 51Folding Points: 25499921 Folding Title: Super Ultimate Folder - Level 51Folding Points: 25499921 Folding Title: Super Ultimate Folder - Level 51Folding Points: 25499921 Folding Title: Super Ultimate Folder - Level 51Folding Points: 25499921 Folding Title: Super Ultimate Folder - Level 51Folding Points: 25499921 Folding Title: Super Ultimate Folder - Level 51
Time spent in forums: 3 Months 4 Weeks 1 Day 3 h 5 sec
Reputation Power: 9968
Send a message via MSN to JohnFrank
Facebook
Nat is usually located between WAN and LAN before proxy or machine.

I do not understand your config, you will need to explain it more.

For proxy on MySQL, is this something you want cached anyway (in case DB data changes).

Reply With Quote
  Trader Rating: 0 · #14  
Old December 23rd, 2012, 11:26 AM
hazee hazee is offline
n00b DevH'er
Dev Hardware Newbie (0 - 499 posts)
 
Join Date: Apr 2010
Posts: 9 hazee User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 37 m 25 sec
Reputation Power: 0
Quote:
Originally Posted by JohnFrank
I do not understand your config, you will need to explain it more.


My setup is very simple LAN connected with a ADSL router. Thats it. To explain more refer to below image;
My setup

Quote:
Originally Posted by JohnFrank
For proxy on MySQL, is this something you want cached anyway (in case DB data changes).

No. If you look at the image above you will understand that all the web requests has to go though the proxy server to reach the ADSL router and then to internet(for http/https). So the client machine(computer(s) in my LAN) should also be able to reach a remote MySql database which it can not because of the proxy server blocking connection requests other than http/https.

Hope its clear now.

Reply With Quote
Reply

Viewing: Dev Hardware ForumsHARDWARENetworking > Squid not allowing connection to MySQL on port 3306


Developer Shed Affiliates

 


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
     
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap