<?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>Larmeir.com &#187; Linux</title> <atom:link href="http://www.larmeir.com/tag/linux/feed/" rel="self" type="application/rss+xml" /><link>http://www.larmeir.com</link> <description></description> <lastBuildDate>Sun, 22 Jan 2012 21:16:08 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>Setting up a pptp vpn server on Debian and Ubuntu</title><link>http://www.larmeir.com/2010/03/setting-up-a-pptp-vpn-server-on-debian-and-ubuntu/</link> <comments>http://www.larmeir.com/2010/03/setting-up-a-pptp-vpn-server-on-debian-and-ubuntu/#comments</comments> <pubDate>Sat, 20 Mar 2010 11:49:22 +0000</pubDate> <dc:creator>dlarmeir</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[chap]]></category> <category><![CDATA[debian]]></category> <category><![CDATA[encrypted]]></category> <category><![CDATA[pptp]]></category> <category><![CDATA[secure]]></category> <category><![CDATA[ubuntu]]></category> <category><![CDATA[vpn]]></category><guid
isPermaLink="false">http://larmeir.com/?p=1058</guid> <description><![CDATA[Yesterday I decided to setup a vpn server so a friend and I could play some coop mode on call of duty 5. This was so easy to setup I thought I would share it with the rest of the world: Step 1.  Installing pptpd &#8211; the pptpd is the daemon that runs the pptp [...]]]></description> <content:encoded><![CDATA[<p>Yesterday I decided to setup a vpn server so a friend and I could play some coop mode on call of duty 5. This was so easy to setup I thought I would share it with the rest of the world:</p><p><strong>Step 1</strong>.  Installing pptpd &#8211; the pptpd is the daemon that runs the pptp server. To install this just use apt-get:</p><pre>$ apt-get install ssh pptpd -y</pre><p><strong>Step2</strong>. Next you will need to modify the pptpd.conf</p><pre>$ vi /etc/pptpd.conf</pre><p>Then scroll down to the bottom and modify the following lines with the subnets you would like assigned:</p><pre># (Recommended)
#localip 192.168.0.1
#remoteip 192.168.0.234-238,192.168.0.245
# or
localip 192.168.2.0
remoteip 192.168.2.2-238,192.168.2.245</pre><p><strong>Step 3.</strong> The vpn server is now configured and now you must setup authenticated users:</p><pre>$ vi /etc/ppp/chap-secrets</pre><p>The config file is very straight forward and I have an example of a user included:</p><pre># Secrets for authentication using CHAP
# client        server  secret                  IP addresses
clown           pptpd  bigshoes               "*"</pre><p><strong>Step 4. </strong>When pptpd was installed it started automatically so we will need to restart it to apply the changes:</p><pre>$ /etc/init.d/pptpd restart</pre><p>Then just to make sure all is good lets check to make sure the service is listening:</p><pre> $ netstat -anp | grep pptpd
tcp        0      0 0.0.0.0:1723            0.0.0.0:*               LISTEN      7565/pptpd
unix  2      [ ]         DGRAM                    15781    7565/pptpd</pre><p>If you see a listen on port 1723 you are ready to connect.</p><p><strong>Optional:</strong> Now, if you would like to add internet access over this vpn, you can do this:</p><pre> $ vi /etc/sysctl.conf</pre><p>and find the line for ipv4 forwarding and make sure it = 1:</p><pre># Uncomment the next line to enable packet forwarding for IPv4
net.ipv4.ip_forward=1</pre><p>The use iptables to get the net forwarded:</p><pre>$ /sbin/iptables -P FORWARD ACCEPT
$ /sbin/iptables --table nat -A POSTROUTING -o eth0 -j MASQUERADE</pre><p>Optionally you can install bind9 and have a DNS resolver you can use for the vpn connection:</p><pre>$ apt-get install bind9 -y</pre><p>Then start it:</p><pre>$ /etc/init.d/bind9 start</pre><p>The configuration of the vpn client that is connecting can be modified to use this DNS resolver now to allow for more control.</p><p><strong>Connecting to the vpn from a Windows 7 client ( Click images to zoom in):</strong></p><p><strong>Step 1</strong>. Open the Network and Sharing center</p><p><a
href="http://larmeir.com/wp-content/uploads/2010/03/1.png" rel="lightbox[1058]"><img
class="alignnone size-medium wp-image-1060" title="1" src="http://larmeir.com/wp-content/uploads/2010/03/1-190x300.png" alt="" width="190" height="300" /></a></p><p><strong>Step 2.</strong> Set up a new connection or network</p><p><a
href="http://larmeir.com/wp-content/uploads/2010/03/2.png" rel="lightbox[1058]"><img
class="alignnone size-medium wp-image-1061" title="2" src="http://larmeir.com/wp-content/uploads/2010/03/2-300x179.png" alt="" width="300" height="179" /></a></p><p><strong>Step 3</strong>. Connect to a workplace</p><p><a
href="http://larmeir.com/wp-content/uploads/2010/03/3.png" rel="lightbox[1058]"><img
class="alignnone size-medium wp-image-1062" title="3" src="http://larmeir.com/wp-content/uploads/2010/03/3-300x157.png" alt="" width="300" height="157" /></a></p><p><strong>Step 4.</strong> No create a new connection if other connections exist</p><p><a
href="http://larmeir.com/wp-content/uploads/2010/03/4.png" rel="lightbox[1058]"><img
class="alignnone size-medium wp-image-1063" title="4" src="http://larmeir.com/wp-content/uploads/2010/03/4-300x157.png" alt="" width="300" height="157" /></a></p><p><strong>Step 5.</strong> Use my internet cconnection:</p><p><a
href="http://larmeir.com/wp-content/uploads/2010/03/5.png" rel="lightbox[1058]"><img
class="alignnone size-medium wp-image-1064" title="5" src="http://larmeir.com/wp-content/uploads/2010/03/5-300x158.png" alt="" width="300" height="158" /></a></p><p><strong>Step 6.</strong> Enter the internet address and name of the vpn connection</p><p><a
href="http://larmeir.com/wp-content/uploads/2010/03/6.png" rel="lightbox[1058]"><img
class="alignnone size-medium wp-image-1065" title="6" src="http://larmeir.com/wp-content/uploads/2010/03/6-300x157.png" alt="" width="300" height="157" /></a></p><p><strong>Step 7.</strong> Enter the username and password:</p><p><a
href="http://larmeir.com/wp-content/uploads/2010/03/7.png" rel="lightbox[1058]"><img
class="alignnone size-medium wp-image-1066" title="7" src="http://larmeir.com/wp-content/uploads/2010/03/7-300x158.png" alt="" width="300" height="158" /></a></p><p><strong>Step 8.</strong> Connect!!</p><p><a
href="http://larmeir.com/wp-content/uploads/2010/03/8.png" rel="lightbox[1058]"><img
class="alignnone size-medium wp-image-1067" title="8" src="http://larmeir.com/wp-content/uploads/2010/03/8-189x300.png" alt="" width="189" height="300" /></a></p><p>This should pretty much cover all you need for the installation of a basic Debian or Ubuntu PPTP vpn server. Enjoy!</p> ]]></content:encoded> <wfw:commentRss>http://www.larmeir.com/2010/03/setting-up-a-pptp-vpn-server-on-debian-and-ubuntu/feed/</wfw:commentRss> <slash:comments>17</slash:comments> </item> <item><title>Bittorrent for RedHat Enterprise 5 &#8211; Packaged with installer</title><link>http://www.larmeir.com/2008/11/bittorrent-for-redhat-enterprise-5-packaged-with-installer/</link> <comments>http://www.larmeir.com/2008/11/bittorrent-for-redhat-enterprise-5-packaged-with-installer/#comments</comments> <pubDate>Fri, 07 Nov 2008 22:08:07 +0000</pubDate> <dc:creator>dlarmeir</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[bitttorrent]]></category> <category><![CDATA[dentos]]></category> <category><![CDATA[gz]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[peer2peer]]></category> <category><![CDATA[pirate]]></category> <category><![CDATA[redhat]]></category> <category><![CDATA[redhat enterprise]]></category> <category><![CDATA[software pirate]]></category> <category><![CDATA[tar]]></category> <category><![CDATA[torrent]]></category> <category><![CDATA[torrents]]></category> <category><![CDATA[udp]]></category><guid
isPermaLink="false">http://larmeir.com/?p=243</guid> <description><![CDATA[Anyone who uses RedHat enterprise will find that plugging into third party repositories to get non standard software is risky. Today I needed to install bittorrent and noticed that the redhat enterprise 5 repository does not have what I need. Well, I got the packages needed and built a installer so that anyone using RedHat [...]]]></description> <content:encoded><![CDATA[<p><a
href="http://larmeir.com/images/redhat.gif" rel="lightbox[243]"><img
class="alignnone" title="redhat" src="http://larmeir.com/images/redhat.gif" alt="" width="96" height="40" /></a></p><p>Anyone who uses RedHat enterprise will find that plugging into third party repositories to get non standard software is risky. Today I needed to install bittorrent and noticed that the redhat enterprise 5 repository does not have what I need. Well, I got the packages needed and built a installer so that anyone using RedHat Enterprise 5 can install bittorrent easily.</p><p>&#8212;&#8212;&#8212;&#8212;-</p><p>Instructions:</p><p>login as root or su</p><p>wget <a
title="http://larmeir.com/downloads/rhel5-bitorrent.tar.gz" href="http://larmeir.com/downloads/rhel5-bitorrent.tar.gz">http://larmeir.com/downloads/rhel5-bitorrent.tar.gz</a></p><p>tar xvzf rhel5-bitorrent.tar.gz</p><p>cd bittorrent-rhel5</p><p>sh bt-install.sh</p><p>&#8212;&#8212;&#8212;&#8212;</p><p>And that is it! You will have a fully working bittorrent installation. You can find the commands in /usr/bin</p><p># ls /usr/bin/ | grep bit<br
/> bittorrent-console*<br
/> bittorrent-curses*<br
/> bittorrent-tracker*</p><p>To start downloading a torrent us bittorrent-curses</p><p>/usr/bin/bittorrent-curses (url or path to torrent with no brackets)</p><p>Enjoy! &#8211; Dustin</p> ]]></content:encoded> <wfw:commentRss>http://www.larmeir.com/2008/11/bittorrent-for-redhat-enterprise-5-packaged-with-installer/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>Server was down for a few hours. Did some security hardening procedures.</title><link>http://www.larmeir.com/2008/06/server-was-down-for-a-few-hours-did-some-security-hardening-procedures/</link> <comments>http://www.larmeir.com/2008/06/server-was-down-for-a-few-hours-did-some-security-hardening-procedures/#comments</comments> <pubDate>Mon, 02 Jun 2008 05:18:15 +0000</pubDate> <dc:creator>dlarmeir</dc:creator> <category><![CDATA[Misc.]]></category> <category><![CDATA[exploits]]></category> <category><![CDATA[firewall]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Security]]></category><guid
isPermaLink="false">http://larmeir.com/?p=112</guid> <description><![CDATA[I took the server offline for a few hours today to make some improvements on security. My server has been bombarded by  ssh &#38; ftp bruteforce attacks, http based exploit attempts, and general exploits. I work hard to keep my server patched and locked down but you can never be too careful. I am also [...]]]></description> <content:encoded><![CDATA[<p>I took the server offline for a few hours today to make some improvements on security. My server has been bombarded by  ssh &amp; ftp bruteforce attacks, http based exploit attempts, and general exploits. I work hard to keep my server patched and locked down but you can never be too careful. I am also in the process of writing some shell scripts that will let me know when people are being bad and notify me <img
src='http://www.larmeir.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p> ]]></content:encoded> <wfw:commentRss>http://www.larmeir.com/2008/06/server-was-down-for-a-few-hours-did-some-security-hardening-procedures/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Served from: www.larmeir.com @ 2012-02-04 05:24:22 by W3 Total Cache -->
