SQUID 啟動全代理

My squid proxy server is displaying system’s real IP address. I’ve a corporate password protected squid proxy server located at 202.54.1.2. My clients works from home or offices via A/DSL / cable connections. Squid should hide all system’s IP address, but it is forwarding and displaying the system’s IP address. How do I configure squid to hide client’s real IP address? Squid proxy server has directive called forwarded_for. If set, Squid will include your system’s IP address or name n the HTTP requests it forwards. By default it looks like this: X-Forwarded-For: 191.1.2.5 If you disable this, it will appear as X-Forwarded-For: unknown Open squid.conf file:

# vi squid.conf

Set forwarded_for to off: forwarded_for off
Save and close the file. Restart squid server:

 # /etc/init.d/squid restart

分類: 儲藏室。這篇內容的永久連結

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。