Community discussions

MikroTik App
 
ahead
just joined
Topic Author
Posts: 17
Joined: Sat Sep 24, 2011 11:22 pm

PCQ + Squid + Webproxy

Fri Dec 09, 2011 10:17 pm

I want to run this scenario.(Number of Clients=200)

````````````````(172.19.95.4/24)
`````````````````````Squid
```````````````````````|
```````````````````````|
Clients----------------------Switch-----------------------------mikrotik-----------Internet
(172.19.95.0/24)`````````|````````(Lan:172.19.95.3/24)
````````````````````````|
````````````````````````|
````````````````````````|
`````````Kiwi Syslog Software On Win2003 Server
```````````````````(172.19.95.2/24)

Clients : They Receive IP (and Geteway) From MIKROTIK DHCP.
Switch : Simple Fast Ethernet Switch
Squid : Squid Service That Run On CentOS Linux For Be Only Cash Server
MIKROTIK : I Want Run DHCP & PCQ & WEB Proxy(Redirect To Squid) On It
Kiwi Syslog Software: For logging web proxy information & Knowing Where each User Go.
[Internet: To get accurate results from PCQ I use HTTP Server(running on Win2003 Server) Instead of Real Internet for testing]

My Purposes:
*-I Want PCQ For Equal sharing of bandwidth between Clients ..
*-I Want Know Where each User Go On Internet & How Much They Download...
*-I Want Choose What Computers to have Internet Access?[Base On Computer Name(or MAC)]

My Mikrotik Configs :
__01.JPG
06_WebProxy.JPG
__02.JPG
Questions:
1. Is better scenario for My Purposes?
2. How I Must Know,How Much each User Downloaded?
3.My Big Problem Is When I Use PCQ with Web Proxy, PCQ Does Not Function Well
But When I Dont Use Web Proxy(Thus No Squid), PCQ Work Great....What Is The Problem....
Why PCQ With Web Proxy Doesn't Work Well????
You do not have the required permissions to view the files attached to this post.
 
User avatar
ojsa
Member Candidate
Member Candidate
Posts: 181
Joined: Tue Jan 27, 2009 8:53 pm
Location: Norway

Re: PCQ + Squid + Webproxy

Fri Dec 09, 2011 11:03 pm

3. Because you no longer is routing the traffic through your router, but terminating the traffic to your proxy functionality in the router?
 
User avatar
ojsa
Member Candidate
Member Candidate
Posts: 181
Joined: Tue Jan 27, 2009 8:53 pm
Location: Norway

Re: PCQ + Squid + Webproxy

Sat Dec 10, 2011 12:39 pm

2. Use radius in conjunction with dhcp or pppoe, add the users to radius (which will keep track of the data use), add user user to an addresslist and make pcq use that addresslist to shape the users.
 
User avatar
Muhammad
Member Candidate
Member Candidate
Posts: 141
Joined: Wed Aug 20, 2008 9:15 pm
Location: Pakistan

Re: PCQ + Squid + Webproxy

Sat Dec 10, 2011 7:16 pm

Do not use any other server after Mikrotik, [@ Client side]
Example
```````````````````````````````````````````````````````````````````````(IP:192.168.0.3/24, gateway:192.168.0.1/24)
```````````````````````````````````````````````````````````````````````Squid
```````````````````````````````````````````````````````````````````````|
```````````````````````````````````````````````````````````````````````|
`````````````````````````(Wan:192.168.0.2/24, gateway:192.168.0.1/24)`````|

Clients===================Mikrotik=====================================Switch========================Internet
(172.19.95.0/24)--------------(Lan:172.19.95.1/24)------------------------------------------------------------------------------(Modem, IP:192.168.0.1/24)
```````````````````````````````````````````````````````````````````````|
```````````````````````````````````````````````````````````````````````|
```````````````````````````````````````````````````````````````````````|
```````````````````````````````````````````````````````````````````````|Kiwi Syslog Software On Win2003 Server
```````````````````````````````````````````````````````````````````````(192.168.0.4/24, gateway:192.168.0.1/24)


just Web-Proxy redirect to IP 192.168.0.3/24 and same thing for Syslog

also follow Mr, ojsa

Who is online

Users browsing this forum: fibracapi, FurfangosFrigyes, hatred, hendry, Michiganbroadband, pajapatak, raiod, soulflyhigh and 74 guests