<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
<rss version="2.0">
<channel>
<title>GeekISP FAQ - The five questions posted most recently:</title>
<description>GeekISP Faq System</description>
<link>http://geekisp.com/faq</link>	<item>
		<title><![CDATA[How do I allow Apache to act as a proxy?]]></title>
		<description><![CDATA[<p>
Apache has the ability to act as a proxy in several different forms - the most common is the reverse HTTP proxy, by which Apache receives a HTTP request and forwards it onto another server.  The other server is typically something like Tomcat or other local webserver.
</p>
<p>
All the details of configuring mod_proxy are outside the scope of this FAQ, so you should consult the authoritative docs at <a href="http://httpd.apache.org/docs/2.2/mod/mod_proxy.html">http://httpd.apache.org/docs/2.2/mod/mod_proxy.html</a>.
</p>
<p>
Your GeekISP VPS has SELinux enabled by default, and in order to setup Apache as a proxy, you&#39;ll need to allow it to execute the connect call via:
</p>
<pre>
 # /usr/sbin/setsebool -P httpd_can_network_connect 1
</pre>
<p>
 
</p>
]]></description>
		<link>http://geekisp.com/faq/content/8/84/en/how-do-i-allow-apache-to-act-as-a-proxy.html</link>
		<pubDate>Tue, 02 Mar 2010 16:56:00 GMT</pubDate>
	</item>
	<item>
		<title><![CDATA[How do I open a firewall port?]]></title>
		<description><![CDATA[<p>
Your GeekISP VPS comes with a firewall enabled by default.  For most users, you&#39;ll want to open up a port to allow traffic into your server, to serve whatever content you bought the VPS for!  In general we recommend leaving your firewall locked down as much as possible, but there are obvious situations where you need to open a port - such as when you want to run a webserver on your VPS.  We use the stock CentOS firewall, iptables.
</p>
<p>
To open the HTTP port, you should use the &#39;iptables&#39; commands.  You can look for examples in the /etc/sysconfig/iptables file.  You can even edit that file directly if you are comfortable with the format therein.
</p>
<p>
If not, you can use &#39;iptables --list&#39; to see the current policy.  To open the HTTP port (port 80), run the following commands:
</p>
<pre>
# iptables -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT
</pre>
<pre>
# service iptables save 
</pre>
<p>
Inbound connections will now be accepted on the HTTP port. 
</p>
<p>
For more information on iptables, refer to the HOWTO: <a href="http://wiki.centos.org/HowTos/Network/IPTables ">http://wiki.centos.org/HowTos/Network/IPTables 
</a> 
</p>
]]></description>
		<link>http://geekisp.com/faq/content/8/83/en/how-do-i-open-a-firewall-port.html</link>
		<pubDate>Mon, 01 Mar 2010 19:44:00 GMT</pubDate>
	</item>
	<item>
		<title><![CDATA[How do I enable FTP?]]></title>
		<description><![CDATA[<p>
There&#39;s many different FTP servers available for Linux.  The simplest method to enable FTP is via the default system daemon, controlled by xinetd.
</p>
<p>
 
</p>
<p>
# yum install -y xinetd
</p>
<p>
# vi /etc/xinetd.d/gssftp
</p>
<p>
Comment out the line that says &#39;disable = yes&#39;.
</p>
<p>
# service xinetd start
</p>
<p>
 
</p>
<p>
That&#39;s all that&#39;s required to enable a basic FTP server.  You can make accounts via &#39;adduser&#39; and &#39;passwd&#39;, and all of your regular Linux users can now use FTP. 
</p>
]]></description>
		<link>http://geekisp.com/faq/content/8/82/en/how-do-i-enable-ftp.html</link>
		<pubDate>Sun, 21 Feb 2010 20:19:00 GMT</pubDate>
	</item>
	<item>
		<title><![CDATA[What are some security best practices?]]></title>
		<description><![CDATA[<p>
With a VPS, you are the system administrator.  That means you need to pay attention to what&#39;s going on with your VPS, including on a security front.
</p>
<p>
There are many books, articles, and blogs about unix security.  We at GeekISP highly recommend that you make security a habit, by learning as much as you can - whether its from a book or a blog doesn&#39;t matter so long as you&#39;re regularly learning.
</p>
<p>
There are a few easy guidelines we can suggest:
</p>
<ul>
	<li>Choose good passwords.  Ideally they should be random, including mixed case letters, numbers, and extra characters (^/@#$, etc).  Your password should be 10 or more characters at minimum.  Alternatively, consider using SSH keys and disabling password authentication entirely.<br />
	</li>
	<li>Do not run programs as root, unless absolutely required.  Make yourself a regular user account as your first course of action, and use that for your day-to-day activities.  An action by &#39;root&#39; should be special.<br />
	</li>
	<li>Consider moving SSH off the default port.  Security through obscurity is not real security, but by sidestepping the many SSH scanning bots, you can avoid many dictionary attacks.</li>
	<li>Read the daily emails from your VPS.  These are as simple as doing: "echo me@example.com &gt; /root/.forward".</li>
	<li>Keep all your software up-to-date via &#39;yum&#39;.</li>
	<li>For any software you&#39;re installing manually, be sure to follow the community.  Join their mailing list (even if its just their &#39;announcement&#39; list) or read their RSS feed.  This is a good way to stay informed about security vulnerabilities in programs you&#39;re using.</li>
</ul>
That&#39;s just a start.  Security can be a challenge, but you can take simple steps that make a big difference in protecting your data.
]]></description>
		<link>http://geekisp.com/faq/content/8/81/en/what-are-some-security-best-practices.html</link>
		<pubDate>Sun, 17 Jan 2010 04:03:00 GMT</pubDate>
	</item>
	<item>
		<title><![CDATA[How do I access the console for my VPS?]]></title>
		<description><![CDATA[<p>
Console access to your GeekISP VPS is provided by the &#39;conserver&#39; package.  To use it, first log into GeekISP&#39;s shell server (login.geekisp.com) using your username and password.  Once logged in, you can connect to your console by typing:
</p>
<p>
$ console -U my_vps_name
</p>
<p>
You&#39;ll be asked for your console password - this is different from your shell password.  Once entered, conserver attaches your current terminal to the console of your VPS.  To end your session, you&#39;ll need to enter an &#39;escape sequence&#39; and then the disconnect command.  That&#39;s 3 keystroke:
</p>
<p>
ctrl+e
</p>
<p>
c
</p>
<p>
.
</p>
<p>
When the console connects, it&#39;ll remind you of the sequence with the following line:
</p>
<p>
[Enter `^Ec?&#39; for help]
</p>
<p>
That means you hit "ctrl+e", then "c", then "?" for help.  So to exit, its "ctrl+e", "c", "." to end the console session. 
</p>
]]></description>
		<link>http://geekisp.com/faq/content/8/80/en/how-do-i-access-the-console-for-my-vps.html</link>
		<pubDate>Sun, 17 Jan 2010 03:24:00 GMT</pubDate>
	</item>
</channel>
</rss>