Solved

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

Posted on 2007-11-29
2
386 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Have you experienced traffic destined through a Cisco ASA firewall disappears and you do not know if the traffic stops in the firewall or somewhere else? The solution is the capture feature. This feature was released in 6.2(1) and works in all firew…
I recently updated from an old PIX platform to the new ASA platform.  While upgrading, I was tremendously confused about how the VPN and AnyConnect licensing works.  It turns out that the ASA has 3 different VPN licensing schemes. "site-to-site" …
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …
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…

861 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now