1 / 8

資訊傳播系專題研究

資訊傳播系專題研究. Transparent proxy 班級:資傳四 A 組員:林佳辰 陳星宇 邱鈺翔. Transparent proxy 介紹. Transparent proxy (可簡稱為 TP ),通透式 proxy 是 proxy 的一種 TP 與其他 proxy 的不同在於使用 TP 時不用在瀏覽器作出任何設定,又能強制用戶端透過自己本身連線出去. proxy 的運作流程及好處. 1. 下載網頁速度加快 2. 增加下載續傳支援 3. 上網更安全. Squid 設定 /etc/squid/squid.conf.

Download Presentation

資訊傳播系專題研究

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 資訊傳播系專題研究 Transparent proxy 班級:資傳四A 組員:林佳辰 陳星宇 邱鈺翔

  2. Transparent proxy介紹 Transparent proxy(可簡稱為TP),通透式 proxy 是 proxy 的一種 TP 與其他 proxy 的不同在於使用 TP 時不用在瀏覽器作出任何設定,又能強制用戶端透過自己本身連線出去

  3. proxy的運作流程及好處 1.下載網頁速度加快 2.增加下載續傳支援 3.上網更安全

  4. Squid設定 /etc/squid/squid.conf 參數設定 http_port 3128 icp_port 3130 cache_mem 128MB cache_swap_low 75 cache_swap_high 90 acl all src 0.0.0.0/0.0.0.0 acl dicip src 192.168.25.0/24 acl manager proto cache_object acl localhost src 127.0.0.1/255.255.255.255 http_access allow dicip http_access deny all

  5. Squid 2.4 以前版本 加入httpd_accel_host Proxy 的 FQDNhttpd_accel_port 80httpd_accel_with_proxy onhttpd_accel_uses_host_header on i2511 設定

  6. Squid 2.6 以後的版本 http_port 3128 transparent visible_hostname server

  7. 修改 iptable 規則 iptables -A INPUT -i eth1 -p tcp -m tcp --dport 3128:3130 -j ACCEPT NAT 內的TP 設定 iptables -t nat -A PREROUTING -i 內部網卡介面-p tcp -s 內部網路網段--dport 80 -j REDIRECT --to-ports 3128

  8. -The End-

More Related