<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Static NAT in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/static-nat/m-p/787113#M991440</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it will be a windows box where i would like to run the script from!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks very much&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Aug 2007 12:00:01 GMT</pubDate>
    <dc:creator>img</dc:creator>
    <dc:date>2007-08-16T12:00:01Z</dc:date>
    <item>
      <title>Static NAT</title>
      <link>https://community.cisco.com/t5/network-security/static-nat/m-p/787107#M991434</link>
      <description>&lt;P&gt;I wonder that can we configure Time based Static nat i.e During Office hours my private IP to be natted to a Public IP but after office hours the IP should be natted to a diffrent public IP ? is it possible any ways ?&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2019 10:58:27 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/static-nat/m-p/787107#M991434</guid>
      <dc:creator>img</dc:creator>
      <dc:date>2019-03-11T10:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: Static NAT</title>
      <link>https://community.cisco.com/t5/network-security/static-nat/m-p/787108#M991435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can use time based access lists for control &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-custom" href="http://www.cisco.com/en/US/docs/security/asa/asa72/command/reference/a1_72.html#wp1444018" target="_blank"&gt;http://www.cisco.com/en/US/docs/security/asa/asa72/command/reference/a1_72.html#wp1444018&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but nat cannot be done based on time instead u could try using policy nat if that solves ur purpose using &lt;/P&gt;&lt;P&gt;source and destination address but here time based access lists will not be supported &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-custom" href="http://www.cisco.com/en/US/docs/security/asa/asa72/configuration/guide/cfgnat.html#wp1042553" target="_blank"&gt;http://www.cisco.com/en/US/docs/security/asa/asa72/configuration/guide/cfgnat.html#wp1042553&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2007 05:18:27 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/static-nat/m-p/787108#M991435</guid>
      <dc:creator>rajbhatt</dc:creator>
      <dc:date>2007-08-16T05:18:27Z</dc:date>
    </item>
    <item>
      <title>Re: Static NAT</title>
      <link>https://community.cisco.com/t5/network-security/static-nat/m-p/787109#M991436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As previous poster said you cannot do NAT based on time but it would be relatively easy to write a script that logs onto your firewall, clears the xlate for that static and then sets up a different static translation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2007 06:09:38 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/static-nat/m-p/787109#M991436</guid>
      <dc:creator>Jon Marshall</dc:creator>
      <dc:date>2007-08-16T06:09:38Z</dc:date>
    </item>
    <item>
      <title>Re: Static NAT</title>
      <link>https://community.cisco.com/t5/network-security/static-nat/m-p/787110#M991437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please provide me a sample script ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2007 11:13:18 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/static-nat/m-p/787110#M991437</guid>
      <dc:creator>img</dc:creator>
      <dc:date>2007-08-16T11:13:18Z</dc:date>
    </item>
    <item>
      <title>Re: Static NAT</title>
      <link>https://community.cisco.com/t5/network-security/static-nat/m-p/787111#M991438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will try and dig one out that i did a while back to do a similiar sort of thing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Couple of questions &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Are you familiar with Tcl/TK&lt;/P&gt;&lt;P&gt;2) Are you familiar with Perl&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have a linux/unix box to run the script from or will it be a windows box. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2007 11:44:20 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/static-nat/m-p/787111#M991438</guid>
      <dc:creator>Jon Marshall</dc:creator>
      <dc:date>2007-08-16T11:44:20Z</dc:date>
    </item>
    <item>
      <title>Re: Static NAT</title>
      <link>https://community.cisco.com/t5/network-security/static-nat/m-p/787112#M991439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;nup i am not  familer with both the scripting you mentioned but just provide me sample script, my look out to understand it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2007 11:59:06 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/static-nat/m-p/787112#M991439</guid>
      <dc:creator>img</dc:creator>
      <dc:date>2007-08-16T11:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: Static NAT</title>
      <link>https://community.cisco.com/t5/network-security/static-nat/m-p/787113#M991440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it will be a windows box where i would like to run the script from!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks very much&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2007 12:00:01 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/static-nat/m-p/787113#M991440</guid>
      <dc:creator>img</dc:creator>
      <dc:date>2007-08-16T12:00:01Z</dc:date>
    </item>
    <item>
      <title>Re: Static NAT</title>
      <link>https://community.cisco.com/t5/network-security/static-nat/m-p/787114#M991441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay, no problem. As it's windows it might take a bit of time to dig out so bear with me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2007 12:04:44 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/static-nat/m-p/787114#M991441</guid>
      <dc:creator>Jon Marshall</dc:creator>
      <dc:date>2007-08-16T12:04:44Z</dc:date>
    </item>
    <item>
      <title>Re: Static NAT</title>
      <link>https://community.cisco.com/t5/network-security/static-nat/m-p/787115#M991444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can install perl on windows (aka activeperl).  You will also need the Windows version of the net::telnet &amp;amp; net::&lt;A class="jive-link-custom" href="telnet::cisco" target="_blank"&gt;telnet::cisco&lt;/A&gt; modules.  Adjust passwds and IP accordingly.  Once you have the script working, just schedule it using windows.&lt;/P&gt;&lt;P&gt;=================================&lt;/P&gt;&lt;P&gt;#!/usr/bin/perl -w  (adjust this accordingly)&lt;/P&gt;&lt;P&gt;use Net::&lt;A class="jive-link-custom" href="Telnet::Cisco" target="_blank"&gt;Telnet::Cisco&lt;/A&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$passwd = 'telnet_passwd';&lt;/P&gt;&lt;P&gt;$enable_passwd = 'enable_passwd';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$pix = '192.168.1.1';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;   my $session = Net::&lt;A class="jive-link-custom" href="Telnet::Cisco-" target="_blank"&gt;Telnet::Cisco-&lt;/A&gt;&amp;gt;new(Host =&amp;gt; $pix, Timeout =&amp;gt; 30);&lt;/P&gt;&lt;P&gt;   $session-&amp;gt;prompt('/[\$%#&amp;gt;] $/');&lt;/P&gt;&lt;P&gt;   $session-&amp;gt;login('pix', $passwd);&lt;/P&gt;&lt;P&gt;   $session-&amp;gt;enable($enable_passwd);&lt;/P&gt;&lt;P&gt;   $session-&amp;gt;cmd("conf t\nno static (inside,outside) 10.10.10.10 10.10.10.10\nstatic (inside,outside) 11.11.11.11 10.10.10.10");&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;==============&lt;/P&gt;&lt;P&gt;i've never configured a PeRL script to use ssh, but i suppose its possible.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Aug 2007 02:40:58 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/static-nat/m-p/787115#M991444</guid>
      <dc:creator>srue</dc:creator>
      <dc:date>2007-08-18T02:40:58Z</dc:date>
    </item>
  </channel>
</rss>

