<?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>ashleyknowles &#187; firewall</title>
	<atom:link href="http://www.ashleyknowles.net/tag/firewall/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ashleyknowles.net</link>
	<description>IT professional, Formula 1 addict, security/hacking enthusiast, I love LAMP</description>
	<lastBuildDate>Tue, 07 Feb 2012 01:17:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>My iptables “base” ruleset</title>
		<link>http://www.ashleyknowles.net/2010/11/my-iptables-base-ruleset/</link>
		<comments>http://www.ashleyknowles.net/2010/11/my-iptables-base-ruleset/#comments</comments>
		<pubDate>Wed, 24 Nov 2010 04:11:29 +0000</pubDate>
		<dc:creator>Ashley Knowles</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Computers and IT]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Linux/Unix]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[firewall]]></category>
		<category><![CDATA[iptables]]></category>
		<category><![CDATA[rules]]></category>

		<guid isPermaLink="false">http://www.ashleyknowles.net/?p=540</guid>
		<description><![CDATA[I&#8217;m not 100% sure if this is correct in a security sense, but thought I&#8217;d post this. For my web/database servers, it&#8217;s a pretty basic setup really. Drop all inbound packets not specifically allowed, and allow all outbound unless specifically &#8230; Continue reading &#8594;]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m not 100% sure if this is correct in a security sense, but thought I&#8217;d post this. For my web/database servers, it&#8217;s a pretty basic setup really. Drop all inbound packets not specifically allowed, and allow all outbound unless specifically denied.</p>
<p>Open for comment / feedback. It&#8217;s for all intensive purposes, pretty secure in my opinion. The only thing making it more secure would be dropping all outbound packets and specifically allowing traffic outbound, which might be the next thing I will work on.<span id="more-540"></span></p>
<p><code>[root@web ~]# iptables --list</code></p>
<p><code> </code></p>
<p><code>Chain INPUT (policy DROP)<br />
target     prot opt source               destination<br />
BLACKLIST  all  --  anywhere             anywhere            state INVALID,NEW,UNTRACKED<br />
ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED<br />
ACCEPT     all  --          anywhere<br />
ACCEPT     tcp  --        anywhere            tcp multiport dports squid,webcache<br />
ACCEPT     tcp  --  anywhere             anywhere            tcp multiport dports http,https<br />
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:ssh<br />
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:domain<br />
ACCEPT     udp  --  anywhere             anywhere            udp dpt:domain<br />
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:ndmp<br />
ACCEPT     icmp --  anywhere             anywhere            icmp echo-request<br />
ACCEPT     tcp  --  anywhere            tcp dpt:nrpe</code></p>
<p><code>Chain FORWARD (policy ACCEPT)<br />
target     prot opt source               destination</code></p>
<p><code>Chain OUTPUT (policy ACCEPT)<br />
target     prot opt source               destination</p>
<p>Chain BLACKLIST (1 references)<br />
target     prot opt source               destination<br />
LOG        all  --  anywhere             anywhere            LOG level warning<br />
DROP       all  --  124.115.4.0/24 anywhere<br />
DROP       all  --  91.201.66.0/24 anywhere<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ashleyknowles.net/2010/11/my-iptables-base-ruleset/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Forefront TMG Stuff</title>
		<link>http://www.ashleyknowles.net/2010/10/forefront-tmg-stuff/</link>
		<comments>http://www.ashleyknowles.net/2010/10/forefront-tmg-stuff/#comments</comments>
		<pubDate>Fri, 08 Oct 2010 05:10:19 +0000</pubDate>
		<dc:creator>Ashley Knowles</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Computers and IT]]></category>
		<category><![CDATA[Forefront TMG]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[firewall]]></category>
		<category><![CDATA[forefront]]></category>
		<category><![CDATA[linkedin]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[threat management gateway]]></category>
		<category><![CDATA[tmg]]></category>

		<guid isPermaLink="false">http://www.ashleyknowles.net/?p=429</guid>
		<description><![CDATA[www.isascripts.org/ &#8211; a bunch of handy scripts by a security consultant named Jason Fossen Microsoft tools for TMG 2010 - www.microsoft.com/downloads/en/details.aspx?FamilyID=8809cfda-2ee1-4e67-b993-6f9a20e08607&#38;displaylang=en Technet Doco for TMG 2010 &#8211; technet.microsoft.com/en-us/library/ff355324.aspx Jim Harrison&#8217;s list of tools for TMG2010 - www.isatools.org/tools.asp?Context=TMG2010 Microsoft ISA Blog &#8211; blogs.technet.com/b/isablog/]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.isascripts.org/" class="aga aga_5">www.isascripts.org/</a> &#8211; a bunch of handy scripts by a security consultant named Jason Fossen</p>
<p>Microsoft tools for TMG 2010 - <a href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=8809cfda-2ee1-4e67-b993-6f9a20e08607&amp;displaylang=en" class="aga aga_6">www.microsoft.com/downloads/en/details.aspx?FamilyID=8809cfda-2ee1-4e67-b993-6f9a20e08607&amp;displaylang=en</a></p>
<p>Technet Doco for TMG 2010 &#8211; <a href="http://technet.microsoft.com/en-us/library/ff355324.aspx" class="aga aga_7">technet.microsoft.com/en-us/library/ff355324.aspx</a></p>
<p>Jim Harrison&#8217;s list of tools for TMG2010 - <a href="http://www.isatools.org/tools.asp?Context=TMG2010" class="aga aga_8">www.isatools.org/tools.asp?Context=TMG2010</a></p>
<p>Microsoft ISA Blog &#8211; <a href="http://blogs.technet.com/b/isablog/" class="aga aga_9">blogs.technet.com/b/isablog/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ashleyknowles.net/2010/10/forefront-tmg-stuff/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>More TeamViewer</title>
		<link>http://www.ashleyknowles.net/2009/10/more-teamviewer/</link>
		<comments>http://www.ashleyknowles.net/2009/10/more-teamviewer/#comments</comments>
		<pubDate>Fri, 23 Oct 2009 13:13:28 +0000</pubDate>
		<dc:creator>Ashley Knowles</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Computers and IT]]></category>
		<category><![CDATA[authentication]]></category>
		<category><![CDATA[authorisation]]></category>
		<category><![CDATA[firewall]]></category>
		<category><![CDATA[group policy]]></category>
		<category><![CDATA[linkedin]]></category>
		<category><![CDATA[logon]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[port 5938]]></category>
		<category><![CDATA[TeamViewer]]></category>
		<category><![CDATA[username]]></category>

		<guid isPermaLink="false">http://www.ashleyknowles.net/?p=109</guid>
		<description><![CDATA[Checking through my stats, I&#8217;ve seen alot of hits from Google related to TeamViewer. I&#8217;m going to attempt to answer a few questions that I have seen results for, purely for traffic purposes Authenticating with Windows Username/Password I actually had &#8230; Continue reading &#8594;]]></description>
			<content:encoded><![CDATA[<p>Checking through my stats, I&#8217;ve seen alot of hits from Google related to TeamViewer. I&#8217;m going to attempt to answer a few questions that I have seen results for, purely for traffic purposes <img src='http://www.ashleyknowles.net/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<h2>Authenticating with Windows Username/Password</h2>
<p>I actually had to use this last week, cause for some odd reason, the password we configured for our custom TeamViewer app wouldn&#8217;t work for this particular client&#8230; Odd&#8230;</p>
<p>Firstly, this only appears to be available on Windows &#8211; I tried doing this on my Mac TeamViewer client but it wouldn&#8217;t work&#8230; Booooo. Might just be an old version, I couldn&#8217;t be stuffed checking right now&#8230;</p>
<p>That said, on your Windows TeamViewer client, after entering the Client ID and connecting, click the &#8220;Advanced&#8221; button on the Authorization screen to bring up a bunch more options. You should now have a &#8220;Authentication&#8221; drop down box, with TeamViewer and Windows as your options. Selecting Windows gives you a familiar, &#8220;Username, Password, Domain&#8221; style screen. Simple. Enter the details and click Log On. You&#8217;re done!</p>
<h2>Blocking TeamViewer Access</h2>
<p>This is probably something I&#8217;d not ever want to touch, purely because I have clients I NEED to connect to, but I understand that some systems administrators might feel the need to block their employees from setting up TeamViewer on their machines for remote access purposes, or just to stop outside parties from soliciting internal users into starting TeamViewer sessions&#8230;</p>
<p>The first way I can think of to block TeamViewer access, is by using Local Security Policies, or Group Policies. There is a nasty little policy option that enables you to block an application from running, if it matches a certain filename &#8211; obviously, use this with care!</p>
<p>The option you want to look for is located in User Configuration -&gt; Administrative Templates -&gt; System -&gt; Don&#8217;t run specified Windows applications.</p>
<p>Enable this policy, and simply add the TeamViewer executables (TeamViewer.exe, TeamViewer_Setup.exe, etc etc) to the &#8220;List of disallowed applications&#8221;.</p>
<p>Obviously, renaming the files is going to circumvent this&#8230; So moving on&#8230;</p>
<p>A quick NetStat on my Vista machine with the full TeamViewer client installed yielded the following result:</p>
<p>TCP    192.168.1.10:53039     server904:5938         ESTABLISHED<br />
[TeamViewer.exe]</p>
<p>The answer is quite simple &#8211; block outgoing connections to TCP port 5938&#8230; This will stop the TeamViewer client from connecting back to TeamViewer&#8217;s central servers, which is necessary to generate the client ID, and to punch a hole through the firewall to allow people to connect in the first place.</p>
<p>You could probably set this on the local firewall, using Windows Firewall or perhaps by using your chosen centrally managed endpoint security package (Trend/Sophos/Symantec etc all have firewall options with their antivirus clients).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ashleyknowles.net/2009/10/more-teamviewer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

