{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbriteming.hatenablog.com%2Fentry%2F2018%2F11%2F29%2F214832\" title=\"\u7528ss-redir\u548ciptables\u914d\u7f6e\u900f\u660e\u4ee3\u7406 - blog.hatena.ne.jp, \u5206\u7c7b: https://briteming.hatenablog.com/categories\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","image_url":null,"categories":[],"published":"2018-11-29 21:48:32","width":"100%","description":"\u900f\u660e\u4ee3\u7406\u6307\u5bf9\u5ba2\u6237\u7aef\u900f\u660e\uff0c\u5ba2\u6237\u7aef\u4e0d\u9700\u8981\u8fdb\u884c\u4efb\u4f55\u8bbe\u7f6e\u5c31\u4f7f\u7528\u4e86\u7f51\u7ba1\u8bbe\u7f6e\u7684\u4ee3\u7406\u89c4\u5219. \u521b\u5efa /etc/ss-redir.json \u672c\u5730\u76d1\u542c 7777 \u8fd0\u884css-redir -v -c /etc/ss-redir.json iptables -t nat -N SHADOWSOCKS # \u5728 nat \u8868\u4e2d\u521b\u5efa\u65b0\u94fe iptables -t nat -A SHADOWSOCKS -p tcp --dport 23596 -j RETURN # 23596 \u662f ss \u4ee3\u7406\u670d\u52a1\u5668\u7684\u7aef\u53e3\uff0c\u5373\u8fdc\u7a0b shadowsocks \u670d\u52a1\u5668\u63d0\u4f9b\u670d\u52a1\u7684\u7aef\u53e3\uff0c\u5982\u679c\u4f60\u6709\u591a\u4e2a ip \u53ef\u7528,\u4f46\u7aef\u53e3\u4e00\u81f4\uff0c\u5c31\u8bbe\u7f6e\u8fd9\u4e2a iptables -t\u2026","version":"1.0","title":"\u7528ss-redir\u548ciptables\u914d\u7f6e\u900f\u660e\u4ee3\u7406","provider_url":"https://hatena.blog","url":"https://briteming.hatenablog.com/entry/2018/11/29/214832","height":"190","blog_title":"blog.hatena.ne.jp, \u5206\u7c7b: https://briteming.hatenablog.com/categories","author_name":"briteming","provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/briteming/","blog_url":"https://briteming.hatenablog.com/","type":"rich"}