<?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:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Lana4408's Weblog</title>
	<atom:link href="http://lana4408.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://lana4408.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Wed, 08 Apr 2009 21:23:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='lana4408.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Lana4408's Weblog</title>
		<link>http://lana4408.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://lana4408.wordpress.com/osd.xml" title="Lana4408&#039;s Weblog" />
	<atom:link rel='hub' href='http://lana4408.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Virus Conficker April 1st? is this new or what ?</title>
		<link>http://lana4408.wordpress.com/2009/04/08/virus-conficker-april-1st-is-this-new-or-what/</link>
		<comments>http://lana4408.wordpress.com/2009/04/08/virus-conficker-april-1st-is-this-new-or-what/#comments</comments>
		<pubDate>Wed, 08 Apr 2009 16:40:03 +0000</pubDate>
		<dc:creator>lana4408</dc:creator>
				<category><![CDATA[Virus]]></category>
		<category><![CDATA[conficker]]></category>
		<category><![CDATA[removal]]></category>

		<guid isPermaLink="false">http://lana4408.wordpress.com/?p=31</guid>
		<description><![CDATA[I have NOD32 on my Windows XP, in this day i have three times that conficker running his schedule task and my AV running his popup window that tell me this virus has deleted from his task. Very disgusting don&#8217;t you ? so i have try to find how to remove it forever. Try to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lana4408.wordpress.com&amp;blog=3837639&amp;post=31&amp;subd=lana4408&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">I have NOD32 on my Windows XP, in this day i have three times that conficker running his schedule task and my AV running his popup window that tell me this virus has deleted from his task.<br />
Very disgusting don&#8217;t you ? so i have try to find how to remove it forever.<br />
<span id="more-31"></span><br />
Try to search with <a href="http://www.google.co.id/search?hl=id&amp;client=firefox-a&amp;rls=org.mozilla%3Aen-US%3Aofficial&amp;hs=rVv&amp;q=remove+new+conficker+April+2009&amp;btnG=Telusuri&amp;meta=">google web searcher</a> and i found this link <a href="http://www.symantec.com/norton/theme.jsp?themeid=conficker_worm">Worried about the Conficker worm threat from April 1st? A few simple steps can protect you.</a><br />
If you’re still worried about the Conficker threat from April 1st, here is some additional information. On April 1st the Conficker worm was potentially going to take steps to protect itself. Beginning on April 1st, the worm would have used a communications system that would have been more difficult for security researchers to interrupt.<br />
The Conficker worm, sometimes called Downadup or Kido has managed to infect a large number of computers. Specifics are hard to come by, but some researchers estimate that millions of computers have been infected with this threat since January.  In that case you will need to get to a computer that is not infected, download a specialized Conficker removal tool and run it on the infected machine before installing new antivirus software. Symantec has a detailed technical analysis of the threat <a href="http://www.symantec.com/content/en/us/enterprise/media/security_response/whitepapers/the_downadup_codex_ed1.pdf">here</a>.</p>
<p><strong>What does the Conficker worm do?</strong><br />
The Conficker worm has created secure infrastructure for cybercrime. The worm allows its creators to remotely install software on infected machines. What will that software do? We don’t know. Most likely the worm will be used to create a botnet that will be rented out to criminals who want to send SPAM, steal IDs and direct users to online scams and phishing sites.</p>
<p>The Conficker worm mostly spreads across networks. If it finds a vulnerable computer, it turns off the automatic backup service, deletes previous restore points, disables many security services, blocks access to a number of security web sites and opens infected machines to receive additional programs from the malware’s creator. The worm then tries to spread itself to other computers on the same network.</p>
<p><strong>How does the worm infect a computer?</strong><br />
The Downadup worm tries to take advantage of a problem with Windows (a vulnerability) called MS08-067 to quietly install itself. Users who automatically receive updates from Microsoft are already protected from this. The worm also tries to spread by copying itself into shared folders on networks and by infecting USB devices such as memory sticks.</p>
<p><strong>Who is at risk?</strong><br />
Users whose computers are not configured to receive patches and updates from Microsoft and who are not running an up to date antivirus product are most at risk. Users who do not have a genuine version of Windows from Microsoft are most at risk since pirated system usually cannot get Microsoft updates and patches.</p>
<p><strong>What to do if you are infected</strong><br />
If you are reading this page, your computer is probably not infected with Conficker as the worm blocks access to most security web sites.</p>
<p>If you have a computer that is infected, you will need to use an uninfected computer to <a href="http://www.symantec.com/content/en/us/global/removal_tool/threat_writeups/FixDwndp.exe">download a specialized Conficker removal tool</a>.</p>
<p>Advice to Stay Safe from the Downadup Worm:</p>
<p>1. Run a good security suite.<br />
2. Keep your computer updated with the latest patches. If you don’t know how to do this, have someone help you set your system to update itself.<br />
3. Don’t use “free” security scans that pop up on many web sites. All too often these are fake, using scare tactics to try to get you to purchase their “full” service. In many cases these are actually infecting you while they run. There is reason to believe that the creators of the Conficker worm are associated with some of these fake security products.<br />
4. Turn off the “autorun” feature that will automatically run programs found on memory sticks and other USB devices.<br />
5. Be smart with your passwords. This includes</p>
<p>1. Change your passwords periodically<br />
2. Use complex passwords – no simple names or words, use special characters and numbers<br />
3. Using a separate, longer password for each site that has sensitive personal information or access to your bank accounts or credit cards.</p>
<p>6. Use a passwords management system</p>
<p><!--more--></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lana4408.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lana4408.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lana4408.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lana4408.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/lana4408.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/lana4408.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/lana4408.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/lana4408.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lana4408.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lana4408.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lana4408.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lana4408.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lana4408.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lana4408.wordpress.com/31/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lana4408.wordpress.com&amp;blog=3837639&amp;post=31&amp;subd=lana4408&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://lana4408.wordpress.com/2009/04/08/virus-conficker-april-1st-is-this-new-or-what/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/11db893ef01a409feca66220bc6a42be?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">lana4408</media:title>
		</media:content>
	</item>
		<item>
		<title>Setup Transparent Squid Proxy Server in Ubuntu</title>
		<link>http://lana4408.wordpress.com/2009/03/02/setup-transparent-squid-proxy-server-in-ubuntu/</link>
		<comments>http://lana4408.wordpress.com/2009/03/02/setup-transparent-squid-proxy-server-in-ubuntu/#comments</comments>
		<pubDate>Mon, 02 Mar 2009 18:10:44 +0000</pubDate>
		<dc:creator>lana4408</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://lana4408.wordpress.com/?p=9</guid>
		<description><![CDATA[Squid is a fully-featured HTTP/1.0 proxy which is almost (but not quite &#8211; we’re getting there!) HTTP/1.1 compliant. Squid offers a rich access control, authorization and logging environment to develop web proxy and content serving applications. This is a short guide on how to set up a transparent squid proxy server. Squid is a caching [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lana4408.wordpress.com&amp;blog=3837639&amp;post=9&amp;subd=lana4408&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Squid is a fully-featured HTTP/1.0 proxy which is almost (but not quite &#8211; we’re getting there!) HTTP/1.1 compliant. Squid offers a rich access control, authorization and logging environment to develop web proxy and content serving applications.</p>
<p style="text-align:justify;">This is a short guide on how to set up a transparent squid proxy server. Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-requested web pages. Squid has extensive access controls and makes a great server accelerator.</p>
<p><span id="more-9"></span></p>
<p style="text-align:justify;">
<p style="text-align:justify;"><strong>Install Squid</strong></p>
<p style="text-align:justify;">Install squid and squid-common<br />
<code><br />
sudo aptitude install squid squid-common<br />
</code><br />
Edit the squid config file.<br />
<code><br />
sudo vi /etc/squid/squid.conf<br />
</code><br />
Set the allowed hosts.<br />
<code><br />
acl internal_network src 192.168.0.0/24 (</code>Where <code>192.168.0.0/24</code> is your IP range.)<code><br />
http_access allow internal_network</code>
</p>
<p style="text-align:justify;">Set the correct permissions.</p>
<p style="text-align:justify;"><code>sudo chown -R proxy:proxy /var/log/squid/<br />
sudo chown proxy:proxy /etc/squid/squid.conf<br />
</code></p>
<p style="text-align:justify;">You will need to restart squid for the changes to take affect.<br />
<code><br />
sudo /etc/init.d/squid restart</code>
</p>
<p style="text-align:justify;">Now open up your browser and set your proxy to point to your new squid server on port 3128</p>
<p style="text-align:justify;"><strong>Authentication</strong></p>
<p style="text-align:justify;">If you wish to use authentication with your proxy you will need to install apache2 utilities</p>
<p style="text-align:justify;"><code>sudo aptitude install squid squid-common apache2-utils</code></p>
<p style="text-align:justify;">To add your first user you will need to specify -c<br />
<code><br />
sudo htpasswd -c /etc/squid.passwd first_user</code>
</p>
<p style="text-align:justify;">Thereafter you add new users with</p>
<p style="text-align:justify;"><code>sudo htpasswd /etc/squid.passwd another_user</code></p>
<p style="text-align:justify;">Edit the squid config file<br />
<code><br />
sudo vi /etc/squid/squid.conf<br />
</code><br />
Set the the authentication parameters and the acl</p>
<p style="text-align:justify;"><code>auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid.passwd<br />
auth_param basic children 5<br />
auth_param basic realm NFYE Squid proxy-caching web server<br />
auth_param basic credentialsttl 3 hours<br />
auth_param basic casesensitive off<br />
</code>
</p>
<p style="text-align:justify;"><code>acl users proxy_auth REQUIRED</code></p>
<p style="text-align:justify;"><code>acl sectionx proxy_auth REQUIRED</code></p>
<p style="text-align:justify;"><code>http_access allow users</code></p>
<p style="text-align:justify;">So this is what your squid.conf should look like.<br />
<code><br />
acl all src 0.0.0.0/0.0.0.0<br />
acl </code><code>internal_network</code><code> src 192.168.0.0/24<br />
acl users proxy_auth REQUIRED<br />
acl manager proto cache_object<br />
acl localhost src 127.0.0.1/255.255.255.255<br />
acl to_localhost dst 127.0.0.0/8<br />
acl SSL_ports port 443 563 # https, snews<br />
acl SSL_ports port 873 # rsync<br />
acl Safe_ports port 80 # http<br />
acl Safe_ports port 21 # ftp<br />
acl Safe_ports port 443 563 # https, snews<br />
acl Safe_ports port 70 # gopher<br />
acl Safe_ports port 210 # wais<br />
acl Safe_ports port 1025-65535 # unregistered ports<br />
acl Safe_ports port 280 # http-mgmt<br />
acl Safe_ports port 488 # gss-http<br />
acl Safe_ports port 591 # filemaker<br />
acl Safe_ports port 777 # multiling http<br />
acl Safe_ports port 631 # cups<br />
acl Safe_ports port 873 # rsync<br />
acl Safe_ports port 901 # SWAT<br />
acl sectionx proxy_auth REQUIRED<br />
acl purge method PURGE<br />
acl CONNECT method CONNECT</code></p>
<p style="text-align:justify;">http_access allow manager localhost<br />
http_access allow users<br />
http_access allow <code>internal_network</code><code><br />
http_access deny manager<br />
http_access allow purge localhost<br />
http_access deny purge<br />
http_access deny !Safe_ports<br />
http_access deny CONNECT !SSL_ports<br />
http_access allow localhost<br />
http_access deny all<br />
http_reply_access allow all<br />
icp_access allow all</code>
</p>
<p style="text-align:justify;"><strong>Redirect the all HTTP traffic.</strong></p>
<p style="text-align:justify;">If you would like to redirect the all HTTP traffic through the proxy without needing to set up a proxy manually in all your applications you will need to add some rules<br />
<code><br />
iptables -t nat -A PREROUTING -i eth1 -p tcp -m tcp </code><code>--dport</code> 80 -j DNAT <code>--to-destination</code> 192.168.0.1:3128<br />
iptables -t nat -A PREROUTING -i eth0 -p tcp -m tcp –dport 80 -j REDIRECT <code>--to-ports</code> 3128</p>
<p>Where eth1,eth0 are the LAN, WAN devices and 192.168.0.1 is the IP address of your LAN device.
</p>
<p style="text-align:justify;">If you wish to monitor the performance of your proxy you can look as some log parser’s (sarg, calamaris, ect.)</p>
<p style="text-align:justify;">Source from <a href="http://kuscsik.blogspot.com/2008/01/transparent-proxy-with-squid-3-on.html" target="_blank">here</a></p>
<p>	<!--more--></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lana4408.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lana4408.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lana4408.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lana4408.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/lana4408.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/lana4408.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/lana4408.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/lana4408.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lana4408.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lana4408.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lana4408.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lana4408.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lana4408.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lana4408.wordpress.com/9/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lana4408.wordpress.com&amp;blog=3837639&amp;post=9&amp;subd=lana4408&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://lana4408.wordpress.com/2009/03/02/setup-transparent-squid-proxy-server-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/11db893ef01a409feca66220bc6a42be?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">lana4408</media:title>
		</media:content>
	</item>
		<item>
		<title>Shorewall Configuration in Debian</title>
		<link>http://lana4408.wordpress.com/2009/03/02/shorewall-configuration-in-debian/</link>
		<comments>http://lana4408.wordpress.com/2009/03/02/shorewall-configuration-in-debian/#comments</comments>
		<pubDate>Mon, 02 Mar 2009 11:09:12 +0000</pubDate>
		<dc:creator>lana4408</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://lana4408.wordpress.com/?p=7</guid>
		<description><![CDATA[What is Shorewall? The Shoreline Firewall, more commonly known as &#8220;Shorewall&#8221;, is a high-level tool for configuring Netfilter. You describe your firewall/gateway requirements using entries in a set of configuration files. Shorewall reads those configuration files and with the help of the iptables utility, Shorewall configures Netfilter to match your requirements. Shorewall can be used [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lana4408.wordpress.com&amp;blog=3837639&amp;post=7&amp;subd=lana4408&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="font-size:85%;"><span style="color:#cc0066;"><strong>What is Shorewall?</strong></span></span></p>
<div style="text-align:justify;">
<span style="font-size:85%;">The Shoreline Firewall, more commonly known as &#8220;Shorewall&#8221;, is a high-level tool for configuring Netfilter. You describe your firewall/gateway requirements using entries in a set of configuration files. Shorewall reads those configuration files and with the help of the iptables utility, Shorewall configures Netfilter to match your requirements. Shorewall can be used on a dedicated firewall system, a multi-function gateway/router/server or on a standalone GNU/Linux system. Shorewall does not use Netfilter&#8217;s ipchains compatibility mode and can thus take advantage of Netfilter&#8217;s connection state tracking capabilities.</span><br />
<span id="more-7"></span><br />
<span style="font-size:85%;"><span style="color:#cc0066;"><strong>Download, Features and Documentation Shorewall</strong></span></span><br />
<span style="font-size:85%;"><span style="color:#cc0066;"><strong></strong></span></span><br />
<span style="font-size:85%;"><a href="http://www.shorewall.net/">http://www.shorewall.net/</a></span></div>
<p style="text-align:justify;"><span style="font-size:85%;"><strong><span style="color:#cc0066;">Note:-</span></strong> Before installing shorewall we need to uninstall &#8220;ipchains&#8221; if you installed in your machine by running this command</p>
<p># apt-get remove ipchains</p>
<p><span style="color:#cc0066;"><strong>Install shorewall in Debian</strong></span></p>
<p>#apt-get install shorewall</p>
<p>At this point apt may tell you it has to install a couple extra supporting package along with shorewall. This is normal and you should accept the prompt to allow it to install everything.</p>
<p>You probably noticed a warning message at the end of the Shorewall installation telling you the program will not start unless you change the /etc/default/shorewall file.You can do this in following way</p>
<p># vi /etc/default/shorewall</p>
<p>Now simply change</p>
<p>startup = 0</p>
<p>to</p>
<p>startup = 1</p>
<p>save, and exit.</p>
<p>Shorewall configuration files are stored in two separate places</p>
<p>/etc/shorewall stores all the program configuration files.</p>
<p>/usr/share/shorewall stores supporting files and action files.</p>
<p><span style="color:#cc0066;"><strong>Configuring Shorewall in Debian<br />
</strong></span><br />
If you want to configure shorewall you need to copy the sample configuration file from<br />
/usr/share/doc/shorewall/default-config.You can do this by the following command</p>
<p>#cp /usr/share/doc/shorewall/default-config/* /etc/shorewall/</p>
<p>Now you have configuration files located at /etc/shorewall</p>
<p><span style="color:#cc0066;"><strong>Zones Configuration</strong></span></p>
<p>First edit the zones file to specify the different network zones, these are just labels that you will use in the other files. Consider the Internet as one zone, and a private network as another zone. If you have this then the zones file would look like this:</p>
<p>#ZONE DISPLAY COMMENTS<br />
net Net Internet<br />
loc Local Private net</p>
<p>There is another zone that is not put in this zones file, called the &#8220;firewall zone&#8221; or &#8220;fw&#8221;. This is already defined in /etc/shorewall.conf</p>
<p>If you want more information about Zones check <a href="http://www.shorewall.net/Documentation.htm#Zones">here</a></p>
<p><span style="color:#cc0066;"><strong>Interfaces Configuration</strong></span></p>
<p>The next file to edit is the interfaces file to specify the interfaces on your machine. Here you will connect the zones that you defined in the previous step with an actual interface. The third field is the broadcast address for the network attached to the interface (&#8220;detect&#8221; will figure this out for you). Finally the last fields are options for the interface. The options listed below are a good starting point,</p>
<p>net eth0 detect routefilter,norfc1918,logmartians,nosmurfs,tcpflags,blacklist<br />
loc eth1 detect tcpflags</p>
<p>If you want more information about interfaces check <a href="http://www.shorewall.net/Documentation.htm#Interfaces">here</a> </span></p>
<p style="text-align:justify;"><span style="font-size:85%;"><span style="color:#cc0066;"><strong>Policy Configuration</strong></span></p>
<p>The next file defines your firewall default policy. The default policy is used if no other rules apply. Often you will set the default policy to REJECT or DROP as the default, and then configure specifically what ports/services are allowed in the next step, and any that you do not configure are by default rejected or dropped according to this policy. An example policy (based on the zones and interfaces we used above) would be:</p>
<p>fw net ACCEPT<br />
fw loc ACCEPT<br />
net all DROP info<br />
# The FOLLOWING POLICY MUST BE LAST<br />
all all REJECT info</p>
<p>This policy says: by default accept any traffic originating from the machine (fw) to the internet and to the local network. Anything that comes in from the internet destined to either the machine or the local network should be dropped and logged to the syslog level &#8220;info&#8221;. The last line closes everything else off, and probably wont ever be touched. Note: DROP rules are dropped quietly, and REJECTs send something back letting the originator know they&#8217;ve been rejected.</p>
<p>If you want more information about policy check <a href="http://www.shorewall.net/Documentation.htm#Policy">here</a></p>
<p><span style="color:#cc0066;"><strong>Rules Configuration</strong></span></p>
<p>The most important file is the rules. This is where you set what is allowed or not. Any new connection that comes into your firewall passes over these rules, if none of these apply, then the default policy will apply. Note: This is only for new connections, existing connections are automatically accepted. The comments in the file give you a good idea of how things work, but the following will provided an example that can give you a head-start:</p>
<p>#ACTION SOURCE DEST PROTO DEST SOURCE ORIGINAL RATE USER/<br />
# PORT PORT(S) DEST LIMIT GROUP<br />
ACCEPT net fw icmp 8<br />
ACCEPT fw net icmp<br />
ACCEPT net fw tcp ssh,www,https,smtp,pop3,pop3s,imap2,imaps,submission<br />
ACCEPT net fw udp https<br />
ACCEPT net:216.162.217.194 fw tcp munin</p>
<p>This example can be written in long-hand as, &#8220;Accept any pings (icmp) from the internet to the machine, accept any tcp connections from the internet that are on any of the ports referenced in /etc/services for the services<br />
ssh(22),www(80),https(443), etc. Also accept from the internet the udp connections to https(443). While you are at it, accept only tcp connections from the IP 216.162.217.194 coming from the internet to the munin port (1040).</p>
<p>If you want more information about rules check <a href="http://www.shorewall.net/Documentation.htm#Rules">here </a></span></p>
<p style="text-align:justify;"><span style="font-size:85%;">Now you need to restart your shorewall to take your new changes effect by running this command</p>
<p>#/etc/init.d/shorewall start</p>
<p>If there was a syntax error in your configuration you will get an error saying so and you should have a read of<br />
/var/log/shorewall-init.log to figure out why.</p>
<p>If everything does start up, you should make sure that you aren&#8217;t blocking something that you don&#8217;t mean to, you can do that by looking at your firewall logs.</p>
<p>If you want to know more about the shorewall log files click <a href="http://deb.riseup.net/networking/firewall/logs/">here</a></p>
<p><span style="color:#cc0066;"><strong>Shorewall Web interface or GUI tool</strong></span></p>
<p>We have a webmin interface for shorewall to configure through GUI.You can download from here.</p>
<p><a href="http://www.webmin.com/download/modules/shorewall.wbm.gz">http://www.webmin.com/download/modules/shorewall.wbm.gz</a></span></p>
<p style="text-align:justify;"><span style="font-size:85%;">If you want to configure shorewall through webmin interface click <a href="http://rouke.freeasanerd.com/manuals/">here</a></p>
<p><span style="color:#cc0066;"><strong>References</strong></span></p>
<p><a href="http://www.cyberdogtech.com/firewalls/firewall/">http://www.cyberdogtech.com/firewalls/firewall/</a></span></p>
<p><!--more--></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lana4408.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lana4408.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lana4408.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lana4408.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/lana4408.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/lana4408.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/lana4408.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/lana4408.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lana4408.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lana4408.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lana4408.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lana4408.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lana4408.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lana4408.wordpress.com/7/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lana4408.wordpress.com&amp;blog=3837639&amp;post=7&amp;subd=lana4408&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://lana4408.wordpress.com/2009/03/02/shorewall-configuration-in-debian/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/11db893ef01a409feca66220bc6a42be?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">lana4408</media:title>
		</media:content>
	</item>
		<item>
		<title>DHCP Server using Slackware</title>
		<link>http://lana4408.wordpress.com/2009/03/02/dhcp-server-using-slackware/</link>
		<comments>http://lana4408.wordpress.com/2009/03/02/dhcp-server-using-slackware/#comments</comments>
		<pubDate>Mon, 02 Mar 2009 11:07:32 +0000</pubDate>
		<dc:creator>lana4408</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://lana4408.wordpress.com/?p=5</guid>
		<description><![CDATA[The Dynamic Host Configuration Protocol (DHCP) allows you to specify network parameters on a server and have client computers query the server for their information such as IP, netmask, gateway, DNS, etc. In addition to not having to statically assign network information to numerous clients, you also do not need to specify the IP of [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lana4408.wordpress.com&amp;blog=3837639&amp;post=5&amp;subd=lana4408&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The Dynamic Host Configuration Protocol (DHCP) allows you to specify network parameters on a server and have client computers query the server for their information such as IP, netmask, gateway, DNS, etc. In addition to not having to statically assign network information to numerous clients, you also do not need to specify the IP of the DHCP server as this discovery is done via broadcast packets; the caveat to this is that you must have one DHCP server per broadcast domain. In case it&#8217;s not blatantly obvious, the power of DHCP is that if anything changes on your network such as the IP of a DNS server, you only need to edit one configuration file even if you have hundreds of clients.<br />
<span id="more-5"></span></p>
<div style="text-align:justify;">
The DHCP server I am using is called &#8216;dhcpd&#8217; (oddly enough) and my current version is dhcp-3.0pl2-i386-1. This howto is not meant to be in-depth but rather just a general overview of some of the common features for the dhcpd server. If you need to do more esoteric configurations please <strong>man dhcpd.conf</strong> for detailed information.</p>
<p>The following is a common <strong>dhcpd.conf</strong> file. Below I will dissect this file and explain what each line does. Keeping with the convention of my other Linux Answers, all computer-specific information will be highlighted in <span style="color:blue;">blue</span> and will most likely need to be changed.</p>
<p><span style="font-size:78%;">code:</span></p>
<pre class="bbcodeblock" style="border:1px inset;overflow:auto;width:98%;height:370px;text-align:left;margin:0 -99999px 0 0;padding:3px;">ddns-update-style none;

subnet <span style="color:blue;">192.168.1.0</span> netmask <span style="color:blue;">255.255.255.0</span>
{
       range <span style="color:blue;">192.168.1.100 192.168.1.200</span>;
       option subnet-mask <span style="color:blue;">255.255.255.0</span>;
       option broadcast-address <span style="color:blue;">192.168.1.255</span>;
       option domain-name-servers <span style="color:blue;">123.123.123.10, 123.123.123.20</span>;
       option routers <span style="color:blue;">192.168.1.1</span>;

       host <span style="color:blue;">slackbox</span>
       {
               hardware ethernet <span style="color:blue;">00:50:AB:AB:AB:AB</span>;
               fixed-address <span style="color:blue;">192.168.1.7</span>;
       }

       host <span style="color:blue;">winbox</span>
       {
               hardware ethernet <span style="color:blue;">00:06:CD:CD:CD:CD</span>;
               fixed-address <span style="color:blue;">192.168.1.8</span>;
       }
}</pre>
<p>The first thing we need to do is set a Dynamic DNS update style. Since DynDNS is beyond the scope of this howto, I am going to set the style to <strong>none</strong> but if this is something you want to do, then the man pages have tons of info on it.</p>
<div class="smallfont" style="margin-bottom:2px;"><span style="font-size:78%;"><br />
Code:</span></div>
<pre class="bbcodeblock" style="border:1px inset;overflow:auto;width:98%;height:34px;text-align:left;margin:0 -99999px 0 0;padding:3px;">ddns-update-style none;</pre>
<p>Next we must specify what <strong>subnet</strong> and <strong>netmask</strong> we will be working on. Note that you can have many subnet configurations within the single dhcpd.conf file. Each subnet group is bound together by curly braces <strong>{ }</strong><br />
<span style="font-size:78%;"><br />
Code:</span></p>
<pre class="bbcodeblock" style="border:1px inset;overflow:auto;width:98%;height:34px;text-align:left;margin:0 -99999px 0 0;padding:3px;">subnet <span style="color:blue;">192.168.1.0</span> netmask <span style="color:blue;">255.255.255.0</span></pre>
<p>Note that every command from here on will only pertain to the subnet specified above. This will be true until we reach the closing curly brace <strong>}</strong> as noted above.</p>
<p>Now we will specify what range of IP addresses we want to be made available for clients using DHCP. This option is very handy when used in conjunction with a firewall because you know exactly what IP addresses came from a client using DHCP and you can exercise restrictions upon them as necessary.</p>
<div class="smallfont" style="margin-bottom:2px;"><span style="font-size:78%;"><br />
Code:</span></div>
<pre class="bbcodeblock" style="border:1px inset;overflow:auto;width:98%;height:34px;text-align:left;margin:0 -99999px 0 0;padding:3px;">range <span style="color:blue;">192.168.1.100 192.168.1.200</span>;</pre>
<p>This next line is going to look a bit redundant because we are setting the netmask again even though we set it in the subnet declaration above, but it&#8217;s recommended in the man pages so we are going to do it.</p>
<div style="margin:5px 20px 20px;">
<div class="smallfont" style="margin-bottom:2px;">Code:</div>
<pre class="bbcodeblock" style="border:1px inset;overflow:auto;width:98%;height:34px;text-align:left;margin:0 -99999px 0 0;padding:3px;">option subnet-mask <span style="color:blue;">255.255.255.0</span>;</pre>
</div>
<p>Next we specify the broadcast address for our subnet. This address <strong>always</strong> ends in 255</p>
<div style="margin:5px 20px 20px;">
<div class="smallfont" style="margin-bottom:2px;">Code:</div>
<pre class="bbcodeblock" style="border:1px inset;overflow:auto;width:98%;height:34px;text-align:left;margin:0 -99999px 0 0;padding:3px;">option broadcast-address <span style="color:blue;">192.168.1.255</span>;</pre>
</div>
<p>We will definitely want to tell our clients what servers to use for DNS in order to resolve hostnames to IP addresses</p>
<div style="margin:5px 20px 20px;">
<div class="smallfont" style="margin-bottom:2px;">Code:</div>
<pre class="bbcodeblock" style="border:1px inset;overflow:auto;width:98%;height:34px;text-align:left;margin:0 -99999px 0 0;padding:3px;">option domain-name-servers <span style="color:blue;">123.123.123.10, 123.123.123.20</span>;</pre>
</div>
<p>The next option tells our clients what IP address to use for their <strong>gateway</strong>. This IP address generally ends in <strong>.1</strong> but does not have to. The box with this IP should be configured as a router and be able to forward packets accordingly.</p>
<div style="margin:5px 20px 20px;">
<div class="smallfont" style="margin-bottom:2px;">Code:</div>
<pre class="bbcodeblock" style="border:1px inset;overflow:auto;width:98%;height:34px;text-align:left;margin:0 -99999px 0 0;padding:3px;">option routers <span style="color:blue;">192.168.1.1</span>;</pre>
</div>
<p>If you wanted you could stop here but I thought I would show you a cool little feature that I like to use. Even though DHCP gives out IP address dynamically, it also has the ability to reserve an IP address for a certain computer. In this sense it&#8217;s almost as if the client computer has a static IP even though it uses DHCP to get it. This is useful if you want to be able to put entries in your <strong>/etc/hosts</strong> file and not have to worry about the entry becoming invalid over time.</p>
<p>The first thing we must do is to specify a name for the computer as a helpful identifier</p>
<div style="margin:5px 20px 20px;">
<div class="smallfont" style="margin-bottom:2px;">Code:</div>
<pre class="bbcodeblock" style="border:1px inset;overflow:auto;width:98%;height:34px;text-align:left;margin:0 -99999px 0 0;padding:3px;">host <span style="color:blue;">slackbox</span></pre>
</div>
<p>Note that similarly to the subnet grouping, we are now starting a sub-group as seen by the addition of the curly braces. This allows us to have multiple host definitions within one subnet group.</p>
<p>This next line is what allows us to uniquely identify one computer from another. The <strong>hardware ethernet</strong> address is the same as the <strong>MAC</strong> address. This information can be found by running the command <strong>ifconfig  | grep HWaddr</strong> on a client computer for linux and <strong>ipconfig /all</strong> for a client computer running windows.</p>
<div style="margin:5px 20px 20px;">
<div class="smallfont" style="margin-bottom:2px;">Code:</div>
<pre class="bbcodeblock" style="border:1px inset;overflow:auto;width:98%;height:34px;text-align:left;margin:0 -99999px 0 0;padding:3px;">hardware ethernet <span style="color:blue;">00:50:AB:AB:AB:AB</span>;</pre>
</div>
<p>And finally this next line tells the dhcpd server what IP address you always want to be assigned to this computer. Note that I intentionally make all IP&#8217;s assigned this way <strong>outside</strong> of the DHCP range we specified earlier. This is not a must as the dhcp server is smart enough to not give out two IP&#8217;s simultaneously but it helps in being able to quickly recognize which clients used this feature.</p>
<div style="margin:5px 20px 20px;">
<div class="smallfont" style="margin-bottom:2px;">Code:</div>
<pre class="bbcodeblock" style="border:1px inset;overflow:auto;width:98%;height:34px;text-align:left;margin:0 -99999px 0 0;padding:3px;">fixed-address <span style="color:blue;">192.168.1.7</span>;</pre>
</div>
<p>This concludes this DHCP howto. As an added bonus I have included the init script I made for my Slackware box, however this script should work on many other distros. Please make sure you edit the 4 configuration options between the hashmark lines accordingly.</p>
<div style="margin:5px 20px 20px;">
<div class="smallfont" style="margin-bottom:2px;">Code:</div>
<pre class="bbcodeblock" style="border:1px inset;overflow:auto;width:98%;height:498px;text-align:left;margin:0 -99999px 0 0;padding:3px;">#!/bin/sh
#
# /etc/rc.d/rc.dhcpd
#
# Start/stop/restart the DHCP daemon.
#
# To make dhcpd start automatically at boot, make this
# file executable:  chmod 755 /etc/rc.d/rc.dhcpd
#
#############################################

CONFIGFILE=<span style="color:blue;">"/etc/dhcpd.conf"</span>
LEASEFILE=<span style="color:blue;">"/var/state/dhcp/dhcpd.leases"</span>
INTERFACES=<span style="color:blue;">"eth1"</span>
OPTIONS=<span style="color:blue;">"-q"</span>

#############################################

dhcpd_start() {
 if [ -x /usr/sbin/dhcpd -a -r $CONFIGFILE ]; then
   echo "Starting DHCPD..."
    /usr/sbin/dhcpd -cf $CONFIGFILE -lf $LEASEFILE $OPTIONS $INTERFACES
#     /usr/sbin/dhcpd -q $INTERFACES
 fi
}

dhcpd_stop() {
 killall dhcpd
}

dhcpd_restart() {
 dhcpd_stop
 sleep 2
 dhcpd_start
}

case "$1" in
'start')
 dhcpd_start
 ;;
'stop')
 dhcpd_stop
 ;;
'restart')
 dhcpd_restart
 ;;
*)
 # Default is "start", for backwards compatibility with previous
 # Slackware versions.  This may change to a 'usage' error someday.
 dhcpd_start
esac</pre>
</div>
<p>To start up your brand new dhcpd server simply run the command</p>
<div style="margin:5px 20px 20px;">
<div class="smallfont" style="margin-bottom:2px;">Code:</div>
<pre class="bbcodeblock" style="border:1px inset;overflow:auto;width:98%;height:34px;text-align:left;margin:0 -99999px 0 0;padding:3px;">/etc/rc.d/rc.dhcpd start</pre>
</div>
</div>
<p><!--more--></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lana4408.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lana4408.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lana4408.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lana4408.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/lana4408.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/lana4408.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/lana4408.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/lana4408.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lana4408.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lana4408.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lana4408.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lana4408.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lana4408.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lana4408.wordpress.com/5/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lana4408.wordpress.com&amp;blog=3837639&amp;post=5&amp;subd=lana4408&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://lana4408.wordpress.com/2009/03/02/dhcp-server-using-slackware/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/11db893ef01a409feca66220bc6a42be?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">lana4408</media:title>
		</media:content>
	</item>
		<item>
		<title>Setup a Linux VPN Server</title>
		<link>http://lana4408.wordpress.com/2009/03/02/setup-a-linux-vpn-server/</link>
		<comments>http://lana4408.wordpress.com/2009/03/02/setup-a-linux-vpn-server/#comments</comments>
		<pubDate>Mon, 02 Mar 2009 11:04:10 +0000</pubDate>
		<dc:creator>lana4408</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://lana4408.wordpress.com/2009/03/02/setup-a-linux-vpn-server/</guid>
		<description><![CDATA[I am assuming you are using a Redhat or Redhat-like distribution. Some of these packages can be grabbed via yum. However, I&#8217;m going to have you install them via RPM as you cannot get all of them via yum. If you are not, you will need to get the proper packages. For Debian you can [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lana4408.wordpress.com&amp;blog=3837639&amp;post=4&amp;subd=lana4408&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I am assuming you are using a Redhat or Redhat-like distribution. Some of these packages can be grabbed via yum. However, I&#8217;m going to have you install them via RPM as you cannot get all of them via yum. If you are not, you will need to get the proper packages. For Debian you can use aptget or search for the .deb. For SuSe you can use Yast or find the distro specific RPMs.<br />
<span id="more-4"></span></p>
<h2 style="text-align:justify;">1) Install the DKMS package</h2>
<div style="text-align:justify;">
<span class="code">rpm &#8211;install dkms-1.12-2.noarch.rpm</span></div>
<p style="text-align:justify;"><a href="http://prdownloads.sourceforge.net/poptop/dkms-1.12-2.noarch.rpm">http://prdownloads.sourceforge.net/poptop/<em>dkms-1.12-2.noarch.rpm</em></a></p>
<p style="text-align:justify;">This is dynamic kernel module support. You need this to simplify setup and configuration at the kernel level. This will make almost everything transparent to the user during setup.</p>
<h2 style="text-align:justify;">2) Install the ppp kernel module</h2>
<div style="text-align:justify;">
<span class="code">rpm &#8211;install kernel_ppp_mppe-0.0.4-2dkms.noarch.rpm</span></div>
<p style="text-align:justify;"><a href="http://prdownloads.sourceforge.net/poptop/kernel_ppp_mppe-0.0.4-2dkms.noarch.rpm">http://prdownloads.sourceforge.net/poptop/<em>kernel_ppp_mppe-0.0.4-2dkms.noarch.rpm</em></a></p>
<p style="text-align:justify;">Point to Point Protocol to setup your &#8220;modem&#8221; or whatever your connection consists of. This is the portion for your kernel.</p>
<h2 style="text-align:justify;">3) Make sure ppp is working</h2>
<div style="text-align:justify;">
<span class="code">modprobe ppp-compress-18 &amp;&amp; echo James Garvin has saved me from a life of Windows</span></div>
<p style="text-align:justify;">Ok, so that is a bit of fun, but what does that command mean? Well, if on success of the modprobe command, I execute the echo command. Modprobe adds the module to the Linux kernel, while echo simply writes what ever you say back to the terminal.</p>
<h2 style="text-align:justify;">4) Upgrade ppp</h2>
<div style="text-align:justify;">
<span class="code">rpm &#8211;upgrade ppp-2.4.3-0.cvs_20040527.4.fc2.i386.rpm</span></div>
<p style="text-align:justify;"><a href="http://prdownloads.sourceforge.net/poptop/ppp-2.4.3-0.cvs_20040527.4.fc2.i386.rpm">http://prdownloads.sourceforge.net/poptop/<em>ppp-2.4.3-0.cvs_20040527.4.fc2.i386.rpm</em></a></p>
<p style="text-align:justify;">This is the ppp for the user. The kernel module for ppp has been installed and this is for the user.</p>
<h2 style="text-align:justify;">5) Get the PPTP client</h2>
<div style="text-align:justify;">
<span class="code">rpm &#8211;install pptp-linux-1.5.0-1.i386.rpm</span></div>
<p style="text-align:justify;"><a href="http://prdownloads.sourceforge.net/pptpclient/pptp-linux-1.5.0-1.i386.rpm">http://prdownloads.sourceforge.net/pptpclient/<em>pptp-linux-1.5.0-1.i386.rpm</em></a></p>
<p style="text-align:justify;">This is the &#8220;VPN Client,&#8221; so to speak. This is the GUI client in which you can setup VPN connections and various options.</p>
<h2 style="text-align:justify;">6) Get phppcntl</h2>
<div style="text-align:justify;">
<span class="code">rpm &#8211;install Getphp-pcntl php-pcntl-4.3.8-1.i386.rpm</span></div>
<p style="text-align:justify;"><a href="http://prdownloads.sourceforge.net/pptpclient/php-pcntl-4.3.8-1.i386.rpm">http://prdownloads.sourceforge.net/pptpclient/php-pcntl-4.3.8-1.i386.rpm</a></p>
<p style="text-align:justify;">This is to help the GUI work.</p>
<h2 style="text-align:justify;">7) Get the phpgtkmodule</h2>
<div style="text-align:justify;">
<span class="code">rpm &#8211;install php-gtk-pcntl-1.0.0-2.i386.rpm</span></div>
<p style="text-align:justify;"><a href="http://prdownloads.sourceforge.net/pptpclient/php-gtk-pcntl-1.0.0-2.i386.rpm">http://prdownloads.sourceforge.net/pptpclient/php-gtk-pcntl-1.0.0-2.i386.rpm</a></p>
<p style="text-align:justify;">This file also helps make the GUI work.</p>
<h2 style="text-align:justify;">8) Get pptpconfig installed</h2>
<div style="text-align:justify;">
<span class="code">rpm &#8211;install pptpconfig-20040722-0.noarch.rpm</span></div>
<p style="text-align:justify;"><a href="http://prdownloads.sourceforge.net/pptpclient/pptpconfig-20040722-0.noarch.rpm">http://prdownloads.sourceforge.net/pptpclient/pptpconfig-20040722-0.noarch.rpm</a></p>
<p style="text-align:justify;">This command installs the Point to Point Tunneling Protocol. This is so the VPN can actually create the tunnel from A to B. VPNs can use two protocols, L2TP and PPTP. L2TP is Layer 2 Tunneling Protocol and does just what it says. It works at Layer 2 in the OSI model, the Data Link Layer.</p>
<h2 style="text-align:justify;">9) Now at the command line type</h2>
<div style="text-align:justify;">
<span class="code">pptpconfig</span></div>
<p style="text-align:justify;">This command will popup a spiffy GUI for you to use.</p>
<div style="text-align:justify;">
<table border="0">
<tbody>
<tr>
<td align="center"><strong>Figure A</strong></td>
</tr>
<tr>
<td align="center"><img style="width:400px;height:319px;" src="http://1.1.1.3/bmi/i.i.com.com/cnwk.1d/i/tr/downloads/images/mk/setup_vpn_fedora.jpg" alt="" /></td>
</tr>
<tr>
<td align="center">The spiffy pptconfig GUI</td>
</tr>
</tbody>
</table>
</div>
<h2 style="text-align:justify;">10) Configure your connection</h2>
<div style="text-align:justify;"></div>
<p style="text-align:justify;">In the Server Tab we need to configure some basics:</p>
<ul style="text-align:justify;">
<li><strong>Name: </strong>The name of the connection. You can call it anything you want</li>
<li> <strong>Server: </strong>The server you are connecting to, either the IP or name of the server. eg: 64.233.187.99 or google.com</li>
<li> <strong>Domain: </strong>A domain, if any, that the VPN is connecting to</li>
<li> <strong>Username</strong>: Your login username for the VPN or the intranet</li>
<li> <strong>Password: </strong>The login password for the VPN or the intranet</li>
</ul>
<p style="text-align:justify;">In the Routing Tab we need to make sure it is setup properly. Typically we need to send <em>All</em><em> to Tunnel.</em>However, this can and will vary from VPN to VPN. Check with you local administrator on what radio button you need to choose.</p>
<p style="text-align:justify;">The DNS Tab is usually quite simple; it will be either automatic, or we will have to enter some basic DNS information and any optionswe may need to include.</p>
<p style="text-align:justify;">The Encryption Tab is a sticky point. We have a number of choices:</p>
<ul style="text-align:justify;">
<li>Require Microsoft PointtoPoint Encryption</li>
<li> Refuse 40bit Encryption</li>
<li> Refuse 128bit Encryption</li>
<li> Refuse Stateless Encryption</li>
<li> Refuse to Authenticate with EAP</li>
</ul>
<p style="text-align:justify;">You need to talk to your administrator and understand what your VPN requires. A typical setup will check box Require Microsoft PointtoPoint Encryption (for MS VPNS), Refuse 40bit Encryption, and Refuse Stateless Encryption. However, talk to your administrator to be sure.</p>
<p style="text-align:justify;">The Miscellaneous Tab is our final tab. We shouldn&#8217;t have anything to do here. The default setup should work just fine in many cases.</p>
<p style="text-align:justify;">We now click the Addbutton and highlight our new connection and choose Start. We have now created a VPN connection to a remote host! Congratulations for using Linux and sticking with a slightly frustrating task.</p>
<p style="text-align:justify;">
<p style="text-align:justify;">From article : <strong><a href="http://articles.techrepublic.com.com/5100-10878_11-6038003.html">By James M. Garvin</a></strong></p>
<p><!--more--></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lana4408.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lana4408.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lana4408.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lana4408.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/lana4408.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/lana4408.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/lana4408.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/lana4408.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lana4408.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lana4408.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lana4408.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lana4408.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lana4408.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lana4408.wordpress.com/4/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lana4408.wordpress.com&amp;blog=3837639&amp;post=4&amp;subd=lana4408&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://lana4408.wordpress.com/2009/03/02/setup-a-linux-vpn-server/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/11db893ef01a409feca66220bc6a42be?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">lana4408</media:title>
		</media:content>

		<media:content url="http://1.1.1.3/bmi/i.i.com.com/cnwk.1d/i/tr/downloads/images/mk/setup_vpn_fedora.jpg" medium="image" />
	</item>
	</channel>
</rss>
