<?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>Admins Goodies &#187; cisco-asa</title>
	<atom:link href="http://adminsgoodies.com/tag/cisco-asa/feed/" rel="self" type="application/rss+xml" />
	<link>http://adminsgoodies.com</link>
	<description>Just another WordPress site</description>
	<lastBuildDate>Fri, 24 May 2013 16:33:10 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>How do I configure NAT rules when using ASA IP-SLA when leveraging post-ASA-8.3 NAT syntax?</title>
		<link>http://adminsgoodies.com/how-do-i-configure-nat-rules-when-using-asa-ip-sla-when-leveraging-post-asa-8-3-nat-syntax/</link>
		<comments>http://adminsgoodies.com/how-do-i-configure-nat-rules-when-using-asa-ip-sla-when-leveraging-post-asa-8-3-nat-syntax/#comments</comments>
		<pubDate>Tue, 07 May 2013 16:33:49 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[General Questions]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[cisco-asa]]></category>
		<category><![CDATA[nat]]></category>
		<category><![CDATA[redundancy]]></category>
		<category><![CDATA[sla]]></category>

		<guid isPermaLink="false">http://adminsgoodies.com/how-do-i-configure-nat-rules-when-using-asa-ip-sla-when-leveraging-post-asa-8-3-nat-syntax/</guid>
		<description><![CDATA[We are currently running ASA9 at a location with redundant ip connectivity. We&#8217;d love to configure ip sla so that internet access survives a single carrier outage. I&#8217;m aware of the ip sla commands, however when I&#8217;ve tried to prepopulate the required NAT rules, the addition of the second rule will overwrite the first. Here is an example: object network NYHQ_GUESTWIRELESS_10.110.6.0_24 nat (NYHQ-GUESTWIRELESS,NYHQ-OUTSIDE_FIOS) dynamic interface When I attempt to add an additional nat rule, perhaps [...]]]></description>
				<content:encoded><![CDATA[<h3 class="pq"><img src="http://adminsgoodies.com/imgs/question.png" alt="Question" /></h3>
<p>We are currently running ASA9 at a location with redundant ip connectivity.  We&#8217;d love to configure <code>ip sla</code> so that internet access survives a single carrier outage.  I&#8217;m aware of the ip sla commands, however when I&#8217;ve tried to prepopulate the required NAT rules, the addition of the second rule will overwrite the first.  Here is an example:</p>
<pre class="prettyprint"><code>
object network NYHQ_GUESTWIRELESS_10.110.6.0_24
 nat (NYHQ-GUESTWIRELESS,NYHQ-OUTSIDE_FIOS) dynamic interface
</code></pre>
<p>When I attempt to add an additional nat rule, perhaps</p>
<p><code>nat (NYHQ-GUESTWIRELESS,NYHQ-OUTSIDE_COGENT) dynamic interface</code></p>
<p>The new rule overwrites the preexisting rule, as so:</p>
<pre class="prettyprint"><code>
object network NYHQ_GUESTWIRELESS_10.110.6.0_24
 nat (NYHQ-GUESTWIRELESS,NYHQ-OUTSIDE_COGENT) dynamic interface
</code></pre>
<p>Is there any way that I can have both of these rules in place so that NAT can cooperate with our SLA rules to ensure that regardless of which provider is used, NAT still works properly?</p>
<div class="author">Asked by <a href="http://serverfault.com/users/62258/peter-grace" target="_blank">Peter Grace</a></div>
<h3 class="pa"><img src="http://adminsgoodies.com/imgs/answer.png" alt="Answer" /></h3>
<p>The way that we deal with this is to create an separate object group for interface that we want to have redundant connectivity to, it is a little messy but it should work for what you need.</p>
<p>So you would have a FIOS object</p>
<pre class="prettyprint"><code>object network FIOS_NYHQ_GUESTWIRELESS_10.110.6.0_24
    nat (NYHQ-GUESTWIRELESS,NYHQ-OUTSIDE_FIOS) dynamic interface
</code></pre>
<p>and a Cogent object</p>
<pre class="prettyprint"><code>object network COGENT_NYHQ_GUESTWIRELESS_10.110.6.0_24
    nat (NYHQ-GUESTWIRELESS,NYHQ-OUTSIDE_COGENT) dynamic interface
</code></pre>
<p>And you should be all set.</p>
<p>It is a pain if you have multiple servers and multiple upstreams, but it works for us. I am sure there is a more streamlined solution and am interested in what others are doing to solve this issue.</p>
<div class="author">Answered by <a href="http://serverfault.com/users/5842/bluedogs" target="_blank">bluedogs</a></div>
<p class="ref-link">Check <a href="http://serverfault.com/questions/505452/how-do-i-configure-nat-rules-when-using-asa-ip-sla-when-leveraging-post-asa-8-3" target="_blank">more discussion</a> of this question.</p>
]]></content:encoded>
			<wfw:commentRss>http://adminsgoodies.com/how-do-i-configure-nat-rules-when-using-asa-ip-sla-when-leveraging-post-asa-8-3-nat-syntax/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Trying to setup NAT from 2 outside IPs to the same private IP</title>
		<link>http://adminsgoodies.com/trying-to-setup-nat-from-2-outside-ips-to-the-same-private-ip/</link>
		<comments>http://adminsgoodies.com/trying-to-setup-nat-from-2-outside-ips-to-the-same-private-ip/#comments</comments>
		<pubDate>Fri, 21 Dec 2012 17:37:12 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[General Questions]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[cisco-asa]]></category>
		<category><![CDATA[nat]]></category>
		<category><![CDATA[pat]]></category>

		<guid isPermaLink="false">http://adminsgoodies.com/trying-to-setup-nat-from-2-outside-ips-to-the-same-private-ip/</guid>
		<description><![CDATA[Cisco ASA 5510 I currently have a NAT for SMTP on one outside IP to an internal IP. I need to setup 2 external IPs to NAT to the same IP internally. How can I do that? ex: 10.10.10.1 25 &#8211;&#62; 192.168.0.200 25 10.10.10.3 25 &#8211;&#62; 192.168.0.200 25 Asked by Keith You won&#8217;t be able to use static PAT for this as you would break the 1:1 mapping rule. Firewall has to know what mapping [...]]]></description>
				<content:encoded><![CDATA[<h3 class="pq"><img src="http://adminsgoodies.com/imgs/question.png" alt="Question" /></h3>
<p>Cisco ASA 5510<br />
I currently have a NAT for SMTP on one outside IP to an internal IP.  I need to setup 2 external IPs to NAT to the same IP internally.  How can I do that?<br />
ex:<br />
10.10.10.1 25 &#8211;&gt; 192.168.0.200 25<br />
10.10.10.3 25 &#8211;&gt; 192.168.0.200 25</p>
<div class="author">Asked by <a href="http://serverfault.com/users/150463/keith" target="_blank">Keith</a></div>
<h3 class="pa"><img src="http://adminsgoodies.com/imgs/answer.png" alt="Answer" /></h3>
<p>You won&#8217;t be able to use static PAT for this as you would break the 1:1 mapping rule. Firewall has to know what mapping to use in both directions &#8211; both in-&gt;out and out-&gt;in. In your case if 192.168.0.200 originated connection from port 25 firewall would not know which global IP to use. In other words, it&#8217;s not possible this way.</p>
<p>Easiest solution would be to assign additional IP address on the internal device and keep the NATs clean. Let&#8217;s say you assign additional IP of 192.168.0.201. Configuration would be:</p>
<pre class="prettyprint"><code>static (inside,outside) tcp 10.0.0.1 25 192.168.0.200 25
static (inside,outside) tcp 10.0.0.3 25 192.168.0.201 25
</code></pre>
<div class="author">Answered by <a href="http://serverfault.com/users/150543/skrobul" target="_blank">skrobul</a></div>
<p class="ref-link">Check <a href="http://serverfault.com/questions/459773/trying-to-setup-nat-from-2-outside-ips-to-the-same-private-ip" target="_blank">more discussion</a> of this question.</p>
]]></content:encoded>
			<wfw:commentRss>http://adminsgoodies.com/trying-to-setup-nat-from-2-outside-ips-to-the-same-private-ip/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using a nat rule to translate 80/443 traffic to web server, but internal users cannot access it using external ip/domain name</title>
		<link>http://adminsgoodies.com/using-a-nat-rule-to-translate-80443-traffic-to-web-server-but-internal-users-cannot-access-it-using-external-ipdomain-name/</link>
		<comments>http://adminsgoodies.com/using-a-nat-rule-to-translate-80443-traffic-to-web-server-but-internal-users-cannot-access-it-using-external-ipdomain-name/#comments</comments>
		<pubDate>Mon, 29 Oct 2012 16:35:33 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[General Questions]]></category>
		<category><![CDATA[cisco-asa]]></category>
		<category><![CDATA[firewall]]></category>
		<category><![CDATA[nat]]></category>
		<category><![CDATA[port-forwarding]]></category>
		<category><![CDATA[routing]]></category>

		<guid isPermaLink="false">http://adminsgoodies.com/using-a-nat-rule-to-translate-80443-traffic-to-web-server-but-internal-users-cannot-access-it-using-external-ipdomain-name/</guid>
		<description><![CDATA[I am using Cisco ASDM for ASA I have my internal network called soa. My outside interface is called outside. Let&#8217;s say my outside IP given to me by my ISP isp is y.y.y.y I have a web server inside my network with a static ip of x.x.x.110. I have configured 2 static nat rules (one for http the other for https). Source is x.x.x.110. Interface is outside, service (http or https). Maybe I am [...]]]></description>
				<content:encoded><![CDATA[<h3 class="pq"><img src="http://adminsgoodies.com/imgs/question.png" alt="Question" /></h3>
<p>I am using Cisco ASDM for ASA</p>
<p>I have my internal network called soa.  My outside interface is called outside.  Let&#8217;s say my outside IP given to me by my ISP isp is y.y.y.y  I have a web server inside my network with a static ip of x.x.x.110.  I have configured 2 static nat rules (one for http the other for https).</p>
<p>Source is x.x.x.110.  Interface is outside, service (http or https).</p>
<p>Maybe I am doing this wrong, but when I run the packet tracer, I choose outside interface and for the source IP I used 8.8.8.8 and the destination ip is my outside IP address, y.y.y.y</p>
<p>When I run that, it shows the packet traversing successfully, using 9 steps.</p>
<p>For my other test, I switch to the soa interface, input an ip on that network, and leave the destination the same.  This test comes up with 2 steps and then fails on my access list.</p>
<p>When I see the rule that fails, it is my catch all which is source: any desitnation: any, service: ip action: deny.</p>
<p>What rule do I need to make to allow my soa network access to go out and come back in by my external IP addess (using a domain name attached to that ip in my dns, of course)?</p>
<div class="author">Asked by <a href="http://serverfault.com/users/23583/josh" target="_blank">Josh</a></div>
<h3 class="pa"><img src="http://adminsgoodies.com/imgs/answer.png" alt="Answer" /></h3>
<p>Not sure about Cisco, but on Linux and *BSD this wont work. Even when you try to connect to the external address from the internal network, the packet never passes the external interface as the kernel is too clever, notices his own address and consumes the packet. As the packet never travels through your external interface, the NAT rule for port-forwarding never applies.</p>
<p>Read <a href="http://www.openbsd.org/faq/pf/rdr.html#reflect" rel="nofollow">http://www.openbsd.org/faq/pf/rdr.html#reflect</a> for some (BSD-biased) docs on this.</p>
<div class="author">Answered by <a href="http://serverfault.com/users/132457/zhenech" target="_blank">zhenech</a></div>
<p class="ref-link">Check <a href="http://serverfault.com/questions/443397/using-a-nat-rule-to-translate-80-443-traffic-to-web-server-but-internal-users-c" target="_blank">more discussion</a> of this question.</p>
]]></content:encoded>
			<wfw:commentRss>http://adminsgoodies.com/using-a-nat-rule-to-translate-80443-traffic-to-web-server-but-internal-users-cannot-access-it-using-external-ipdomain-name/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cisco ASA 5540_outside to inside traffic NAT</title>
		<link>http://adminsgoodies.com/cisco-asa-5540_outside-to-inside-traffic-nat/</link>
		<comments>http://adminsgoodies.com/cisco-asa-5540_outside-to-inside-traffic-nat/#comments</comments>
		<pubDate>Tue, 18 Sep 2012 16:33:16 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[General Questions]]></category>
		<category><![CDATA[cisco-asa]]></category>
		<category><![CDATA[nat]]></category>
		<category><![CDATA[static-routes]]></category>

		<guid isPermaLink="false">http://adminsgoodies.com/cisco-asa-5540_outside-to-inside-traffic-nat/</guid>
		<description><![CDATA[I searched a lot and found some options but none worked. This is for a test lab setup: landing server(192.168.49.26)&#8212;(.49.25/29)Cisco6500(.49.1/29)&#8212;(49.2)Cisco ASA(x.x.55.81)&#8212;External The C6500 is the core of the test lab to which the &#8220;landing server&#8221; with IP Address 192.168.49.26 is connected. The interface to which this server is connected has the IP 192.168.49.25/29. I have 2 more L2 switches connected to the Cisco 6500 on 2 VLANs, namely VLAN 10 and 11 and some computers [...]]]></description>
				<content:encoded><![CDATA[<h3 class="pq"><img src="http://adminsgoodies.com/imgs/question.png" alt="Question" /></h3>
<p>I searched a lot and found some options but none worked. This is for a test lab setup:</p>
<p>landing server(192.168.49.26)&#8212;(.49.25/29)Cisco6500(.49.1/29)&#8212;(49.2)Cisco ASA(x.x.55.81)&#8212;External</p>
<p>The C6500 is the core of the test lab to which the &#8220;landing server&#8221; with IP Address 192.168.49.26 is connected. The interface to which this server is connected has the IP 192.168.49.25/29. I have 2 more L2 switches connected to the Cisco 6500 on 2 VLANs, namely VLAN 10 and 11 and some computers connected to those L2 switches. The communication between the devices connected to Cisco6500 works fine.</p>
<p>The Cisco ASA firewall (inside interface IP 192.168.49.2) is connected to an interface on the Cisco6500 whose IP Address is 192.168.49.1/29. Again, the rest of the devices connected to the Cisco 6500 is able to reach the inside interface of the Cisco ASA.</p>
<p>The outside interface of the Cisco ASA has the IP x.x.55.81. The requirement is that users from the outside should be able to reach 192.168.49.26 (server IP) when they RDP to x.x.55.81. Once they reach this landing server, users will telnet or SSH to other devices and servers for their testing.<br />
Iam unable to get ASDM work on my machine and so my only option is CLI. But what route, NAT, etc do I need and what commands do I use. Please help.</p>
<p>Regards,<br />
Don Thomas</p>
<div class="author">Asked by <a href="http://serverfault.com/users/137231/don-thomas" target="_blank">Don Thomas</a></div>
<h3 class="pa"><img src="http://adminsgoodies.com/imgs/answer.png" alt="Answer" /></h3>
<p>ok you need free ip address from your offical net x.x.55.81. on the asa in global configuration mode (conf t) you had to create a static nat from inside to outside</p>
<pre><code>static (inside,outside) x.x.55.81 192.168.49.26
</code></pre>
<p>after that you had to allow traffic to the server on the outside interface.<br />
with the commad </p>
<pre><code>show run access-group 
</code></pre>
<p>you get the acl name bind to the outside interface. you can allow traffic on the acl in global configuration mode for RDP access</p>
<pre><code>access-list ACL-Name permit tcp any host x.x.55.81 eq 3389
</code></pre>
<p>or for a specified host</p>
<pre><code>access-list ACL-Name permit tcp host a.b.c.d host x.x.55.81 eq 3389
</code></pre>
<p>or net</p>
<pre><code>access-list ACL-Name permit tcp netaddress subnetmask host x.x.55.81 eq 3389
</code></pre>
<div class="author">Answered by <a href="http://serverfault.com/users/122402/user1008764" target="_blank">user1008764</a></div>
<p class="ref-link">Check <a href="http://serverfault.com/questions/429154/cisco-asa-5540-outside-to-inside-traffic-nat" target="_blank">more discussion</a> of this question.</p>
]]></content:encoded>
			<wfw:commentRss>http://adminsgoodies.com/cisco-asa-5540_outside-to-inside-traffic-nat/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Outside VPN traffic not able to ping site-to-site VPN remote site</title>
		<link>http://adminsgoodies.com/outside-vpn-traffic-not-able-to-ping-site-to-site-vpn-remote-site/</link>
		<comments>http://adminsgoodies.com/outside-vpn-traffic-not-able-to-ping-site-to-site-vpn-remote-site/#comments</comments>
		<pubDate>Tue, 17 Jul 2012 16:33:23 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[General Questions]]></category>
		<category><![CDATA[anyconnect]]></category>
		<category><![CDATA[cisco-asa]]></category>
		<category><![CDATA[site-to-site-vpn]]></category>
		<category><![CDATA[vpn]]></category>

		<guid isPermaLink="false">http://adminsgoodies.com/outside-vpn-traffic-not-able-to-ping-site-to-site-vpn-remote-site/</guid>
		<description><![CDATA[we have two ASA 5510s one in 8.4(4) and one in 8.2(5) in a site-to-site VPN setup. All internal traffic is working smoothly. Site/Subnet A: 192.100.0.0 &#8211; local (8.4(4)) Site/Subnet B: 192.200.0.0 &#8211; remote (8.2(5)) VPN Users: 192.100.40.0 &#8211; assigned by ASA When you VPN into the network, all traffic hits Site A, and everything on subnet A is accessible. Site B however, is completely inaccessible for VPN users. All machines on subnet B, the [...]]]></description>
				<content:encoded><![CDATA[<h3 class="pq"><img src="http://adminsgoodies.com/imgs/question.png" alt="Question" /></h3>
<p>we have two ASA 5510s one in 8.4(4) and one in 8.2(5) in a site-to-site VPN setup. All internal traffic is working smoothly.</p>
<p>Site/Subnet A: 192.100.0.0 &#8211; local (8.4(4))<br />
Site/Subnet B: 192.200.0.0 &#8211; remote (8.2(5))<br />
VPN Users: 192.100.40.0 &#8211; assigned by ASA </p>
<p>When you VPN into the network, all traffic hits Site A, and everything on subnet A is accessible.</p>
<p>Site B however, is completely inaccessible for VPN users. All machines on subnet B, the firewall itself, etc&#8230; is not reachable by ping or otherwise.</p>
<p>I downgraded to 8.2 and then went back up to 8.4 on the Site A ASA. Site B is now running 8.2(5).</p>
<p>Thank you much in advance and I hope I have been thorough enough.</p>
<div class="author">Asked by <a href="http://serverfault.com/users/66566/siriss" target="_blank">Siriss</a></div>
<h3 class="pa"><img src="http://adminsgoodies.com/imgs/answer.png" alt="Answer" /></h3>
<p>It turns out it was a combination of the NAT rule and the Site-to-Site ACL. For some reason, the ACL settings were not sticking because of a conflict in the configuration due to the 8.2 &#8211; 8.4 upgrade. It is complicated for me to explain, but after an 1.5 hours on the phone with Cisco, they rebuilt the site-to-site tunnel in 8.4(4) and it set the ACL correctly. If you ever run into this again and you just updated from 8.2 &#8211; 8.4, the solution seems to be to rebuild the site-to-site from scratch. Thanks for the help everyone!</p>
<div class="author">Answered by <a href="http://serverfault.com/users/66566/siriss" target="_blank">Siriss</a></div>
<p class="ref-link">Check <a href="http://serverfault.com/questions/406519/outside-vpn-traffic-not-able-to-ping-site-to-site-vpn-remote-site" target="_blank">more discussion</a> of this question.</p>
]]></content:encoded>
			<wfw:commentRss>http://adminsgoodies.com/outside-vpn-traffic-not-able-to-ping-site-to-site-vpn-remote-site/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Need help making site available externally</title>
		<link>http://adminsgoodies.com/need-help-making-site-available-externally/</link>
		<comments>http://adminsgoodies.com/need-help-making-site-available-externally/#comments</comments>
		<pubDate>Wed, 11 Jul 2012 16:33:33 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[General Questions]]></category>
		<category><![CDATA[cisco-asa]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[firewall]]></category>
		<category><![CDATA[remote-access]]></category>
		<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://adminsgoodies.com/need-help-making-site-available-externally/</guid>
		<description><![CDATA[I&#8217;m trying to open a hole in the firewall (ASA 5505, v8.2) to allow external access to a Web application. Via ASDM (6.3?), I&#8217;ve added the server as a Public Server, which creates a static NAT entry [I'm using the public IP that is assigned to 'dynamic NAT--outgoing' for the LAN, after confirming on the Cisco forums that it wouldn't bring everyone's access crashing down] and an incoming rule &#8220;any&#8230; public_ip&#8230; https&#8230; allow&#8221; but traffic [...]]]></description>
				<content:encoded><![CDATA[<h3 class="pq"><img src="http://adminsgoodies.com/imgs/question.png" alt="Question" /></h3>
<p>I&#8217;m trying to open a hole in the firewall (ASA 5505, v8.2) to allow external access to a Web application.  Via ASDM (6.3?), I&#8217;ve added the server as a Public Server, which creates a static NAT entry [I'm using the public IP that is assigned to 'dynamic NAT--outgoing' for the LAN, after confirming on the Cisco forums that it wouldn't bring everyone's access crashing down] and an incoming rule &#8220;any&#8230; public_ip&#8230; https&#8230; allow&#8221; but traffic is still not getting through.  When I look at the log viewer, it says it&#8217;s denied by access-group outside_access_in, implicit rule, which is &#8220;any any ip deny&#8221;</p>
<p>I haven&#8217;t had much experience with Cisco management.  I can&#8217;t see what I&#8217;m missing to allow this connection through, and I&#8217;m wondering if there&#8217;s anything else special I have to add.  I tried adding a rule (several variations) within that access-group to allow https to the server, but it never made a difference.  Maybe I haven&#8217;t found the right combination? <img src='http://adminsgoodies.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p>I also made sure the Windows firewall is open on port 443, although I&#8217;m pretty sure the current problem is Cisco, because of the logs. <img src='http://adminsgoodies.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Any ideas?  If you need more information, please let me know.</p>
<p>Thanks</p>
<p>Edit:<br />
First of all, I had this backward.  (Sorry)  Traffic is being blocked by access-group &#8220;inside_access_out&#8221; which is what confused me in the first place.  I guess I confused myself again in the midst of typing the question.</p>
<p>Here, I believe, is the pertinent information.  Please let me know what you see wrong.</p>
<pre><code>access-list acl_in extended permit tcp any host PUBLIC_IP eq https  
access-list acl_in extended permit icmp CS_WAN_IPs 255.255.255.240 any  
access-list acl_in remark Allow Vendor connections to LAN  
access-list acl_in extended permit tcp host Vendor any object-group RemoteDesktop  
access-list acl_in remark NetworkScanner scan-to-email incoming (from smtp.mail.microsoftonline.com to PCs)  
access-list acl_in extended permit object-group TCPUDP any object-group Scan-to-email host NetworkScanner object-group Scan-to-email  
access-list acl_out extended permit icmp any any  
access-list acl_out extended permit tcp any any  
access-list acl_out extended permit udp any any  
access-list SSLVPNSplitTunnel standard permit LAN_Subnet 255.255.255.0  
access-list nonat extended permit ip VPN_Subnet 255.255.255.0 LAN_Subnet 255.255.255.0  
access-list nonat extended permit ip LAN_Subnet 255.255.255.0 VPN_Subnet 255.255.255.0  
access-list inside_access_out remark NetworkScanner Scan-to-email outgoing (from scanner to Internet)  
access-list inside_access_out extended permit object-group TCPUDP host NetworkScanner object-group Scan-to-email any object-group Scan-to-email  
access-list inside_access_out extended permit tcp any interface outside eq httpsstatic (inside,outside) PUBLIC_IP LOCAL_IP[server object] netmask 255.255.255.255access-group inside_access_out out interface inside  
access-group acl_in in interface outside
access-group acl_out out interface outside
</code></pre>
<p>I wasn&#8217;t sure if I needed to reverse that &#8220;static&#8221; entry, since I got my question mixed up&#8230; and also with that last access-list entry, I tried interface inside and outside &#8211; neither proved successful&#8230; and I wasn&#8217;t sure about whether it should be www, since the site is running on https.  I assumed it should only be https.</p>
<div class="author">Asked by <a href="http://serverfault.com/users/57461/white-island" target="_blank">White Island</a></div>
<h3 class="pa"><img src="http://adminsgoodies.com/imgs/answer.png" alt="Answer" /></h3>
<p>Uh yearh probably it&#8217;s CISCO fault. Honestly for me ASDM it&#8217;s a bit confusing so I will pass you the command lines directive:</p>
<pre><code>ssh pix@INTERNAL_IP
[type cisco password]
enable
[retype password]
show conf &lt;- retrieve the config plain text
</code></pre>
<p>Now you should have lines like that</p>
<pre><code>access-group outside_access_in in interface outside
access-list outside_access_in extended permit tcp any interface outside eq www
</code></pre>
<p>Maybe the access-list name is different, but doesn&#8217;t matter. Also in my case the outside interface it&#8217;s an alias for the VLan2 on which is the internet connected. This allows traffic for www connection to be accepted.</p>
<p>Now for the port forwarding you need a line like that:</p>
<pre><code>static (inside,outside) tcp interface www LOCAL_IP www netmask 255.255.255.255
</code></pre>
<p>Again the inside it&#8217;s an name for my local interface, which act as an gateway for the network. If you con&#8217;t have lines like that just add them with <code>configure terminal</code>. Add the magic lines and should work. If you need any help in the console just use the magic <code>?</code> <img src='http://adminsgoodies.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<div class="author">Answered by <a href="http://serverfault.com/users/125983/golja" target="_blank">golja</a></div>
<p class="ref-link">Check <a href="http://serverfault.com/questions/405373/need-help-making-site-available-externally" target="_blank">more discussion</a> of this question.</p>
]]></content:encoded>
			<wfw:commentRss>http://adminsgoodies.com/need-help-making-site-available-externally/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ASA 5505 stops local internet when connected to VPN</title>
		<link>http://adminsgoodies.com/asa-5505-stops-local-internet-when-connected-to-vpn/</link>
		<comments>http://adminsgoodies.com/asa-5505-stops-local-internet-when-connected-to-vpn/#comments</comments>
		<pubDate>Mon, 09 Jul 2012 16:33:42 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[General Questions]]></category>
		<category><![CDATA[cisco-asa]]></category>
		<category><![CDATA[l2tp]]></category>
		<category><![CDATA[vpn]]></category>

		<guid isPermaLink="false">http://adminsgoodies.com/asa-5505-stops-local-internet-when-connected-to-vpn/</guid>
		<description><![CDATA[I have a Cisco ASA router running firmware 8.2(5) which hosts an internal LAN on 192.168.30.0/24. I have used the VPN Wizard to setup L2TP access and I can connect in fine from a Windows box and can ping hosts behind the VPN router. However, when connected to the VPN I can no longer ping out to my internet or browse web pages. I would like to be able to access the VPN, and also [...]]]></description>
				<content:encoded><![CDATA[<h3 class="pq"><img src="http://adminsgoodies.com/imgs/question.png" alt="Question" /></h3>
<p>I have a Cisco ASA router running firmware 8.2(5) which hosts an internal LAN on 192.168.30.0/24.</p>
<p>I have used the VPN Wizard to setup L2TP access and I can connect in fine from a Windows box and can ping hosts behind the VPN router.</p>
<p>However, when connected to the VPN I can no longer ping out to my internet or browse web pages. I would like to be able to access the VPN, and also browse the internet at the same time &#8211; I understand this is called split tunneling (have ticked the setting in the wizard but to no effect) and if so how do I do this?</p>
<p>Alternatively, if split tunneling is a pain to setup, then making the connected VPN client have internet access from the ASA WAN IP would be OK.</p>
<pre><code>names
!
interface Ethernet0/0
 switchport access vlan 2
!
interface Ethernet0/1
!
interface Vlan1
 nameif inside
 security-level 100
 ip address 192.168.30.1 255.255.255.0 
!
interface Vlan2
 nameif outside
 security-level 0
 ip address 208.74.158.58 255.255.255.252 
!
ftp mode passive
access-list inside_nat0_outbound extended permit ip any 10.10.10.0 255.255.255.128 
access-list inside_nat0_outbound extended permit ip 192.168.30.0 255.255.255.0 192.168.30.192 255.255.255.192 
access-list DefaultRAGroup_splitTunnelAcl standard permit 192.168.30.0 255.255.255.0 
access-list DefaultRAGroup_splitTunnelAcl_1 standard permit 192.168.30.0 255.255.255.0 
pager lines 24
logging asdm informational
mtu inside 1500
mtu outside 1500
ip local pool LANVPNPOOL 192.168.30.220-192.168.30.249 mask 255.255.255.0
icmp unreachable rate-limit 1 burst-size 1
no asdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 0 access-list inside_nat0_outbound
nat (inside) 1 192.168.30.0 255.255.255.0
route outside 0.0.0.0 0.0.0.0 208.74.158.57 1
timeout xlate 3:00:00
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 icmp 0:00:02
timeout sunrpc 0:10:00 h323 0:05:00 h225 1:00:00 mgcp 0:05:00 mgcp-pat 0:05:00
timeout sip 0:30:00 sip_media 0:02:00 sip-invite 0:03:00 sip-disconnect 0:02:00
timeout sip-provisional-media 0:02:00 uauth 0:05:00 absolute
timeout tcp-proxy-reassembly 0:01:00
timeout floating-conn 0:00:00
dynamic-access-policy-record DfltAccessPolicy
http server enable
http 192.168.30.0 255.255.255.0 inside
snmp-server enable traps snmp authentication linkup linkdown coldstart
crypto ipsec transform-set ESP-AES-256-MD5 esp-aes-256 esp-md5-hmac 
crypto ipsec transform-set ESP-DES-SHA esp-des esp-sha-hmac 
crypto ipsec transform-set ESP-3DES-SHA esp-3des esp-sha-hmac 
crypto ipsec transform-set ESP-DES-MD5 esp-des esp-md5-hmac 
crypto ipsec transform-set ESP-AES-192-MD5 esp-aes-192 esp-md5-hmac 
crypto ipsec transform-set ESP-3DES-MD5 esp-3des esp-md5-hmac 
crypto ipsec transform-set ESP-AES-256-SHA esp-aes-256 esp-sha-hmac 
crypto ipsec transform-set ESP-AES-128-SHA esp-aes esp-sha-hmac 
crypto ipsec transform-set ESP-AES-192-SHA esp-aes-192 esp-sha-hmac 
crypto ipsec transform-set ESP-AES-128-MD5 esp-aes esp-md5-hmac 
crypto ipsec transform-set TRANS_ESP_3DES_SHA esp-3des esp-sha-hmac 
crypto ipsec transform-set TRANS_ESP_3DES_SHA mode transport
crypto ipsec security-association lifetime seconds 28800
crypto ipsec security-association lifetime kilobytes 4608000
crypto dynamic-map SYSTEM_DEFAULT_CRYPTO_MAP 65535 set transform-set ESP-AES-128-SHA ESP-AES-128-MD5 ESP-AES-192-SHA ESP-AES-192-MD5 ESP-AES-256-SHA ESP-AES-256-MD5 ESP-3DES-SHA ESP-3DES-MD5 ESP-DES-SHA ESP-DES-MD5 TRANS_ESP_3DES_SHA
crypto map outside_map 65535 ipsec-isakmp dynamic SYSTEM_DEFAULT_CRYPTO_MAP
crypto map outside_map interface outside
crypto isakmp enable outside
crypto isakmp policy 10
 authentication pre-share
 encryption 3des
 hash sha
 group 2
 lifetime 86400
telnet timeout 5
ssh timeout 5
console timeout 0
dhcpd auto_config outside
!threat-detection basic-threat
threat-detection statistics access-list
no threat-detection statistics tcp-intercept
webvpn
group-policy DefaultRAGroup internal
group-policy DefaultRAGroup attributes
 dns-server value 192.168.30.3
 vpn-tunnel-protocol l2tp-ipsec 
 split-tunnel-policy tunnelspecified
 split-tunnel-network-list value DefaultRAGroup_splitTunnelAcl_1
username user password Cj7W5X7wERleAewO8ENYtg== nt-encrypted privilege 0
tunnel-group DefaultRAGroup general-attributes
 address-pool LANVPNPOOL
 default-group-policy DefaultRAGroup
tunnel-group DefaultRAGroup ipsec-attributes
 pre-shared-key *****
tunnel-group DefaultRAGroup ppp-attributes
 no authentication chap
 authentication ms-chap-v2
!
class-map inspection_default
 match default-inspection-traffic
!
!
policy-map type inspect dns preset_dns_map
 parameters
  message-length maximum client auto
  message-length maximum 512
policy-map global_policy
 class inspection_default
  inspect dns preset_dns_map 
  inspect ftp 
  inspect h323 h225 
  inspect h323 ras 
  inspect rsh 
  inspect rtsp 
  inspect esmtp 
  inspect sqlnet 
  inspect skinny  
  inspect sunrpc 
  inspect xdmcp 
  inspect sip  
  inspect netbios 
  inspect tftp 
  inspect ip-options 
!
service-policy global_policy global
prompt hostname context 
: end
</code></pre>
<div class="author">Asked by <a href="http://serverfault.com/users/118418/g18c" target="_blank">g18c</a></div>
<h3 class="pa"><img src="http://adminsgoodies.com/imgs/answer.png" alt="Answer" /></h3>
<p>Which client software are you using to connect?  Split tunneling is set up, but I believe you&#8217;ll need to be connecting with the Cisco client software for it to function.</p>
<p>Anyway, to get the VPN client&#8217;s internet traffic to make it out to the internet, looks like all you need is:</p>
<pre><code>same-security-traffic permit intra-interface
nat (outside) 1 192.168.30.0 255.255.255.0
</code></pre>
<div class="author">Answered by <a href="http://serverfault.com/users/72586/shane-madden" target="_blank">Shane Madden</a></div>
<p class="ref-link">Check <a href="http://serverfault.com/questions/405878/asa-5505-stops-local-internet-when-connected-to-vpn" target="_blank">more discussion</a> of this question.</p>
]]></content:encoded>
			<wfw:commentRss>http://adminsgoodies.com/asa-5505-stops-local-internet-when-connected-to-vpn/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MAC to IP binding in ASA 5510 / SG 300-52</title>
		<link>http://adminsgoodies.com/mac-to-ip-binding-in-asa-5510-sg-300-52/</link>
		<comments>http://adminsgoodies.com/mac-to-ip-binding-in-asa-5510-sg-300-52/#comments</comments>
		<pubDate>Sun, 08 Jul 2012 16:33:04 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[General Questions]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[cisco-asa]]></category>
		<category><![CDATA[ip]]></category>
		<category><![CDATA[lan]]></category>
		<category><![CDATA[mac]]></category>

		<guid isPermaLink="false">http://adminsgoodies.com/mac-to-ip-binding-in-asa-5510-sg-300-52/</guid>
		<description><![CDATA[I am trying to configure a Cisco ASA 5510 to assign specific IP-addresses to specific MACs. Firmware on my ASA is 8.2(5). I have used this feature in our previous device (Cisco SA-520W). I have also read that this feature is (not yet) implemented. How do I work around this problem, if not by direct assignment? Do I need to specify fixed IP&#8217;s on concerned devices themselves? I also have a SG 300-52 switch for [...]]]></description>
				<content:encoded><![CDATA[<h3 class="pq"><img src="http://adminsgoodies.com/imgs/question.png" alt="Question" /></h3>
<p>I am trying to configure a Cisco ASA 5510 to assign specific IP-addresses to specific MACs. Firmware on my ASA is 8.2(5). I have used this feature in our previous device (Cisco SA-520W). I have also read that this feature is (not yet) implemented. How do I work around this problem, if not by direct assignment? Do I need to specify fixed IP&#8217;s on concerned devices themselves?</p>
<p>I also have a SG 300-52 switch for our LAN. We cannot specify IP-addresses to ports, because we have further switches down the line.</p>
<div class="author">Asked by <a href="http://serverfault.com/users/127487/sampsa" target="_blank">Sampsa</a></div>
<h3 class="pa"><img src="http://adminsgoodies.com/imgs/answer.png" alt="Answer" /></h3>
<p>Your best option is probably to run DHCP on the Windows server, since it&#8217;ll have the needed DHCP reservation capability.</p>
<p>If the server is in a different broadcast domain as the one you&#8217;re providing addresses for, you&#8217;ll need to have the ASA act as a DHCP relay &#8211; that&#8217;s configured with the <code>dhcprelay enable</code> and <code>dhcprelay server</code> commands.</p>
<div class="author">Answered by <a href="http://serverfault.com/users/72586/shane-madden" target="_blank">Shane Madden</a></div>
<p class="ref-link">Check <a href="http://serverfault.com/questions/405706/mac-to-ip-binding-in-asa-5510-sg-300-52" target="_blank">more discussion</a> of this question.</p>
]]></content:encoded>
			<wfw:commentRss>http://adminsgoodies.com/mac-to-ip-binding-in-asa-5510-sg-300-52/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cisco ASA Command length</title>
		<link>http://adminsgoodies.com/cisco-asa-command-length/</link>
		<comments>http://adminsgoodies.com/cisco-asa-command-length/#comments</comments>
		<pubDate>Thu, 17 May 2012 14:33:18 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[General Questions]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[cisco-asa]]></category>
		<category><![CDATA[command-line]]></category>

		<guid isPermaLink="false">http://adminsgoodies.com/cisco-asa-command-length/</guid>
		<description><![CDATA[Whenever I write some command in ASA , it hides the full command and show the bit of command . What is the way to increase the length of Commands I write in ASA, so it doesn&#8217;t hide the command written on the Terminal Session? I tried to google it but not able to find the solution (ASA)#sho run object-group id $ Asked by user121080 You&#8217;d need to modify the terminal width parameter on the [...]]]></description>
				<content:encoded><![CDATA[<h3 class="pq"><img src="http://adminsgoodies.com/imgs/question.png" alt="Question" /></h3>
<p>Whenever I write some command in ASA , it hides the full command and show the bit of command . What is the way to increase the length of Commands I write in ASA, so it doesn&#8217;t hide the command written on the Terminal Session? I tried to google it but not able to find the solution </p>
<pre><code>(ASA)#sho run object-group id $
</code></pre>
<div class="author">Asked by <a href="http://serverfault.com/users/121080/user121080" target="_blank">user121080</a></div>
<h3 class="pa"><img src="http://adminsgoodies.com/imgs/answer.png" alt="Answer" /></h3>
<p>You&#8217;d need to modify the <a href="http://www.cisco.com/en/US/docs/security/asa/asa81/command/ref/t.html#wp1483720" rel="nofollow">terminal width parameter</a> on the ASA to a value greater than the default of 80 columns.</p>
<div class="author">Answered by <a href="http://serverfault.com/users/13325/ewwhite" target="_blank">ewwhite</a></div>
<p class="ref-link">Check <a href="http://serverfault.com/questions/389575/cisco-asa-command-length" target="_blank">more discussion</a> of this question.</p>
]]></content:encoded>
			<wfw:commentRss>http://adminsgoodies.com/cisco-asa-command-length/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cisco ASA Config for PCI Compliant Office</title>
		<link>http://adminsgoodies.com/cisco-asa-config-for-pci-compliant-office/</link>
		<comments>http://adminsgoodies.com/cisco-asa-config-for-pci-compliant-office/#comments</comments>
		<pubDate>Sun, 13 May 2012 16:33:16 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[General Questions]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[cisco-asa]]></category>
		<category><![CDATA[firewall]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://adminsgoodies.com/cisco-asa-config-for-pci-compliant-office/</guid>
		<description><![CDATA[We have a small business office, but due to PCI compliance we need to segment this into two internet networks (one &#8216;compliant&#8217; and one for any other devices to use). We currently have a Draytek modem/wan load balancer which also has firewalling but this is very basic and doesn&#8217;t support seperate security policies on each vlan. As such, I have just purchased an ASA 5505 and would like some pointers to setting things up: VLANS: [...]]]></description>
				<content:encoded><![CDATA[<h3 class="pq"><img src="http://adminsgoodies.com/imgs/question.png" alt="Question" /></h3>
<p>We have a small business office, but due to PCI compliance we need to segment this into two internet networks (one &#8216;compliant&#8217; and one for any other devices to use).</p>
<p>We currently have a Draytek modem/wan load balancer which also has firewalling but this is very basic and doesn&#8217;t support seperate security policies on each vlan.</p>
<p>As such, I have just purchased an ASA 5505 and would like some pointers to setting things up:</p>
<p>VLANS: </p>
<ol>
<li>Outside (draytek)  </li>
<li>InsidePci (our secure zone, contains a windows domain controler/dhcp/etc)  </li>
<li>Inside (just a regular network that just has internet access and no connection to vlan </li>
</ol>
<p>My Questions:  </p>
<ol>
<li>
<p>At the moment everything is on one subnet 192.168.2.x. The draytek has a static IP and everything else is allocated an IP from our Windows DHCP Server. As this windows server will be within the &#8216;insidepci&#8217; network I was planning to have this vlan continue to use that, and the regular &#8216;inside&#8217; network using DHCP from the ASA. Is that possible?</p>
</li>
<li>
<p>Do I need to put the draytek on it&#8217;s own subnet (so just the draytek is on say 192.168.3.x) as it seems I cant allocate an IP in the same range to two different VLANs.</p>
</li>
<li>
<p>From looking at one of the online guides, it seems I would then need an internal router? I wasn&#8217;t aware of this, I was hoping I could just assign one switch to the &#8216;inside&#8217; VLAN and a seperate switch to the &#8216;insidepci&#8217; vlan? There isn&#8217;t a need to communicate between these VLANS but both need to be able to access &#8216;outside&#8217; (draytek gateway)</p>
</li>
</ol>
<div class="author">Asked by <a href="http://serverfault.com/users/107314/ben-sebborn" target="_blank">Ben Sebborn</a></div>
<h3 class="pa"><img src="http://adminsgoodies.com/imgs/answer.png" alt="Answer" /></h3>
<p>When it comes to PCI compliance, the number one thing you want to do is find every way you can to limit your scope. You&#8217;re already making good headway with your network segmentation by actually thinking about what systems are not involved and moving them somewhere else. In a perfect world, your PCI environment would be housed in a physically separate network, however that is not a requirement. The best way to conceptualize your segmentation is around the idea of a broadcast domain. There are actually a lot of different ways you can adequately get the necessary level of segmentation,</p>
<ul>
<li>Placing your in-scope equipment on a separate subnet</li>
<li>Placing your in-scope equipment on a private VLAN in the same address space as out-of-scope</li>
<li>Installing a transparent firewall between in-scope and out-of-scope</li>
<li>etc</li>
</ul>
<p>All that being said, you should be able to get away with using the 5505 as your primary isolation device, and hanging other switches off of it if you need additional ports. You just want to make sure that any traffic from the <code>inside</code> VLAN passes through the firewall module before entering the <code>insidepci</code> VLAN.</p>
<p>The PCI Security Standards Council has a document called <a href="https://www.pcisecuritystandards.org/documents/navigating_dss_v20.pdf" rel="nofollow">Navigating the PCI DSS v2.0</a>. I would highly recommend reading through it so you can better understand the <em>intent</em> of the requirements. That should help you frame the requirements properly for compliance.</p>
<p><em>Disclaimer: I am not a QSA, ASV, or ISA. Any advice I give is friendly and following it in no way implies compliance.</em></p>
<div class="author">Answered by <a href="http://serverfault.com/users/3356/scott-pack" target="_blank">Scott Pack</a></div>
<p class="ref-link">Check <a href="http://serverfault.com/questions/365051/cisco-asa-config-for-pci-compliant-office" target="_blank">more discussion</a> of this question.</p>
]]></content:encoded>
			<wfw:commentRss>http://adminsgoodies.com/cisco-asa-config-for-pci-compliant-office/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
