<?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/"
	>

<channel>
	<title>MEMOBALL.info &#187; Networking</title>
	<atom:link href="http://www.memoball.info/category/networking/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.memoball.info</link>
	<description>All of my Memories</description>
	<lastBuildDate>Sun, 17 Jul 2011 10:31:01 +0000</lastBuildDate>
	<language>TH</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2</generator>
		<item>
		<title>http proxy สำหรับ apt-get</title>
		<link>http://www.memoball.info/2010/07/22/http-proxy-%e0%b8%aa%e0%b8%b3%e0%b8%ab%e0%b8%a3%e0%b8%b1%e0%b8%9a-apt-get/</link>
		<comments>http://www.memoball.info/2010/07/22/http-proxy-%e0%b8%aa%e0%b8%b3%e0%b8%ab%e0%b8%a3%e0%b8%b1%e0%b8%9a-apt-get/#comments</comments>
		<pubDate>Thu, 22 Jul 2010 03:27:20 +0000</pubDate>
		<dc:creator>memoball</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[proxy]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.memoball.info/?p=474</guid>
		<description><![CDATA[ในกรณีที่เครื่องของเราอยู่หลังเครื่อง proxy เช่น เครื่องใน office ทั่วไป จะไม่สามารถใช้งาน apt-get ได้เนื่องจาก apt-get ต้องไปดึง file ผ่าน http ซึ่งไม่สามารวิ่งทะลุผ่าน gateway ได้โดยตรง apt-get จึงต้องวิ่งผ่าน proxy โดยสามารถทำได้โดยเติม ใน file .bashrc ใน home directory # apt-get proxy export http_proxy=http://[proxy ID or domain]:[port]/ export ftp_proxy=ftp://[proxy ID or domain]:[port]/ อย่าลืม log in ใหม่ แต่ในกรณีจากการทดสอบ จะไม่สามารถใช้ sudo ได้ เพราะมันจะไม่โหลด environment ของ user ของเราไปด้วย ดังนั้นจึงต้องเข้าด้วย sudo [...]]]></description>
			<content:encoded><![CDATA[<p>ในกรณีที่เครื่องของเราอยู่หลังเครื่อง proxy เช่น เครื่องใน office ทั่วไป จะไม่สามารถใช้งาน apt-get ได้เนื่องจาก apt-get ต้องไปดึง file ผ่าน http ซึ่งไม่สามารวิ่งทะลุผ่าน gateway ได้โดยตรง<br />
apt-get จึงต้องวิ่งผ่าน proxy โดยสามารถทำได้โดยเติม ใน file <strong>.bashrc </strong>ใน home directory</p>
<pre>
# apt-get proxy
export http_proxy=http://[proxy ID or domain]:[port]/
export ftp_proxy=ftp://[proxy ID or domain]:[port]/
</pre>
<p>อย่าลืม log in ใหม่<br />
แต่ในกรณีจากการทดสอบ จะไม่สามารถใช้ sudo ได้ เพราะมันจะไม่โหลด environment ของ user ของเราไปด้วย ดังนั้นจึงต้องเข้าด้วย sudo -s เพื่อไปเป็น root ก่อน<br />
เมื่อเข้าไปแล้วลอง export environment ออกมาดู จะเป็น http_proxy เป็นค่าที่เราใส่เข้าไป</p>
<pre>
user# export
</pre>
<p>จะสังเกตว่าปลายทางที่เราไปดึงข้อมูลจะเป็น ip หรือ domain ของ proxy</p>
]]></content:encoded>
			<wfw:commentRss>http://www.memoball.info/2010/07/22/http-proxy-%e0%b8%aa%e0%b8%b3%e0%b8%ab%e0%b8%a3%e0%b8%b1%e0%b8%9a-apt-get/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ssh tunnels proxy ใน putty</title>
		<link>http://www.memoball.info/2009/08/16/ssh-tunnels-proxy-%e0%b9%83%e0%b8%99-putty/</link>
		<comments>http://www.memoball.info/2009/08/16/ssh-tunnels-proxy-%e0%b9%83%e0%b8%99-putty/#comments</comments>
		<pubDate>Sun, 16 Aug 2009 14:48:03 +0000</pubDate>
		<dc:creator>memoball</dc:creator>
				<category><![CDATA[Networking]]></category>

		<guid isPermaLink="false">http://www.memoball.info/?p=363</guid>
		<description><![CDATA[วันนี้จำเป็นต้องใช้ ssh tunneling ผ่าน server ของที่ทำงานโดยใช้เครื่อง desktop ซึ่งตามปกติแล้ว จะใช้เครือ่ง laptop เป็นตัวเปิดมากกว่า จึงได้หาวิธิทำ tunneling ผ่าน putty กับ FF ดังนี้]]></description>
			<content:encoded><![CDATA[<p>วันนี้จำเป็นต้องใช้ ssh tunneling ผ่าน server ของที่ทำงานโดยใช้เครื่อง desktop ซึ่งตามปกติแล้ว จะใช้เครือ่ง laptop เป็นตัวเปิดมากกว่า จึงได้หาวิธิทำ tunneling ผ่าน putty กับ FF ดังนี้</p>
<p><!--WIKI "#Ssh tunnel proxy ใน putty#"--></p>
]]></content:encoded>
			<wfw:commentRss>http://www.memoball.info/2009/08/16/ssh-tunnels-proxy-%e0%b9%83%e0%b8%99-putty/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>การทำ proxy tunnel โดยผ่าน ssh ใน ubuntu</title>
		<link>http://www.memoball.info/2009/08/16/%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b8%97%e0%b8%b3-proxy-tunnel-%e0%b9%82%e0%b8%94%e0%b8%a2%e0%b8%9c%e0%b9%88%e0%b8%b2%e0%b8%99-ssh-%e0%b9%83%e0%b8%99-ubuntu/</link>
		<comments>http://www.memoball.info/2009/08/16/%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b8%97%e0%b8%b3-proxy-tunnel-%e0%b9%82%e0%b8%94%e0%b8%a2%e0%b8%9c%e0%b9%88%e0%b8%b2%e0%b8%99-ssh-%e0%b9%83%e0%b8%99-ubuntu/#comments</comments>
		<pubDate>Sun, 16 Aug 2009 14:34:27 +0000</pubDate>
		<dc:creator>memoball</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[proxy]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.memoball.info/?p=360</guid>
		<description><![CDATA[อันนี้เขียนไว้ตั้งนานแล้ว แต่ยังไม่มีโอกาสให้เอาขึ้นมาบน memoball ซักที อยู่ใน wiki มานานมากแล้ว อันนี้เป็นของบน window โดยใช้ putty ครับ http://www.memoball.info/08/ssh-tunnels-proxy-ใน-puttyssh-tunnels-proxy-ใน-putty/]]></description>
			<content:encoded><![CDATA[<p>อันนี้เขียนไว้ตั้งนานแล้ว แต่ยังไม่มีโอกาสให้เอาขึ้นมาบน memoball ซักที อยู่ใน wiki มานานมากแล้ว</p>
<p><!--WIKI "#การทำ proxy โดยผ่าน ssh ใน ubuntu#" --><br />
อันนี้เป็นของบน window โดยใช้ putty ครับ<br />
<a href="http://www.memoball.info/08/ssh-tunnels-proxy-%e0%b9%83%e0%b8%99-putty/">http://www.memoball.info/08/ssh-tunnels-proxy-ใน-puttyssh-tunnels-proxy-ใน-putty/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.memoball.info/2009/08/16/%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b8%97%e0%b8%b3-proxy-tunnel-%e0%b9%82%e0%b8%94%e0%b8%a2%e0%b8%9c%e0%b9%88%e0%b8%b2%e0%b8%99-ssh-%e0%b9%83%e0%b8%99-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>การ block torrent อย่างง่าย</title>
		<link>http://www.memoball.info/2009/03/09/%e0%b8%81%e0%b8%b2%e0%b8%a3-block-torrent-%e0%b8%ad%e0%b8%a2%e0%b9%88%e0%b8%b2%e0%b8%87%e0%b8%87%e0%b9%88%e0%b8%b2%e0%b8%a2/</link>
		<comments>http://www.memoball.info/2009/03/09/%e0%b8%81%e0%b8%b2%e0%b8%a3-block-torrent-%e0%b8%ad%e0%b8%a2%e0%b9%88%e0%b8%b2%e0%b8%87%e0%b8%87%e0%b9%88%e0%b8%b2%e0%b8%a2/#comments</comments>
		<pubDate>Mon, 09 Mar 2009 14:53:31 +0000</pubDate>
		<dc:creator>memoball</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[block torrent]]></category>
		<category><![CDATA[network]]></category>

		<guid isPermaLink="false">http://memoball.memoball.com/?p=183</guid>
		<description><![CDATA[พอดีวันนี้ว่างๆ เลยเอาของที่มีอยู่แล้วมาใส่ไว้ใน wiki เพื่อจะได้เป็นความรู้ไว้ใช้ต่อไปในอนาคต วันนี้จึงมานำเสนอการ block torrent เพราะ มีอยู่ช่วงนึงที่บ้านแชร์ไฟล์กันกระจาย ไม่มีระเบียบ บางช่วงจึงทำงานไม่ได้เพราะเนตช้า ก็เลยหาทางวิธีทำการบล็อกโดยไม่ต้องลงทุนอะไร ถึงแม้จะมีช่องโหว่อยู่ก็ตาม แต่ก็ยังดีกว่าไม่ได้จัดการอะไรเลย ที่ว่าไม่ต้องลงทุนเพราะใช้ตัวจัดการเป็น computer PC ธรรมดา ที่ปกติก็เปิดไว้สำหรับ share file อยู่แล้วก็เลยเอามาทำเป็น routing server (ไม่รู้เรียกถูกหรือเปล่า) ซะเลย โดยทำตามลิงค์ข้างล่างนี้ครับ ส่วนใครจะตั้งเวลาปิดเปิด torrent ก็ใช้ crontab รัน script เอาครับ]]></description>
			<content:encoded><![CDATA[<p>พอดีวันนี้ว่างๆ เลยเอาของที่มีอยู่แล้วมาใส่ไว้ใน wiki เพื่อจะได้เป็นความรู้ไว้ใช้ต่อไปในอนาคต วันนี้จึงมานำเสนอการ block torrent เพราะ มีอยู่ช่วงนึงที่บ้านแชร์ไฟล์กันกระจาย ไม่มีระเบียบ บางช่วงจึงทำงานไม่ได้เพราะเนตช้า ก็เลยหาทางวิธีทำการบล็อกโดยไม่ต้องลงทุนอะไร ถึงแม้จะมีช่องโหว่อยู่ก็ตาม แต่ก็ยังดีกว่าไม่ได้จัดการอะไรเลย<br />
ที่ว่าไม่ต้องลงทุนเพราะใช้ตัวจัดการเป็น computer PC ธรรมดา ที่ปกติก็เปิดไว้สำหรับ share file อยู่แล้วก็เลยเอามาทำเป็น routing server (ไม่รู้เรียกถูกหรือเปล่า) ซะเลย โดยทำตามลิงค์ข้างล่างนี้ครับ<br />
<!--WIKI "#การบล็อค torrent อย่างง่าย#" --><br />
ส่วนใครจะตั้งเวลาปิดเปิด torrent ก็ใช้ crontab รัน script เอาครับ</p>
]]></content:encoded>
			<wfw:commentRss>http://www.memoball.info/2009/03/09/%e0%b8%81%e0%b8%b2%e0%b8%a3-block-torrent-%e0%b8%ad%e0%b8%a2%e0%b9%88%e0%b8%b2%e0%b8%87%e0%b8%87%e0%b9%88%e0%b8%b2%e0%b8%a2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>การติดตั้ง subversion เพื่อใช้กับ trac</title>
		<link>http://www.memoball.info/2009/01/21/%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b8%95%e0%b8%b4%e0%b8%94%e0%b8%95%e0%b8%b1%e0%b9%89%e0%b8%87-subversion-%e0%b9%80%e0%b8%9e%e0%b8%b7%e0%b9%88%e0%b8%ad%e0%b9%83%e0%b8%8a%e0%b9%89%e0%b8%81%e0%b8%b1/</link>
		<comments>http://www.memoball.info/2009/01/21/%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b8%95%e0%b8%b4%e0%b8%94%e0%b8%95%e0%b8%b1%e0%b9%89%e0%b8%87-subversion-%e0%b9%80%e0%b8%9e%e0%b8%b7%e0%b9%88%e0%b8%ad%e0%b9%83%e0%b8%8a%e0%b9%89%e0%b8%81%e0%b8%b1/#comments</comments>
		<pubDate>Wed, 21 Jan 2009 07:34:33 +0000</pubDate>
		<dc:creator>memoball</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[Trac & SVN]]></category>
		<category><![CDATA[svn]]></category>
		<category><![CDATA[trac]]></category>

		<guid isPermaLink="false">http://memoball.memoball.com/?p=165</guid>
		<description><![CDATA[เนื่องจากเมื่อลง trac แล้วกลับยังใช้ browse source ไม่ได้ จึงได้หาข้อมูลในส่วนนี้ จึงทำให้รู้ว่า trac นั้น จะ run ตรงส่วนของ browse source เป็นเพียงหน้ากากเท่านั้น แต่จะเพิ่มบางส่วนเท่านั้นคือ mileston และ ticket ซึ่งตัวที่รันจริงๆ จะเป็นตัวจัดการโค้ด Subversion (จะเป็นตัวอื่นก็ได้ ไม่จำกัด) ซึ่งการติดตั้ง Subversion จะอยู่ใน]]></description>
			<content:encoded><![CDATA[<p>เนื่องจากเมื่อลง trac แล้วกลับยังใช้ browse source ไม่ได้ จึงได้หาข้อมูลในส่วนนี้ จึงทำให้รู้ว่า trac นั้น จะ run ตรงส่วนของ browse source เป็นเพียงหน้ากากเท่านั้น แต่จะเพิ่มบางส่วนเท่านั้นคือ mileston และ ticket ซึ่งตัวที่รันจริงๆ จะเป็นตัวจัดการโค้ด Subversion (จะเป็นตัวอื่นก็ได้ ไม่จำกัด) ซึ่งการติดตั้ง Subversion จะอยู่ใน</p>
<p><!--WIKI "#Subversion#"--></p>
]]></content:encoded>
			<wfw:commentRss>http://www.memoball.info/2009/01/21/%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b8%95%e0%b8%b4%e0%b8%94%e0%b8%95%e0%b8%b1%e0%b9%89%e0%b8%87-subversion-%e0%b9%80%e0%b8%9e%e0%b8%b7%e0%b9%88%e0%b8%ad%e0%b9%83%e0%b8%8a%e0%b9%89%e0%b8%81%e0%b8%b1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>การ configure ให้ Forward packets</title>
		<link>http://www.memoball.info/2009/01/10/%e0%b8%81%e0%b8%b2%e0%b8%a3-configure-%e0%b9%83%e0%b8%ab%e0%b9%89-forward-packets/</link>
		<comments>http://www.memoball.info/2009/01/10/%e0%b8%81%e0%b8%b2%e0%b8%a3-configure-%e0%b9%83%e0%b8%ab%e0%b9%89-forward-packets/#comments</comments>
		<pubDate>Sat, 10 Jan 2009 10:17:41 +0000</pubDate>
		<dc:creator>memoball</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[iptables]]></category>

		<guid isPermaLink="false">http://memoball.memoball.com/?p=88</guid>
		<description><![CDATA[การ configure ให้ ubuntu ของเราสามารถ forwarding packet จากคอมพิวเตอร์เครื่องอื่นไปยัง ip ที่เราต้องการ Before: # Disables packet forwarding net.ipv4.ip_forward=0 After: # Enables packet forwarding net.ipv4.ip_forward=1 http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch03_:_Linux_Networking#Configuring_IP_Forwarding]]></description>
			<content:encoded><![CDATA[<p>การ configure ให้ ubuntu ของเราสามารถ forwarding packet จากคอมพิวเตอร์เครื่องอื่นไปยัง ip ที่เราต้องการ </p>
<pre>Before:
# Disables packet forwarding
net.ipv4.ip_forward=0

After:
# Enables packet forwarding
net.ipv4.ip_forward=1
</pre>
<p><a href="http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch03_:_Linux_Networking#Configuring_IP_Forwarding">http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch03_:_Linux_Networking#Configuring_IP_Forwarding</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.memoball.info/2009/01/10/%e0%b8%81%e0%b8%b2%e0%b8%a3-configure-%e0%b9%83%e0%b8%ab%e0%b9%89-forward-packets/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>การสร้าง iptable</title>
		<link>http://www.memoball.info/2009/01/10/%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b8%aa%e0%b8%a3%e0%b9%89%e0%b8%b2%e0%b8%87-iptable/</link>
		<comments>http://www.memoball.info/2009/01/10/%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b8%aa%e0%b8%a3%e0%b9%89%e0%b8%b2%e0%b8%87-iptable/#comments</comments>
		<pubDate>Sat, 10 Jan 2009 05:55:38 +0000</pubDate>
		<dc:creator>memoball</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[iptables]]></category>

		<guid isPermaLink="false">http://memoball.memoball.com/?p=83</guid>
		<description><![CDATA[Ubuntu help : https://help.ubuntu.com/community/IptablesHowTo การใช้คำสั่ง(ภาษาไทย) : http://thaicert.nectec.or.th/paper/firewall/iptables.php ตัวอย่างการเขียน iptable : http://www.itwizard.info/technology/linux/ubuntu/ubuntu_610_gateway.html]]></description>
			<content:encoded><![CDATA[<ul>
<li><strong>Ubuntu help : </strong><br />
	<a href="https://help.ubuntu.com/community/IptablesHowTo" target="_blank">https://help.ubuntu.com/community/IptablesHowTo</a></li>
<li><strong>การใช้คำสั่ง(ภาษาไทย) : </strong><br />
	<a href="http://thaicert.nectec.or.th/paper/firewall/iptables.php" target="_blank">http://thaicert.nectec.or.th/paper/firewall/iptables.php</a></li>
<li><strong>ตัวอย่างการเขียน iptable : </strong><br />
	<a href="http://www.itwizard.info/technology/linux/ubuntu/ubuntu_610_gateway.html" target="_blank">http://www.itwizard.info/technology/linux/ubuntu/ubuntu_610_gateway.html</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.memoball.info/2009/01/10/%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b8%aa%e0%b8%a3%e0%b9%89%e0%b8%b2%e0%b8%87-iptable/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

