{"author_name":"alexei-karamazov","blog_title":"\u732b\u578b\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u30d6\u30ed\u30b0","blog_url":"https://alexei-karamazov.hatenablog.com/","url":"https://alexei-karamazov.hatenablog.com/entry/2013/12/26/142306","author_url":"https://blog.hatena.ne.jp/alexei-karamazov/","provider_url":"https://hatena.blog","categories":[],"type":"rich","image_url":null,"title":"iptables\u3092\u7528\u3044\u305f\u900f\u904e\u578bFW\u306e\u8a2d\u5b9a","version":"1.0","published":"2013-12-26 14:23:06","height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Falexei-karamazov.hatenablog.com%2Fentry%2F2013%2F12%2F26%2F142306\" title=\"iptables\u3092\u7528\u3044\u305f\u900f\u904e\u578bFW\u306e\u8a2d\u5b9a - \u732b\u578b\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","width":"100%","description":"+--------+ +--------+ +--------+ | eth0 | -----> | br0 | ------> | eth1 | +--------+ +--------+ +--------+ \u4e0a\u306e\u56f3\u306e\u3088\u3046\u306bbr0\u3092\u4ecb\u3057\u30662\u679a\u306eNIC(eth0,eth1)\u304c\u30d6\u30ea\u30c3\u30b8\u3055\u308c\u3066\u3044\u308b\u72b6\u614b\u3092\u4eee\u5b9a\u3057\u307e\u3059\u3002eth0\u304b\u3089eth1\u306e\u5411\u304d\u306b\u6d41\u308c\u308b\u30d1\u30b1\u30c3\u30c8\u3092\u906e\u65ad\u3059\u308b\u305f\u3081\u306eiptables\u306e\u30b3\u30de\u30f3\u30c9\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002 iptables -A FORWARD -j DROP --match physdev --physdev-in eth0 --physdev-out eth1 \u4e0a\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5229\u7528\u3057\u2026","provider_name":"Hatena Blog"}