<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/css" href="http://andlinux.org/wiki/skins/common/feed.css?116"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>Howto: open externally accessible ports for SSH server, webserver, etc. - Revision history</title>
		<link>http://andlinux.org/wiki/index.php5?title=Howto:_open_externally_accessible_ports_for_SSH_server%2C_webserver%2C_etc.&amp;action=history</link>
		<description>Revision history for this page on the wiki</description>
		<language>en</language>
		<generator>MediaWiki 1.12.0</generator>
		<lastBuildDate>Mon, 20 May 2013 16:55:54 GMT</lastBuildDate>
		<item>
			<title>Joachim at 19:43, 7 May 2009</title>
			<link>http://andlinux.org/wiki/index.php5?title=Howto:_open_externally_accessible_ports_for_SSH_server%2C_webserver%2C_etc.&amp;diff=268&amp;oldid=prev</link>
			<description>&lt;p&gt;&lt;/p&gt;

			&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;tr&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;←Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 19:43, 7 May 2009&lt;/td&gt;
			&lt;/tr&gt;
		&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 7:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 7:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt; &amp;lt;tt&amp;gt;eth0=slirp,,tcp:22:22&amp;lt;/tt&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt; &amp;lt;tt&amp;gt;eth0=slirp,,tcp:22:22&amp;lt;/tt&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;and ensure that your Windows firewall settings allow colinux-slirp-net-daemon.exe to open port 22. Then you are able to ssh into your andLinux installation using your '''andLinux''' and your '''Windows''' IP address. In case your Windows computer is located in a private subnet behind a router, you additionally need to forward TCP port 22 in your router and then use the router's public IP address to access your andLinux installation from the internet. Of course, you should pay attention to the usual security precautions like setting strong passwords etc.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;and ensure that your Windows firewall settings allow &lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;''&lt;/ins&gt;colinux-slirp-net-daemon.exe&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;'' &lt;/ins&gt;to open port 22. Then you are able to ssh into your andLinux installation using your '''andLinux''' &lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;login &lt;/ins&gt;and your '''Windows''' IP address. In case your Windows computer is located in a private subnet behind a router, you additionally need to forward TCP port 22 in your router and then use the router's public IP address to access your andLinux installation from the internet. Of course, you should pay attention to the usual security precautions like setting strong passwords etc.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;To configure a webserver, the things to do are more or less identical, except that you'll have to use TCP port 80 instead of 22. In case you wish to open multiple ports, they have to be separated by slashes in the configuration file, e.g. like this:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;To configure a webserver, the things to do are more or less identical, except that you'll have to use TCP port 80 instead of 22. In case you wish to open multiple ports, they have to be separated by slashes in the configuration file, e.g. like this:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</description>
			<pubDate>Thu, 07 May 2009 19:43:03 GMT</pubDate>			<dc:creator>Joachim</dc:creator>			<comments>http://andlinux.org/wiki/index.php5?title=Talk:Howto:_open_externally_accessible_ports_for_SSH_server%2C_webserver%2C_etc.</comments>		</item>
		<item>
			<title>Joachim: coLinux link</title>
			<link>http://andlinux.org/wiki/index.php5?title=Howto:_open_externally_accessible_ports_for_SSH_server%2C_webserver%2C_etc.&amp;diff=267&amp;oldid=prev</link>
			<description>&lt;p&gt;coLinux link&lt;/p&gt;

			&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;tr&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;←Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 19:41, 7 May 2009&lt;/td&gt;
			&lt;/tr&gt;
		&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 12:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 12:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt; &amp;lt;tt&amp;gt;eth0=slirp,,tcp:22:22/tcp:80:80&amp;lt;/tt&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt; &amp;lt;tt&amp;gt;eth0=slirp,,tcp:22:22/tcp:80:80&amp;lt;/tt&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;== See also ==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;* [http://colinux.wikia.com/wiki/Network#Forwarding_Ports_over_Slirp coLinux documentation on port forwarding]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</description>
			<pubDate>Thu, 07 May 2009 19:41:01 GMT</pubDate>			<dc:creator>Joachim</dc:creator>			<comments>http://andlinux.org/wiki/index.php5?title=Talk:Howto:_open_externally_accessible_ports_for_SSH_server%2C_webserver%2C_etc.</comments>		</item>
		<item>
			<title>Joachim: initial version</title>
			<link>http://andlinux.org/wiki/index.php5?title=Howto:_open_externally_accessible_ports_for_SSH_server%2C_webserver%2C_etc.&amp;diff=266&amp;oldid=prev</link>
			<description>&lt;p&gt;initial version&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;In order to make any servers running on andLinux (e.g. sshd, apache2, etc.) accessible from the Internet, you can activate port forwarding on the coLinux slirp network interface (eth0). For example, to open TCP port 22 (ssh), edit the andLinux configuration file ''C:\Program Files\andLinux\settings.txt'' as follows: change the line with&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;eth0=slirp&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;eth0=slirp,,tcp:22:22&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and ensure that your Windows firewall settings allow colinux-slirp-net-daemon.exe to open port 22. Then you are able to ssh into your andLinux installation using your '''andLinux''' and your '''Windows''' IP address. In case your Windows computer is located in a private subnet behind a router, you additionally need to forward TCP port 22 in your router and then use the router's public IP address to access your andLinux installation from the internet. Of course, you should pay attention to the usual security precautions like setting strong passwords etc.&lt;br /&gt;
&lt;br /&gt;
To configure a webserver, the things to do are more or less identical, except that you'll have to use TCP port 80 instead of 22. In case you wish to open multiple ports, they have to be separated by slashes in the configuration file, e.g. like this:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;eth0=slirp,,tcp:22:22/tcp:80:80&amp;lt;/tt&amp;gt;&lt;/div&gt;</description>
			<pubDate>Thu, 07 May 2009 19:38:47 GMT</pubDate>			<dc:creator>Joachim</dc:creator>			<comments>http://andlinux.org/wiki/index.php5?title=Talk:Howto:_open_externally_accessible_ports_for_SSH_server%2C_webserver%2C_etc.</comments>		</item>
	</channel>
</rss>