{"url":"https://takuya-1st.hatenablog.jp/entry/2023/09/05/180110","title":"openWrt \u3067ipsec\u3057\u3066\u30c8\u30f3\u30cd\u30eb\u3092\u7d4c\u7531\u3059\u308b\u3002(nft/nftables\u306b\u6ce8\u610f\u3059\u308b\u3002\uff09","width":"100%","provider_url":"https://hatena.blog","version":"1.0","blog_url":"https://takuya-1st.hatenablog.jp/","published":"2023-09-05 18:01:10","author_name":"takuya_1st","blog_title":"\u305d\u308c\u30de\u30b0\u3067\uff01","type":"rich","provider_name":"Hatena Blog","image_url":null,"author_url":"https://blog.hatena.ne.jp/takuya_1st/","categories":["vpn","openwrt","vti","ipsec"],"description":"openWrt \u306f nft / nftables \u306b\u306a\u3063\u3066\u3044\u308b\u306e\u3067\u3001\u6ce8\u610f\u3059\u308b\u3002 \u6700\u521d\u306b\u30d1\u30b1\u30c3\u30c8\u3092\u5b9a\u671f\u7684\u306b\u9001\u308b\u3002(watch \u3092\u4f7f\u3046\u306e\u304c\u30b3\u30c4 / ping \u30b3\u30de\u30f3\u30c9\u3067\u9001\u308b\u3068\u7d99\u7d9a\u30d1\u30b1\u30c3\u30c8\u306b\u306a\u308a\u3001\u30d1\u30b1\u30c3\u30c8\u304c\u30de\u30fc\u30af\u3055\u308c\u305f\u307e\u307e\u306b\u306a\u308a\u3001\u7d4c\u8def\u304c\u5909\u308f\u3063\u3066\u3082\u4ee5\u524d\u306e\u7d4c\u8def\u3092\u901a\u308b\uff09 ssh s0 -- watch -n 2 'ping -c 1 1.0.0.1' LAN\uff08br-lan)\u304b\u3089\u306eForward\u3092Accept\u3059\u308b\u306b\u306f ## src net \u3092\u66f8\u3044\u305f\u308a iptables -I FORWARD -o \"${VTI_IF}\" -s 172.16.9.0/24 -j ACCEPT ## \u307e\u305f\u306f iptables -\u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftakuya-1st.hatenablog.jp%2Fentry%2F2023%2F09%2F05%2F180110\" title=\"openWrt \u3067ipsec\u3057\u3066\u30c8\u30f3\u30cd\u30eb\u3092\u7d4c\u7531\u3059\u308b\u3002(nft/nftables\u306b\u6ce8\u610f\u3059\u308b\u3002\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>","height":"190"}