{"published":"2010-08-24 00:02:35","provider_url":"https://hatena.blog","blog_url":"https://ymko.hatenadiary.org/","author_url":"https://blog.hatena.ne.jp/ymko/","url":"https://ymko.hatenadiary.org/entry/20100824/1282662155","description":"\u9069\u5f53 #!/bin/sh myhost=`cat /etc/sysconfig/network-scripts/ifcfg-eth0 | grep IPADDR | awk -F = {'print $2'}` router='192.168.1.1' echo $myhost # clear iptables -F iptables -X # set iptables -A OUTPUT -p all -s $myhost -d $router -j DROP iptables -L \uff20IT\uff1a\u30b9\u30c6\u30fc\u30c8\u30d5\u30eb\u30d1\u30b1\u30c3\u30c8\u30d5\u30a3\u30eb\u30bf\u3092\u4f7f\u3063\u305f\u30b5\u30fc\u30d3\u30b9\u306e\u516c\u958b\uff083/6\uff09 iptables","blog_title":"ymko\u306e\u65e5\u8a18","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fymko.hatenadiary.org%2Fentry%2F20100824%2F1282662155\" title=\"\u30eb\u30fc\u30bf\u30fc\u3078\u306e\u30a2\u30af\u30bb\u30b9\u3092\u5168\u3066\u30ab\u30c3\u30c8\u3059\u308b - ymko\u306e\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_name":"Hatena Blog","title":"\u30eb\u30fc\u30bf\u30fc\u3078\u306e\u30a2\u30af\u30bb\u30b9\u3092\u5168\u3066\u30ab\u30c3\u30c8\u3059\u308b","image_url":null,"categories":["iptables"],"width":"100%","author_name":"ymko","height":"190","type":"rich"}