{"id":884,"date":"2022-12-05T01:09:58","date_gmt":"2022-12-04T17:09:58","guid":{"rendered":"https:\/\/blog.rhdgmod.cn\/?p=884"},"modified":"2022-12-05T01:10:00","modified_gmt":"2022-12-04T17:10:00","slug":"%e8%ae%b0%e7%82%b9%e4%b8%9c%e8%a5%bf","status":"publish","type":"post","link":"https:\/\/blog.rhdgmod.cn\/index.php\/2022\/12\/05\/884\/","title":{"rendered":"\u8bb0\u70b9\u4e1c\u897f"},"content":{"rendered":"<div><a href=\"https:\/\/kevrocks67.github.io\/blog\/qemu-port-forwarding-using-iptables.html\" target=\"_blank\" rel=\"noopener\">\u4e00\u4e2aURL \u5173\u4e8e\u865a\u62df\u673a\u94fe\u63a5\u5916\u7f51\u7684\u6587\u7ae0<\/a><\/div>\n<div><\/div>\n<div>\n<div>\n<div>iptables -t nat -A POSTROUTING -j MASQUERADE<\/div>\n<div><\/div>\n<\/div>\n<\/div>\n<div>iptables -t nat -A PREROUTING -d 192.168.50.113\/24 -i wlp0s20f3 -p tcp &#8211;dport 3389 -j DNAT &#8211;to-destination 192.168.122.215:3389<\/div>\n<div><\/div>\n<div>iptables -I FORWARD -p tcp -d 192.168.122.215\/24 &#8211;dport 3389 -m state &#8211;state NEW,RELATED,ESTABLISHED -j ACCEPT<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u4e00\u4e2aURL \u5173\u4e8e\u865a\u62df\u673a\u94fe\u63a5\u5916\u7f51\u7684\u6587\u7ae0 iptables -t nat -A POSTROUTING -j MA [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.rhdgmod.cn\/index.php\/wp-json\/wp\/v2\/posts\/884"}],"collection":[{"href":"https:\/\/blog.rhdgmod.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.rhdgmod.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.rhdgmod.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.rhdgmod.cn\/index.php\/wp-json\/wp\/v2\/comments?post=884"}],"version-history":[{"count":1,"href":"https:\/\/blog.rhdgmod.cn\/index.php\/wp-json\/wp\/v2\/posts\/884\/revisions"}],"predecessor-version":[{"id":885,"href":"https:\/\/blog.rhdgmod.cn\/index.php\/wp-json\/wp\/v2\/posts\/884\/revisions\/885"}],"wp:attachment":[{"href":"https:\/\/blog.rhdgmod.cn\/index.php\/wp-json\/wp\/v2\/media?parent=884"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.rhdgmod.cn\/index.php\/wp-json\/wp\/v2\/categories?post=884"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.rhdgmod.cn\/index.php\/wp-json\/wp\/v2\/tags?post=884"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}