<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>turgenev</author_name>
  <author_url>https://blog.hatena.ne.jp/turgenev/</author_url>
  <blog_title>turgenev’s blog</blog_title>
  <blog_url>https://turgenev.hatenablog.com/</blog_url>
  <categories>
    <anon>Linux</anon>
    <anon>ネットワーク</anon>
  </categories>
  <description>今回の記事ではHTTPプロキシの定番であるSquidで透過プロキシを設定してみます。以前の関連記事とあわせて読むことをおすすめします。 概要 Squidの透過プロキシにはinterceptとtproxyの2種類があります。 この2つを実際にどう使い分けるかは正直よく分かっていないのですが、動作上の違いとしては、前者がsquid自身のIPを使ってインターネット側と通信するのに対し、後者はクライアントのIPをそのまま使ってインターネット側と通信します。また、iptablesの設定上の違いとしては前者にはREDIRECTターゲット、後者にはTPROXYターゲットを使います。 squid.conf s…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fturgenev.hatenablog.com%2Fentry%2F2025%2F03%2F25%2F171736&quot; title=&quot;squidで透過プロキシ（intercept, tproxy）を動かす - turgenev’s blog&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-03-25 17:17:36</published>
  <title>squidで透過プロキシ（intercept, tproxy）を動かす</title>
  <type>rich</type>
  <url>https://turgenev.hatenablog.com/entry/2025/03/25/171736</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
