Link to home
Start Free TrialLog in
Avatar of sgh_aba
sgh_abaFlag for United States of America

asked on

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

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

ASKER CERTIFIED SOLUTION
Avatar of batry_boy
batry_boy
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sgh_aba

ASKER

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

sgh_aba