Solved

Need to add two PATs or NATs for incoming RDP using CLI (not PDM)

Posted on 2007-11-29
2
393 Views
Last Modified: 2010-04-21
I have an in production PIX 506E, for a few years now, that has been working fine but I need to add through the CLI (PDM is not working for some reason) 2 PAT/NAT entries that will allow incoming tech support (64.100.100.1) to RDP (TS) into two different servers on the inside (private), 192.168.9.3 and 192.168.9.4 respectively.  Currently using 65.100.112.2 (Public) for all outgoing HTTP(S) browsing as well as incoming VPN clients.  This is working fine and I don't want to break any of this.  I have available two more free Public addresses, 65.100.112.3 and 65.100.112.4, that I want to PAT/NAT into 192.168.9.3 and 192.168.9.4 and only allow RDP incoming from 64.100.100.1 to 64.100.100.5.  I assme PAT is better for this, but perhaps NAT works too since I have the 1 to 1 connection.

thanks,

sgh_aba
fixup protocol smtp 25
fixup protocol sqlnet 1521
fixup protocol tftp 69
 
 
names
 
access-list inside_outbound_nat0_acl permit ip 192.168.9.0 255.255.255.0 192.168.200.0 255.255.255.224 
access-list inside_outbound_nat0_acl permit ip 192.168.9.0 255.255.255.0 192.168.200.48 255.255.255.248 
access-list outside_cryptomap_dyn_20 permit ip any 192.168.200.0 255.255.255.224 
access-list outside_cryptomap_dyn_40 permit ip any 192.168.200.48 255.255.255.248 
pager lines 24
logging on
mtu outside 1500
mtu inside 1500
ip address outside 65.100.112.2 255.255.255.248
ip address inside 192.168.9.1 255.255.255.0
ip audit info action alarm
ip audit attack action alarm
ip local pool MYP1 192.168.200.1-192.168.200.29
ip local pool MYVP1 192.168.200.50-192.168.200.53
pdm location 192.168.9.252 255.255.255.255 inside
pdm logging informational 100
pdm history enable
arp timeout 14400
global (outside) 10 interface
nat (inside) 0 access-list inside_outbound_nat0_acl
nat (inside) 10 0.0.0.0 0.0.0.0 0 0
route outside 0.0.0.0 0.0.0.0 65.100.112.1 1
timeout xlate 3:00:00
 
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 rpc 0:10:00 h225 1:00:00
timeout h323 0:05:00 mgcp 0:05:00 sip 0:30:00 sip_media 0:02:00
timeout sip-disconnect 0:02:00 sip-invite 0:03:00
timeout uauth 0:05:00 absolute
aaa-server TACACS+ protocol tacacs+ 
aaa-server TACACS+ max-failed-attempts 3 
aaa-server TACACS+ deadtime 10 
aaa-server RADIUS protocol radius 
aaa-server RADIUS max-failed-attempts 3 
aaa-server RADIUS deadtime 10 
aaa-server LOCAL protocol local 
http server enable
http 192.168.9.0 255.255.255.0 inside
no snmp-server location
no snmp-server contact
snmp-server community public
no snmp-server enable traps
floodguard enable
sysopt connection permit-ipsec
crypto ipsec transform-set ESP-3DES-MD5 esp-3des esp-md5-hmac 
crypto dynamic-map outside_dyn_map 20 match address outside_cryptomap_dyn_20
crypto dynamic-map outside_dyn_map 20 set transform-set ESP-3DES-MD5
crypto dynamic-map outside_dyn_map 40 match address outside_cryptomap_dyn_40
crypto dynamic-map outside_dyn_map 40 set transform-set ESP-3DES-MD5
 
crypto map outside_map 65535 ipsec-isakmp dynamic outside_dyn_map
crypto map outside_map interface outside
isakmp enable outside
isakmp policy 20 authentication pre-share
isakmp policy 20 encryption 3des
isakmp policy 20 hash md5
isakmp policy 20 group 2
isakmp policy 20 lifetime 86400
vpngroup MYG1 address-pool MYP1
vpngroup MYG1 idle-time 1800
vpngroup MYG1 password ********
vpngroup MYVG1 address-pool MYVP1
vpngroup MYVG1 idle-time 1800
vpngroup MYVG1 password ********
telnet 192.168.9.0 255.255.255.0 inside
telnet 192.168.200.0 255.255.255.0 inside
telnet timeout 5
ssh timeout 5
console timeout 0
terminal width 80

Open in new window

0
Comment
Question by:sgh_aba
2 Comments
 
LVL 28

Accepted Solution

by:
batry_boy earned 500 total points
ID: 20376573
Add the following commands to your configuration:

static (inside,outside) 65.100.112.3 192.168.9.3 netmask 255.255.255.255
static (inside,outside) 65.100.112.4 192.168.9.4 netmask 255.255.255.255
access-list outside_access_in permit tcp host 64.100.100.1 host 65.100.112.3 eq 3389
access-list outside_access_in permit tcp host 64.100.100.1 host 65.100.112.4 eq 3389
access-list outside_access_in permit tcp host 64.100.100.5 host 65.100.112.3 eq 3389
access-list outside_access_in permit tcp host 64.100.100.5 host 65.100.112.4 eq 3389
access-group outside_access_in in interface outside

That should do it...
0
 
LVL 1

Author Closing Comment

by:sgh_aba
ID: 31411758
thanks very much for your quick, direct, and accurate response.  I put in the changes, and everything worked with no downtime.

sgh_aba
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
CISCO wireless controller & AP 2 40
Edge switch problems cisco 2960 25 53
Change SSH password on Cisco 4331 ISR 4 31
New CLI Commands Needed for Cisco ASA 5506 5 25
When I upgraded my ASA 8.2 to 8.3, I realized that my nonat statement was failing!   The log showed the following error:     %ASA-5-305013: Asymmetric NAT rules matched for forward and reverse flows It was caused by the config upgrade, because t…
Overview The Cisco PIX 501, PIX 506e, ASA 5505 and ASA 5510 (most if not all of this information will be relevant to the PIX 515e but I do not have a working configuration handy to verify the validity) are primarily used within small to medium busi…
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…
Both in life and business – not all partnerships are created equal. Spend 30 short minutes with us to learn:   • Key questions to ask when considering a partnership to accelerate your business into the cloud • Pitfalls and mistakes other partners…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question