PCからの閲覧を拒否し、携帯全キャリアからの閲覧を可能にするためIP制限を行っています。
この質問http://q.hatena.ne.jp/1181061231を過去にしました。
1番目の回答者様の載せて下さったIPに足りないもの、不要なものがありましたら教えてください。
よろしくお願い致します。
使用されるIPアドレスは時々変わります。
作ろうiモードコンテンツ:iモードセンタの各種情報 | サービス・機能 | NTTドコモ
各キャリアとも公式に発表している情報なので自分で時々確認した方がよいです。
いくつか新規で追加されたりしているようです。
特にauの部分はサブネットなど細かく変わってますので、現在自分で使用しているものをそのまま貼り付けます。
IPアドレスだけでなくドメイン名も指定しておいた方がいいと思います。
私の場合Willcomも指定してますので、いらなければ省いてください。
参考になさってください。
──────<以下>
order deny,allow
deny from all
allow from .jp-c.ne.jp .jp-k.ne.jp .jp-e.ne.jp .jp-t.ne.jp .jp-q.ne.jp .docomo.ne.jp .vodafone.ne.jp .ezweb.ne.jp .softbank.ne.jp .pdx.ne.jp
# iモード(2006/10/23)
# http://www.nttdocomo.co.jp/service/imode/make/content/ip/
allow from 210.153.84.0/24
allow from 210.136.161.0/24
allow from 210.153.86.0/24
allow from 210.153.87.0/24
# SoftBank(2006/12/20)
# http://developers.softbankmobile.co.jp/dp/tech_svc/web/ip.php
allow from 202.179.204.0/24
allow from 202.253.96.248/29
allow from 210.146.7.192/26
allow from 210.146.60.192/26
allow from 210.151.9.128/26
allow from 210.169.130.112/29
allow from 210.169.130.120/29
allow from 210.169.176.0/24
allow from 210.175.1.128/25
allow from 210.228.189.0/24
allow from 211.8.159.128/25
# EZweb TU-KA(2007/6/12)
# http://www.au.kddi.com/ezfactory/tec/spec/ezsava_ip.html
allow from 210.169.40.0/24
allow from 210.196.3.192/26
allow from 210.196.5.192/26
allow from 210.230.128.0/24
allow from 210.230.141.192/26
allow from 210.234.105.32/29
allow from 210.234.108.64/26
allow from 210.251.1.192/26
allow from 210.251.2.0/27
allow from 211.5.1.0/24
allow from 211.5.2.128/25
allow from 211.5.7.0/24
allow from 218.222.1.0/24
allow from 61.117.0.0/24
allow from 61.117.1.0/24
allow from 61.117.2.0/26
allow from 61.202.3.0/24
allow from 219.108.158.0/26
allow from 219.125.148.0/24
allow from 222.5.63.0/24
allow from 222.7.56.0/24
allow from 222.5.62.128/25
allow from 222.7.57.0/24
allow from 59.135.38.128/25
allow from 219.108.157.0/25
allow from 219.125.151.128/25
allow from 219.125.145.0/25
# AirH"PHONE(2006/5/10)
# http://www.willcom-inc.com/ja/service/contents_service/club_air_...
allow from 61.198.142.0/24
allow from 219.108.14.0/24
allow from 61.198.161.0/24
allow from 219.108.0.0/24
allow from 61.198.249.0/24
allow from 219.108.1.0/24
allow from 61.198.250.0/24
allow from 219.108.2.0/24
allow from 61.198.253.0/24
allow from 219.108.3.0/24
allow from 61.198.254.0/24
allow from 219.108.4.0/24
allow from 61.198.255.0/24
allow from 219.108.5.0/24
allow from 61.204.3.0/25
allow from 219.108.6.0/24
allow from 61.204.4.0/24
allow from 221.119.0.0/24
allow from 61.204.6.0/25
allow from 221.119.1.0/24
allow from 125.28.4.0/24
allow from 221.119.2.0/24
allow from 125.28.5.0/24
allow from 221.119.3.0/24
allow from 125.28.6.0/24
allow from 221.119.4.0/24
allow from 125.28.7.0/24
allow from 221.119.5.0/24
allow from 125.28.8.0/24
allow from 221.119.6.0/24
allow from 211.18.235.0/24
allow from 221.119.7.0/24
allow from 211.18.238.0/24
allow from 221.119.8.0/24
allow from 211.18.239.0/24
allow from 221.119.9.0/24
allow from 125.28.11.0/24
allow from 125.28.13.0/24
allow from 125.28.12.0/24
allow from 125.28.14.0/24
allow from 125.28.2.0/24
allow from 125.28.3.0/24
allow from 211.18.232.0/24
allow from 211.18.233.0/24
allow from 211.18.236.0/24
allow from 211.18.237.0/24
allow from 125.28.0.0/24
allow from 125.28.1.0/24
allow from 61.204.0.0/24
allow from 210.168.246.0/24
allow from 210.168.247.0/24
allow from 219.108.7.0/24
allow from 61.204.2.0/24
allow from 61.204.5.0/24
allow from 61.198.129.0/24
allow from 61.198.140.0/24
allow from 61.198.141.0/24
allow from 125.28.15.0/24
allow from 61.198.165.0/24
allow from 61.198.166.0/24
allow from 61.198.168.0/24
allow from 61.198.169.0/24
allow from 61.198.170.0/24
allow from 61.198.248.0/24
allow from 125.28.16.0/24
allow from 125.28.17.0/24
allow from 211.18.234.0/24
allow from 219.108.8.0/24
allow from 219.108.9.0/24
allow from 219.108.10.0/24
allow from 61.198.138.100/32
allow from 61.198.138.101/32
allow from 61.198.138.102/32
http://q.hatena.ne.jp/1181061231に羅列しているIPを添削して頂きたく投稿しました。
以後回答して頂ける方は、添削して頂けると幸いです。問題無ければ問題ないと言ってくれると助かります。