Community discussions

MikroTik App
 
imrankosi
Member Candidate
Member Candidate
Topic Author
Posts: 153
Joined: Wed Oct 15, 2008 4:51 pm

squid proxy issue

Sat Nov 01, 2014 4:40 am

hello members,
Recently i configured squid proxy on ubuntu to catch youtube and http websites . Ever thing is running fine can get 96mbps downloading speed to customer once the file is cached in ubuntu server. but one issue is there with some users they c't access sites d't open properly.
i had created mangle rule to redirect the traffic to squid server.

what i want is some specified lan ip should access internet directly not through squid server

need firewall rule for this
 
imrankosi
Member Candidate
Member Candidate
Topic Author
Posts: 153
Joined: Wed Oct 15, 2008 4:51 pm

Re: squid proxy issue

Sat Nov 01, 2014 4:41 am

hello members,
Recently i configured squid proxy on ubuntu to catch youtube and http websites . Ever thing is running fine can get 96mbps downloading speed to customer once the file is cached in ubuntu server. but one issue is there with some users they c't access sites d't open properly.
i had created mangle rule to redirect the traffic to squid server.

what i want is some specified lan ip should access internet directly not through squid server
just bypass the redirect rule for specified ip.

need firewall rule for this
 
User avatar
bajodel
Long time Member
Long time Member
Posts: 552
Joined: Sun Nov 24, 2013 8:30 am
Location: Italy

Re: squid proxy issue

Sun Nov 02, 2014 11:01 am

what i want is some specified lan ip should access internet directly not through squid server
need firewall rule for this
if your proxy setup is a "traspararent one" .. in your firewall rules you probably have (somewhere.. search for it) a rule for 'redirect' http traffic to ubuntu server. Just before this rule you can put some exclusions for those clients you want to allow direct conn.

if you have "non trasparent" setup you have to bypass proxy on client config ..or.. tweak in some way your ubuntu proxy to exclude/bypass for those specific clients.
 
imrankosi
Member Candidate
Member Candidate
Topic Author
Posts: 153
Joined: Wed Oct 15, 2008 4:51 pm

Re: squid proxy issue

Mon Nov 03, 2014 8:42 am

i need the rule to allow direct connection to specified ip . proxy is trasprant
 
User avatar
bajodel
Long time Member
Long time Member
Posts: 552
Joined: Sun Nov 24, 2013 8:30 am
Location: Italy

Re: squid proxy issue

Tue Nov 04, 2014 11:24 pm

i need the rule to allow direct connection to specified ip . proxy is trasprant
put a 'accept' rule before the 'redirect' filtering for dest-tcp-port80 and src ip address (or a address-list) of the bypassed client
 
imrankosi
Member Candidate
Member Candidate
Topic Author
Posts: 153
Joined: Wed Oct 15, 2008 4:51 pm

Re: squid proxy issue

Wed Nov 05, 2014 4:29 am

thanks for the great help but what about the chain forward? or other option
 
User avatar
bajodel
Long time Member
Long time Member
Posts: 552
Joined: Sun Nov 24, 2013 8:30 am
Location: Italy

Re: squid proxy issue

Wed Nov 05, 2014 10:59 am

thanks for the great help but what about the chain forward? or other option
yes, forward ..exactly where you already have the 'redirect' rule to proxy

Who is online

Users browsing this forum: anastasis, BoraHorza, erlinden, nichky and 24 guests