OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • A Proxy Server Question.
« previous next »
  • Print
Pages: [1]

Author Topic: A Proxy Server Question.  (Read 3367 times)

Kuzunkhaa

  • Newbie
  • *
  • Posts: 13
  • Karma: 0
    • View Profile
A Proxy Server Question.
« 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:
  • Memory Cache=4096
  • Cache Size=32768
  • first-level subdirectories=128
  • second-level subdirectories=512
  • Maximum object size=10

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

Many thanks!
Logged

fabian

  • Hero Member
  • *****
  • Posts: 2751
  • Karma: 195
  • OPNsense Contributor (Language, VPN, Proxy, etc.)
    • View Profile
    • Personal Homepage
Re: A Proxy Server Question.
« Reply #1 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
Logged

Kuzunkhaa

  • Newbie
  • *
  • Posts: 13
  • Karma: 0
    • View Profile
Re: A Proxy Server Question.
« Reply #2 on: July 03, 2016, 09:07:39 am »
Quote from: MARCVS on July 03, 2016, 01:01:43 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.
Logged

Kuzunkhaa

  • Newbie
  • *
  • Posts: 13
  • Karma: 0
    • View Profile
Re: A Proxy Server Question.
« Reply #3 on: July 03, 2016, 09:11:10 am »
Quote from: 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

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

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • A Proxy Server Question.
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2022 All rights reserved
  • SMF 2.0.18 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2