OPNsense Forum

English Forums => General Discussion => Topic started by: Kuzunkhaa on July 03, 2016, 01:01:43 am

Title: A Proxy Server Question.
Post by: Kuzunkhaa on July 03, 2016, 01:01:43 am
Hello community,
I'm not a great expert of networking, but OPNsense is a pleasure to learning and understand!

Anyway I have create a proxy with local cache and adblock (http://pgl.yoyo.org/adservers) for my home, but seems have slowed down my internet connection and response time. I have tried to add "kern.ipc.nmbclusters" with value of "32768" and modified "vfs.read_max" to "128", because some suggest those options to improve "squid" performance, but seems do nothing.

Anyone can help me to understand how to improve the proxy speed?

The system have a Intel Celeron J1900, x4 NIC Intel WG82583, 8Gb DDRL3 1600Mhz and SSD 128Gb without swap.

The "Local Cache Settings" are:
Another thing: what are "Via header" and "X-Forwarded for header handling" options?

Many thanks!
Title: Re: A Proxy Server Question.
Post by: fabian on July 03, 2016, 09:07:03 am
This links may answer your last question:
https://tools.ietf.org/html/rfc2616#section-14.45
https://en.wikipedia.org/wiki/X-Forwarded-For
Title: Re: A Proxy Server Question.
Post by: Kuzunkhaa on July 03, 2016, 09:07:39 am
Another thing: what are "Via header" and "X-Forwarded for header handling" options?
I have found good response to my questions on Wikipedia.

A question: the proxy cache store permanently file or every time I reboot the system it purge the cache?

Thanks.
Title: Re: A Proxy Server Question.
Post by: Kuzunkhaa on July 03, 2016, 09:11:10 am
This links may answer your last question:
https://tools.ietf.org/html/rfc2616#section-14.45
https://en.wikipedia.org/wiki/X-Forwarded-For

I have read after my new post, but thanks fabian for the response! I'm going to read.