{"version":"1.0","type":"rich","width":"100%","height":"190","published":"2023-08-31 13:30:00","blog_title":"\u305d\u308c\u30de\u30b0\u3067\uff01","author_name":"takuya_1st","provider_name":"Hatena Blog","url":"https://takuya-1st.hatenablog.jp/entry/2023/08/31/133000","description":"nft \u306b\u3088\u308bMSQUERADE\uff08iptables MASQUERADE\u304b\u3089\u306e\u79fb\u884c\uff09 iptables\u3067\u30de\u30b9\u30ab\u30ec\u30fc\u30c9\uff08\u307e\u305f\u306fSNAT\uff09\u306f\u53e4\u304f\u304b\u3089\u884c\u308f\u308c\u3066\u3044\u308b\u67af\u308c\u305f\u624b\u6cd5\u3002\u3053\u308c\u3092nft(nftables)\u306b\u66f8\u304d\u63db\u3048\u308b\u5834\u5408\u306e\u30e1\u30e2 \u6b21\u306e\u3088\u3046\u306a\u3001\u30de\u30b9\u30ab\u30ec\u30fc\u30c9\uff08NAT\uff09\u3092iptables\u3067\u8ffd\u8a18\u3057\u3066\u3044\u308b\u3068\u3059\u308b\u3002 iptables -I FORWARD -o ${interface} -j ACCEPT iptables -t nat -A POSTROUTING -o ${interface} -j MASQUERADE \u305f\u3068\u3048\u3070\u3001\u3053\u306e\u3088\u3046\u306b\u3002\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u3068\u7d44\u307f\u5408\u308f\u305b\u3066\u4f7f\u3063\u3066\u308b\u3002 DEST_NET=10.1\u2026","blog_url":"https://takuya-1st.hatenablog.jp/","author_url":"https://blog.hatena.ne.jp/takuya_1st/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftakuya-1st.hatenablog.jp%2Fentry%2F2023%2F08%2F31%2F133000\" title=\"nft \u306b\u3088\u308bMSQUERADE\uff08iptables MASQUERADE\u304b\u3089\u306e\u79fb\u884c\uff09 - \u305d\u308c\u30de\u30b0\u3067\uff01\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog","image_url":null,"title":"nft \u306b\u3088\u308bMSQUERADE\uff08iptables MASQUERADE\u304b\u3089\u306e\u79fb\u884c\uff09","categories":["linux","network","nft","nftables"]}