<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
		xmlns:xhtml="http://www.w3.org/1999/xhtml"
>

<channel>
	<title>森の夢 &#187; ネットワーク</title>
	<atom:link href="http://morinoyume.com/category/techs/server/network/feed/" rel="self" type="application/rss+xml" />
	<link>http://morinoyume.com</link>
	<description>渋谷で働く若手ＳＥの日々の日記。</description>
	<lastBuildDate>Thu, 11 Feb 2010 05:10:16 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://morinoyume.com/category/techs/server/network/feed/" />
		<item>
		<title>Sambaを入れてみる。windows上からサーバーのファイルを更新。</title>
		<link>http://morinoyume.com/techs/samba%e3%82%92%e5%85%a5%e3%82%8c%e3%81%a6%e3%81%bf%e3%82%8b%e3%80%82windows%e4%b8%8a%e3%81%8b%e3%82%89%e3%82%b5%e3%83%bc%e3%83%90%e3%83%bc%e3%81%ae%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e3%82%92/</link>
		<comments>http://morinoyume.com/techs/samba%e3%82%92%e5%85%a5%e3%82%8c%e3%81%a6%e3%81%bf%e3%82%8b%e3%80%82windows%e4%b8%8a%e3%81%8b%e3%82%89%e3%82%b5%e3%83%bc%e3%83%90%e3%83%bc%e3%81%ae%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e3%82%92/#comments</comments>
		<pubDate>Fri, 20 Mar 2009 18:18:43 +0000</pubDate>
		<dc:creator>YSU</dc:creator>
				<category><![CDATA[サーバー構築]]></category>
		<category><![CDATA[ネットワーク]]></category>
		<category><![CDATA[技術]]></category>
		<category><![CDATA[インフラ]]></category>
		<category><![CDATA[自宅サーバー]]></category>

		<guid isPermaLink="false">http://morinoyume.com/?p=227</guid>
		<description><![CDATA[今日は日本勝ちましたね！
小笠原ナイスヒットです。イチローもっとがんばってください。
次のアメリカ戦は審判の誤審が気になるけど、きっと勝ってくれるはずです！！
月曜朝8時半からなので、朝からテンションマックスですね。
ん [...]]]></description>
			<content:encoded><![CDATA[<p>今日は日本勝ちましたね！<br />
小笠原ナイスヒットです。イチローもっとがんばってください。<br />
次のアメリカ戦は審判の誤審が気になるけど、きっと勝ってくれるはずです！！<br />
月曜朝8時半からなので、朝からテンションマックスですね。<br />
んなわけで、今日も自宅サーバーを構築中・・・。</p>
<p>今日はsambaを入れてみた。<br />
全部コピペでなんとか入った感じなので、ぜんぜん理解していないけど、<br />
とりあえず記事にしてみます（笑）。</p>
<p>sambaとは・・・</p>
<blockquote><p><span id="contents" style="overflow: hidden; height: auto;"> <a href="http://e-words.jp/w/UNIX.html">UNIX</a>で<a href="http://e-words.jp/w/SMB.html">SMB</a>を使ったサービスを提供するための<a href="http://e-words.jp/w/E382BDE38395E38388E382A6E382A7E382A2.html">ソフトウェア</a>。<a href="http://e-words.jp/w/E3838DE38383E38388E383AFE383BCE382AF.html">ネットワーク</a>を通じて<a href="http://e-words.jp/w/Windows.html">Windows</a>マシンに<a href="http://e-words.jp/w/E38395E382A1E382A4E383ABE585B1E69C89.html">ファイル共有</a>や<a href="http://e-words.jp/w/E38397E383AAE383B3E382BF.html">プリンタ</a>共有などのサービスを提供することを可能にする。<a href="http://e-words.jp/w/GPL.html">GPL</a>という<a href="http://e-words.jp/w/E383A9E382A4E382BBE383B3E382B9.html">ライセンス</a>体系に基づいて<a href="http://e-words.jp/w/E38395E383AAE383BCE382BDE38395E38388E382A6E382A7E382A2.html">フリーソフトウェア</a>として公開されている。</span></p></blockquote>
<p><span style="overflow: hidden; height: auto;">ということらしい。</span></p>
<p><span style="overflow: hidden; height: auto;"><br />
要は、サーバーにsambaをインストールしたらそのサーバーにwindows上からファイルを更新できたり共有できたりする感じ。<br />
</span><span style="overflow: hidden; height: auto;">本来は共有用なのかもしれないけど、これをいれておくとwindows上からサーバーのファイル更新ができるのでとても便利。<br />
俺は開発はテキストエディタでないとやりにくいので、windows上からプログラム書いていければいいなと思います。</span></p>
<p><span style="overflow: hidden; height: auto;">sambaのインストールと設定は<a href="http://fedorasrv.com/samba.shtml">ココ</a>を参考にしたが、<br />
これととおりやると/home/のディレクトリしか操作できなくなってしまう。<br />
できることなら/（ルートディレクトリ)から操作できるようにしたい。<br />
</span></p>
<p><span style="overflow: hidden; height: auto;">そんときは、</span></p>
<pre class="brush: xml;">
[root directory]
path = /
writeable = yes
guest ok = yes
browseable = yes
</pre>
<p><span style="overflow: hidden; height: auto;">を /etc/samba/smb.conf<br />
に書き足してあげて、sambaを再起動すればルートディレクトリも操作できると思います。</span></p>
<p><span style="overflow: hidden; height: auto;">上記設定を行ったときは、<br />
絶対にローカルのＩＰ以外にsambaを開いてはいけません！！</span><br />
/etc/samba/smb.conf　に↓を忘れずに！！</p>
<pre class="brush: xml;">
hosts allow = 192.168.1.
</pre>
<p>なお、sambaを開くには、windowsのファイル名から実行で、「\\192.168.1.1」みたいに<br />
サーバーのローカルＩＰを指定してあげれば見れるはずです。</p>
<h3  class="related_post_title">関連の記事</h3><ul class="related_post"><li>2009 年 12 月 8 日 -- <a href="http://morinoyume.com/techs/mysql%e3%83%91%e3%83%bc%e3%83%86%e3%82%a3%e3%82%b7%e3%83%a7%e3%83%8b%e3%83%b3%e3%82%b0%e3%81%ae%e3%81%be%e3%81%a8%e3%82%81%e2%91%a0-%e8%a8%ad%e5%ae%9a%e3%83%bb%e5%86%8d%e3%82%b3%e3%83%b3%e3%83%91/" title="mysqlパーティショニングのまとめ① &#8211; 設定・再コンパイル">mysqlパーティショニングのまとめ① &#8211; 設定・再コンパイル</a></li><li>2009 年 11 月 28 日 -- <a href="http://morinoyume.com/techs/tcsh%e3%81%ae%e5%b0%8e%e5%85%a5%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab/" title="tcshの導入(インストール)">tcshの導入(インストール)</a></li><li>2009 年 5 月 30 日 -- <a href="http://morinoyume.com/techs/mysql%e3%81%8c%e7%ab%8b%e3%81%a1%e4%b8%8a%e3%81%8c%e3%82%89%e3%81%aa%e3%81%84%ef%bc%81%ef%bc%88starting-mysqlmanager-of-pid-file-quit-without-updating-fi/" title="mysqlが立ち上がらない！（Starting MySQL.Manager of pid-file quit without updating file)">mysqlが立ち上がらない！（Starting MySQL.Manager of pid-file quit without updating file)</a></li><li>2009 年 4 月 21 日 -- <a href="http://morinoyume.com/techs/yum%e3%81%a7php%e3%81%ae%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab/" title="yumでphpのインストール">yumでphpのインストール</a></li><li>2009 年 4 月 20 日 -- <a href="http://morinoyume.com/techs/mysql60%e3%81%ae%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%83%a1%e3%83%a2/" title="mysql6.0のインストールメモ">mysql6.0のインストールメモ</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://morinoyume.com/techs/samba%e3%82%92%e5%85%a5%e3%82%8c%e3%81%a6%e3%81%bf%e3%82%8b%e3%80%82windows%e4%b8%8a%e3%81%8b%e3%82%89%e3%82%b5%e3%83%bc%e3%83%90%e3%83%bc%e3%81%ae%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e3%82%92/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://morinoyume.com/techs/samba%e3%82%92%e5%85%a5%e3%82%8c%e3%81%a6%e3%81%bf%e3%82%8b%e3%80%82windows%e4%b8%8a%e3%81%8b%e3%82%89%e3%82%b5%e3%83%bc%e3%83%90%e3%83%bc%e3%81%ae%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e3%82%92/" />
	</item>
		<item>
		<title>お名前.comのダイナミックDNSを使ってみる。</title>
		<link>http://morinoyume.com/techs/%e3%81%8a%e5%90%8d%e5%89%8dcom%e3%81%ae%e3%83%80%e3%82%a4%e3%83%8a%e3%83%9f%e3%83%83%e3%82%afdns%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6%e3%81%bf%e3%82%8b%e3%80%82/</link>
		<comments>http://morinoyume.com/techs/%e3%81%8a%e5%90%8d%e5%89%8dcom%e3%81%ae%e3%83%80%e3%82%a4%e3%83%8a%e3%83%9f%e3%83%83%e3%82%afdns%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6%e3%81%bf%e3%82%8b%e3%80%82/#comments</comments>
		<pubDate>Sat, 14 Mar 2009 07:02:28 +0000</pubDate>
		<dc:creator>YSU</dc:creator>
				<category><![CDATA[Web関連]]></category>
		<category><![CDATA[サイト紹介]]></category>
		<category><![CDATA[サーバー構築]]></category>
		<category><![CDATA[セキュリティ]]></category>
		<category><![CDATA[ネットワーク]]></category>
		<category><![CDATA[技術]]></category>
		<category><![CDATA[インフラ]]></category>
		<category><![CDATA[自宅サーバー]]></category>

		<guid isPermaLink="false">http://morinoyume.com/?p=222</guid>
		<description><![CDATA[さて、今日は自宅ｻｰﾊﾞｰを構築中だが、
自宅ｻｰﾊﾞｰを立てると困るのがＩＰアドレスだ。
たいていの家ではＩＰアドレスは非固定のIPアドレスが割り当てられている。
なので、せっかく独自ドメインを取得して、ＤＮＳに自宅Ｉ [...]]]></description>
			<content:encoded><![CDATA[<p>さて、今日は自宅ｻｰﾊﾞｰを構築中だが、<br />
自宅ｻｰﾊﾞｰを立てると困るのがＩＰアドレスだ。</p>
<p>たいていの家ではＩＰアドレスは非固定のIPアドレスが割り当てられている。<br />
なので、せっかく独自ドメインを取得して、ＤＮＳに自宅ＩＰを設定しても接続しなおす（ルーターの再起動など）度に<br />
ＩＰアドレスが変わってしまうため、いちいちＤＮＳの設定を変更しなければならない。</p>
<p>それはさすがに面倒なのでダイナミックＤＮＳを使ってみることにする。<br />
無料のサービスもあるようだが、今回は「お名前.com」のダイナミックＤＮＳを使ってみることに。<br />
値段はお名前.comで使用しているドメインであれば、基本使用料月額200円。以降1ドメイン追加毎に100円かかる。</p>
<p>しくみは至って簡単で、クライアントＰＣにＤＮＳ更新用のソフトをスタートアップ起動でインストールしておき、<br />
いろいろ設定しておけば、定期的にＤＮＳのＩＰをクライアントＰＣが使用するＩＰに更新してくれる。<br />
なので、クライアントＰＣを自宅のＬＡＮ以外で使用する場合は、ダイナミックＤＮＳのＩＰも書き換えられてしまうので注意が必要だ。</p>
<p>しかし、私的な意見だが、接続をし直すなんて滅多にないので、別に普通のＤＮＳにＡレコードで設定しておけばいいのでは・・・？<br />
と思います。</p>
<p>なにはともあれこれで、ドメインと自宅のＩＰがスムーズに解決されるはずなので、ＷＥＢｻｰﾊﾞｰを立てられるはず。</p>
<p>ダイナミックＤＮＳとは<br />
<a href="http://e-words.jp/w/E38380E382A4E3838AE3839FE38383E382AFDNS.html">http://e-words.jp/w/E38380E382A4E3838AE3839FE38383E382AFDNS.html</a></p>
<blockquote><p>常時接続環境などを利用して自宅の<a href="http://e-words.jp/w/E38391E382BDE382B3E383B3.html">パソコン</a>を<a href="http://e-words.jp/w/WebE382B5E383BCE38390.html">Webサーバ</a>などとして公開しようとする際に、<a href="http://e-words.jp/w/IPE382A2E38389E383ACE382B9.html">IPアドレス</a>や<a href="http://e-words.jp/w/E38397E383ADE38390E382A4E38380.html">プロバイダ</a>によって機械的に付加された<a href="http://e-words.jp/w/E3839BE382B9E38388E5908D.html">ホスト名</a>はあまり意味をなさない数字、アルファベット、記号の羅列となるため、一般に公開して周知してもらうためには不向きな情報である。また、<a href="http://e-words.jp/w/E3838DE38383E38388E383AFE383BCE382AF.html">ネットワーク</a>への接続を切断、再接続する度に新しい<a href="http://e-words.jp/w/IPE382A2E38389E383ACE382B9.html">IPアドレス</a>が付与されてしまう場合が多い。これに対し、接続ごとに<a href="http://e-words.jp/w/DNS.html">DNS</a>レコードを更新することで一意の<a href="http://e-words.jp/w/E3839BE382B9E38388E5908D.html">ホスト名</a>を常時接続環境を利用する自宅の<a href="http://e-words.jp/w/E38391E382BDE382B3E383B3.html">パソコン</a>に対して付与するサービスがDDNSである。<span id="more-222"></span></p>
<p>DDNSをサービスとして提供するのは主にDDNSサービスを専門に行う業者と常時接続環境を提供する<a href="http://e-words.jp/w/E38397E383ADE38390E382A4E38380.html">プロバイダ</a>によるDDNSサービスの提供の2通りに分類できる。<!--more--></p>
<p>一般的なDDNSサービスではWeb上でDDNSの<a href="http://e-words.jp/w/E3839BE382B9E38388.html">ホスト</a>先としたい<a href="http://e-words.jp/w/E7ABAFE69CAB.html">端末</a>の<a href="http://e-words.jp/w/IPE382A2E38389E383ACE382B9.html">IPアドレス</a>を登録することで<a href="http://e-words.jp/w/DNS.html">DNS</a>レコードを更新するシステムが一般的である。また、この作業を自動的に行うツールも存在し、この場合、ユーザは<a href="http://e-words.jp/w/WebE382B5E383BCE38390.html">Webサーバ</a>としたい<a href="http://e-words.jp/w/E38391E382BDE382B3E383B3.html">パソコン</a>を立ち上げ、DDNSサービスへの登録ツールを常駐させておけばツール一定期間ごとに<a href="http://e-words.jp/w/DNS.html">DNS</a>レコードを更新するため、ユーザは<a href="http://e-words.jp/w/E38391E382BDE382B3E383B3.html">パソコン</a>の<a href="http://e-words.jp/w/E8B5B7E58B95.html">起動</a>や回線の再接続の際に煩雑な登録作業を行う必要がない。</p></blockquote>
<h3  class="related_post_title">関連の記事</h3><ul class="related_post"><li>2009 年 12 月 8 日 -- <a href="http://morinoyume.com/techs/mysql%e3%83%91%e3%83%bc%e3%83%86%e3%82%a3%e3%82%b7%e3%83%a7%e3%83%8b%e3%83%b3%e3%82%b0%e3%81%ae%e3%81%be%e3%81%a8%e3%82%81%e2%91%a0-%e8%a8%ad%e5%ae%9a%e3%83%bb%e5%86%8d%e3%82%b3%e3%83%b3%e3%83%91/" title="mysqlパーティショニングのまとめ① &#8211; 設定・再コンパイル">mysqlパーティショニングのまとめ① &#8211; 設定・再コンパイル</a></li><li>2009 年 11 月 28 日 -- <a href="http://morinoyume.com/techs/tcsh%e3%81%ae%e5%b0%8e%e5%85%a5%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab/" title="tcshの導入(インストール)">tcshの導入(インストール)</a></li><li>2009 年 5 月 30 日 -- <a href="http://morinoyume.com/techs/mysql%e3%81%8c%e7%ab%8b%e3%81%a1%e4%b8%8a%e3%81%8c%e3%82%89%e3%81%aa%e3%81%84%ef%bc%81%ef%bc%88starting-mysqlmanager-of-pid-file-quit-without-updating-fi/" title="mysqlが立ち上がらない！（Starting MySQL.Manager of pid-file quit without updating file)">mysqlが立ち上がらない！（Starting MySQL.Manager of pid-file quit without updating file)</a></li><li>2009 年 4 月 21 日 -- <a href="http://morinoyume.com/techs/yum%e3%81%a7php%e3%81%ae%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab/" title="yumでphpのインストール">yumでphpのインストール</a></li><li>2009 年 4 月 20 日 -- <a href="http://morinoyume.com/techs/mysql60%e3%81%ae%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%83%a1%e3%83%a2/" title="mysql6.0のインストールメモ">mysql6.0のインストールメモ</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://morinoyume.com/techs/%e3%81%8a%e5%90%8d%e5%89%8dcom%e3%81%ae%e3%83%80%e3%82%a4%e3%83%8a%e3%83%9f%e3%83%83%e3%82%afdns%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6%e3%81%bf%e3%82%8b%e3%80%82/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://morinoyume.com/techs/%e3%81%8a%e5%90%8d%e5%89%8dcom%e3%81%ae%e3%83%80%e3%82%a4%e3%83%8a%e3%83%9f%e3%83%83%e3%82%afdns%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6%e3%81%bf%e3%82%8b%e3%80%82/" />
	</item>
		<item>
		<title>外につながらない！！（connect: ネットワークに届きません)</title>
		<link>http://morinoyume.com/techs/server/%e5%a4%96%e3%81%ab%e3%81%a4%e3%81%aa%e3%81%8c%e3%82%89%e3%81%aa%e3%81%84%ef%bc%81%ef%bc%81%ef%bc%88connect-%e3%83%8d%e3%83%83%e3%83%88%e3%83%af%e3%83%bc%e3%82%af%e3%81%ab%e5%b1%8a%e3%81%8d%e3%81%be/</link>
		<comments>http://morinoyume.com/techs/server/%e5%a4%96%e3%81%ab%e3%81%a4%e3%81%aa%e3%81%8c%e3%82%89%e3%81%aa%e3%81%84%ef%bc%81%ef%bc%81%ef%bc%88connect-%e3%83%8d%e3%83%83%e3%83%88%e3%83%af%e3%83%bc%e3%82%af%e3%81%ab%e5%b1%8a%e3%81%8d%e3%81%be/#comments</comments>
		<pubDate>Sat, 14 Mar 2009 04:49:12 +0000</pubDate>
		<dc:creator>YSU</dc:creator>
				<category><![CDATA[サーバー構築]]></category>
		<category><![CDATA[ネットワーク]]></category>
		<category><![CDATA[インフラ]]></category>
		<category><![CDATA[自宅サーバー]]></category>

		<guid isPermaLink="false">http://morinoyume.com/?p=216</guid>
		<description><![CDATA[今日はスキーに行く予定だったが、
かなりの天候不良により、自宅でサーバーを立てることにした。
すでにos(fedora10)はインストール済みだったため、今日は設定に費やすことに。
ココを見ながら設定しているのだが、早速 [...]]]></description>
			<content:encoded><![CDATA[<p>今日はスキーに行く予定だったが、<br />
かなりの天候不良により、自宅でサーバーを立てることにした。</p>
<p>すでにos(fedora10)はインストール済みだったため、今日は設定に費やすことに。<br />
<a href="http://fedorasrv.com/">ココ</a>を見ながら設定しているのだが、早速問題が・・・</p>
<p>外のnetworkにつながらない・・・<br />
ためしに、内側のネットワークにpingを打ってみるとちゃんと応答が帰ってくるのだが、<br />
外側のネットワークにpingを打つと「connect: ネットワークに届きません」(Network is unreachable)といわれるばかり。</p>
<p>原因はdefalt gateway（ＧＷ）が正しく設定されていなかったこと。<br />
まずは、networkの確認</p>
<pre class="brush: xml;">
netstat -r
</pre>
<p>正しく設定されれば、以下のようにdefaultが設定されている。<br />
(GWのIPが192.168.1.1と仮定)</p>
<pre class="brush: xml;">
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
192.168.11.0    *               255.255.255.0   U         0 0          0 eth0
link-local      *               255.255.0.0     U         0 0          0 eth0
default         192.168.1.1   0.0.0.0         UG        0 0          0 eth0
</pre>
<p>もしdefaultの設定がないのであれば、GWの設定が正しく行われておらず外部にネットワークがつながらない。<br />
GWの設定追加は以下のコマンドを打てば解決する。</p>
<pre class="brush: xml;">
route add default gw 192.168.1.1
</pre>
<p>これで、外部にネットワークがつながるはず。<br />
ただし、この追加方法だとnetworkを再起動したときにＧＷの設定が破棄される。<br />
なので、/etc/sysconfig/network と /etc/sysconfig/network-scripts/ifcfg-eth0 にＧＷの設定を記述する必要がる。</p>
<p>・/etc/sysconfig/networkに以下の2行を追加</p>
<pre class="brush: xml;">
GATEWAYDEV=eth0
GATEWAY=192.168.1.1
</pre>
<p>・/etc/sysconfig/network-scripts/ifcfg-eth0に以下の1行を追加</p>
<pre class="brush: xml;">
GATEWAY=192.168.1.1
</pre>
<p>（ちなみに私は、192.168.1.1が192,168.1.1となっていたためぜんぜんつながらなかった・・・。）</p>
<p>これでネットワークを再起動してもちゃんとＧＷが設定されているはずだ。</p>
<pre class="brush: xml;">
/etc/init.d/network restart
</pre>
<h3  class="related_post_title">関連の記事</h3><ul class="related_post"><li>2009 年 12 月 8 日 -- <a href="http://morinoyume.com/techs/mysql%e3%83%91%e3%83%bc%e3%83%86%e3%82%a3%e3%82%b7%e3%83%a7%e3%83%8b%e3%83%b3%e3%82%b0%e3%81%ae%e3%81%be%e3%81%a8%e3%82%81%e2%91%a0-%e8%a8%ad%e5%ae%9a%e3%83%bb%e5%86%8d%e3%82%b3%e3%83%b3%e3%83%91/" title="mysqlパーティショニングのまとめ① &#8211; 設定・再コンパイル">mysqlパーティショニングのまとめ① &#8211; 設定・再コンパイル</a></li><li>2009 年 11 月 28 日 -- <a href="http://morinoyume.com/techs/tcsh%e3%81%ae%e5%b0%8e%e5%85%a5%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab/" title="tcshの導入(インストール)">tcshの導入(インストール)</a></li><li>2009 年 5 月 30 日 -- <a href="http://morinoyume.com/techs/mysql%e3%81%8c%e7%ab%8b%e3%81%a1%e4%b8%8a%e3%81%8c%e3%82%89%e3%81%aa%e3%81%84%ef%bc%81%ef%bc%88starting-mysqlmanager-of-pid-file-quit-without-updating-fi/" title="mysqlが立ち上がらない！（Starting MySQL.Manager of pid-file quit without updating file)">mysqlが立ち上がらない！（Starting MySQL.Manager of pid-file quit without updating file)</a></li><li>2009 年 4 月 21 日 -- <a href="http://morinoyume.com/techs/yum%e3%81%a7php%e3%81%ae%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab/" title="yumでphpのインストール">yumでphpのインストール</a></li><li>2009 年 4 月 20 日 -- <a href="http://morinoyume.com/techs/mysql60%e3%81%ae%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%83%a1%e3%83%a2/" title="mysql6.0のインストールメモ">mysql6.0のインストールメモ</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://morinoyume.com/techs/server/%e5%a4%96%e3%81%ab%e3%81%a4%e3%81%aa%e3%81%8c%e3%82%89%e3%81%aa%e3%81%84%ef%bc%81%ef%bc%81%ef%bc%88connect-%e3%83%8d%e3%83%83%e3%83%88%e3%83%af%e3%83%bc%e3%82%af%e3%81%ab%e5%b1%8a%e3%81%8d%e3%81%be/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://morinoyume.com/techs/server/%e5%a4%96%e3%81%ab%e3%81%a4%e3%81%aa%e3%81%8c%e3%82%89%e3%81%aa%e3%81%84%ef%bc%81%ef%bc%81%ef%bc%88connect-%e3%83%8d%e3%83%83%e3%83%88%e3%83%af%e3%83%bc%e3%82%af%e3%81%ab%e5%b1%8a%e3%81%8d%e3%81%be/" />
	</item>
		<item>
		<title>ルーター（BUFFALO ）のアドレス変換について</title>
		<link>http://morinoyume.com/techs/%e3%83%ab%e3%83%bc%e3%82%bf%e3%83%bc%ef%bc%88buffalo-%ef%bc%89%e3%81%ae%e3%82%a2%e3%83%89%e3%83%ac%e3%82%b9%e5%a4%89%e6%8f%9b%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6/</link>
		<comments>http://morinoyume.com/techs/%e3%83%ab%e3%83%bc%e3%82%bf%e3%83%bc%ef%bc%88buffalo-%ef%bc%89%e3%81%ae%e3%82%a2%e3%83%89%e3%83%ac%e3%82%b9%e5%a4%89%e6%8f%9b%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6/#comments</comments>
		<pubDate>Tue, 17 Feb 2009 17:32:14 +0000</pubDate>
		<dc:creator>YSU</dc:creator>
				<category><![CDATA[サーバー構築]]></category>
		<category><![CDATA[ネットワーク]]></category>
		<category><![CDATA[技術]]></category>
		<category><![CDATA[インフラ]]></category>

		<guid isPermaLink="false">http://morinoyume.com/?p=175</guid>
		<description><![CDATA[最近サーバーを公開したいと思い、とりあえずwindowsにapacheを立ち上げて、
そこにルーターのＷＡＮ側ＩＰアドレス（グローバルＩＰ）を該当ＰＣのＩＰ（プライベートＩＰ）に変換するという設定を行った。
しかし、どう [...]]]></description>
			<content:encoded><![CDATA[<p>最近サーバーを公開したいと思い、とりあえずwindowsにapacheを立ち上げて、<br />
そこにルーターのＷＡＮ側ＩＰアドレス（グローバルＩＰ）を該当ＰＣのＩＰ（プライベートＩＰ）に変換するという設定を行った。<br />
しかし、どう設定してもグローバルＩＰをリクエストするとルータの設定画面に飛んでしまう・・・。<br />
この問題に悩みに悩みついに、BUFFALOのＦ＆Ｑに解答をみつけた。</p>
<blockquote style="text-align: left;"><p>Ｑ</p>
<p>ポート開放の設定を行ないましたが、正常にサーバ公開が行なわれません（BHR-4RV、BLRシリーズ）</p></blockquote>
<blockquote><p>Ａ</p>
<p>ポート開放（ポート変換／アドレス変換）を行い、サーバ公開をする際に、LAN側(ルータ本体のLANポートに接続したパソコンまたは無線LANパソコン)からWAN側に割り当てられたIPアドレスを指定してルータの設定画面が表示される場合は、下記をご参照下さい。</p>
<p>ポート開放は、WAN側(インターネット側)から確認を行う必要があります。<br />
LAN側からの確認では、ポート開放の結果は正常に表示されません。<br />
ダイヤルアップ接続など、ルータとは別のインターネット接続手段から、確認を行なってください。</p>
<p>例)Webサーバ公開の例</p>
<p>★ルータ本体<br />
WAN IPアドレス　200.200.200.200<br />
LAN IPアドレス　192.168.0.1</p>
<p>★パソコン側<br />
サーバマシンのアドレス　192.168.0.50</p>
<p>☆ルータ本体の設定にて、HTTP(TCP ポート80番)を192.168.0.50に転送を行う設定は完了済</p>
<p>上記構成でLAN側のパソコンから、Webブラウザで http://200.200.200.200/ と指定した場合はルータ本体の設定画面が表示されます。</p>
<p>WAN側(インターネット側)に存在するパソコンから http://200.200.200.200/ と指定した場合は、サーバマシン 192.168.0.50 の持つ内容がパソコン側に表示されます。</p></blockquote>
<p style="text-align: right;">抜粋：<span> <a href="http://buffalo.jp/php/lqa.php?id=BUFF641" target="_top">http://buffalo.jp/php/lqa.php?id=<span style="color: #ff0000;">BUFF641</span></a></span></p>
<p>つまり、ＬＡＮの外側からグローバルＩＰをたたけばいいということになる。<br />
さっそく、携帯電話でアクセスしてみることに。<br />
すると、たしかにアドレス変換の設定が反映されていた・・・。<br />
こんな簡単なことだったが、すごく悩んでしまった・・・。<br />
みなさんも気をつけてください。</p>
<p>何はともあれ、グローバルからＬＡＮの内側のＷＥＢサーバーがたたけたので、<br />
本格的にサーバーを構築しようと思います。</p>
<h3  class="related_post_title">関連の記事</h3><ul class="related_post"><li>2009 年 12 月 8 日 -- <a href="http://morinoyume.com/techs/mysql%e3%83%91%e3%83%bc%e3%83%86%e3%82%a3%e3%82%b7%e3%83%a7%e3%83%8b%e3%83%b3%e3%82%b0%e3%81%ae%e3%81%be%e3%81%a8%e3%82%81%e2%91%a0-%e8%a8%ad%e5%ae%9a%e3%83%bb%e5%86%8d%e3%82%b3%e3%83%b3%e3%83%91/" title="mysqlパーティショニングのまとめ① &#8211; 設定・再コンパイル">mysqlパーティショニングのまとめ① &#8211; 設定・再コンパイル</a></li><li>2009 年 11 月 29 日 -- <a href="http://morinoyume.com/techs/%e3%82%b3%e3%83%9e%e3%83%b3%e3%83%89%e3%83%a9%e3%82%a4%e3%83%b3%e3%81%a8apache%e3%81%aeconfiguration-file-php-ini-path-%e3%81%ae%e3%83%91%e3%82%b9%e3%81%8c%e9%81%95%e3%81%86%e4%bb%b6%e3%81%ab/" title="コマンドラインとapacheのConfiguration File (php.ini) Path のパスが違う件について">コマンドラインとapacheのConfiguration File (php.ini) Path のパスが違う件について</a></li><li>2009 年 11 月 28 日 -- <a href="http://morinoyume.com/techs/tcsh%e3%81%ae%e5%b0%8e%e5%85%a5%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab/" title="tcshの導入(インストール)">tcshの導入(インストール)</a></li><li>2009 年 5 月 30 日 -- <a href="http://morinoyume.com/techs/mcrypt-%e6%8b%a1%e5%bc%b5%e3%82%92%e3%83%ad%e3%83%bc%e3%83%89%e3%81%a7%e3%81%8d%e3%81%be%e3%81%9b%e3%82%93%e3%80%82php-%e3%81%ae%e8%a8%ad%e5%ae%9a%e3%82%92%e7%a2%ba%e8%aa%8d%e3%81%97%e3%81%a6%e3%81%8f/" title="mcrypt 拡張をロードできません。PHP の設定を確認してください。">mcrypt 拡張をロードできません。PHP の設定を確認してください。</a></li><li>2009 年 5 月 30 日 -- <a href="http://morinoyume.com/techs/mysql%e3%81%8c%e7%ab%8b%e3%81%a1%e4%b8%8a%e3%81%8c%e3%82%89%e3%81%aa%e3%81%84%ef%bc%81%ef%bc%88starting-mysqlmanager-of-pid-file-quit-without-updating-fi/" title="mysqlが立ち上がらない！（Starting MySQL.Manager of pid-file quit without updating file)">mysqlが立ち上がらない！（Starting MySQL.Manager of pid-file quit without updating file)</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://morinoyume.com/techs/%e3%83%ab%e3%83%bc%e3%82%bf%e3%83%bc%ef%bc%88buffalo-%ef%bc%89%e3%81%ae%e3%82%a2%e3%83%89%e3%83%ac%e3%82%b9%e5%a4%89%e6%8f%9b%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://morinoyume.com/techs/%e3%83%ab%e3%83%bc%e3%82%bf%e3%83%bc%ef%bc%88buffalo-%ef%bc%89%e3%81%ae%e3%82%a2%e3%83%89%e3%83%ac%e3%82%b9%e5%a4%89%e6%8f%9b%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6/" />
	</item>
	</channel>
</rss>
