<?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 Hi, in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/asa-port-forwarding/m-p/2893070#M172276</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Looking to your configuration lines is NAT is well configured though the service objects you need to take in consideration the NAT used is trying to NAT the source and not the destination both of them have to be configured as "source eq" rule is going from source to destination is more a matter of perspective&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;object network&amp;nbsp;&lt;SPAN&gt;obj-192.01&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;host 192.168.0.1&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;object service&amp;nbsp;&lt;SPAN&gt;obj-ssh&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;service tcp destination eq 22&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;object service&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;obj-ssh2000&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;service tcp destination eq 2000&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;nat ( inside,outside)&amp;nbsp;source static obj-192.01 interface service obj-ssh obj-ssh2000&lt;/P&gt;</description>
    <pubDate>Tue, 23 Feb 2016 14:35:49 GMT</pubDate>
    <dc:creator>kvaldelo</dc:creator>
    <dc:date>2016-02-23T14:35:49Z</dc:date>
    <item>
      <title>ASA Port forwarding</title>
      <link>https://community.cisco.com/t5/network-security/asa-port-forwarding/m-p/2893069#M172275</link>
      <description>&lt;P&gt;Hi All,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;I am trying to do a port forwarding if it is received on the outside interface with ip address of 1.1.1.1 and port 2000&lt;/P&gt;
&lt;P&gt;this packet should be translated to destination address 192.168.0.1 and port 22&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;here is what I have &amp;nbsp;and it doesn't work&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;object network&amp;nbsp;&lt;SPAN&gt;obj-192.01 &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;host 192.168.0.1&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;object service&amp;nbsp;&lt;SPAN&gt;obj-ssh&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;service tcp destination eq 22&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;object service&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;obj-ssh2000&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;service tcp destination eq 2000&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;nat ( inside,outside)&amp;nbsp;source static obj-192.01 interface service obj-ssh obj-ssh2000&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;I have also tried to have the object as "&lt;SPAN&gt;service tcp destination eq 22 source eq 22" with no luck . Why does the service object has source and destination and is it really used or just the port numbers are used rather than source and destination ?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I am thinking of next using "service-object port ".&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;the only way I can get it to work is&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;object network&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;obj-192.01&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;nat (inside,outside) static interface service tcp 22 2000&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;why does it not work if not defined using object nat ?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;also if I make it unidirectional does this mean all incoming connection from outside will use that rule and any traffic matching that critiria will use other nat rules?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 07:23:11 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/asa-port-forwarding/m-p/2893069#M172275</guid>
      <dc:creator>cisco8887</dc:creator>
      <dc:date>2019-03-12T07:23:11Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.cisco.com/t5/network-security/asa-port-forwarding/m-p/2893070#M172276</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Looking to your configuration lines is NAT is well configured though the service objects you need to take in consideration the NAT used is trying to NAT the source and not the destination both of them have to be configured as "source eq" rule is going from source to destination is more a matter of perspective&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;object network&amp;nbsp;&lt;SPAN&gt;obj-192.01&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;host 192.168.0.1&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;object service&amp;nbsp;&lt;SPAN&gt;obj-ssh&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;service tcp destination eq 22&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;object service&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;obj-ssh2000&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;service tcp destination eq 2000&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;nat ( inside,outside)&amp;nbsp;source static obj-192.01 interface service obj-ssh obj-ssh2000&lt;/P&gt;</description>
      <pubDate>Tue, 23 Feb 2016 14:35:49 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/asa-port-forwarding/m-p/2893070#M172276</guid>
      <dc:creator>kvaldelo</dc:creator>
      <dc:date>2016-02-23T14:35:49Z</dc:date>
    </item>
  </channel>
</rss>

