Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

pix cable modem configuration DHCP but need static

I am going to connect a Pix 501 to a cable modem. It is going to use DHCP. I am going to use the following configuration but have a question. I need to be able to get a Remote Desktop Connection on a server behind the PIX. I am going to have only 1 outside IP address and it's going to be DHCP. Any suggestions on how to get this to work? There is only one machine behing the PIX and possible two. Here is the config I was going to use but I am not sure how to do the NAT/PAT.

PIX Version 6.3(5)

interface ethernet0 auto

interface ethernet1 100full

nameif ethernet0 outside security0

nameif ethernet1 inside security100

enable password PVSASRJovmamnVkD encrypted

passwd PVSASRJovmamnVkD encrypted

hostname pixMDC


fixup protocol dns maximum-length 512

fixup protocol ftp 21

fixup protocol h323 h225 1720

fixup protocol h323 ras 1718-1719

fixup protocol http 80

fixup protocol rsh 514

fixup protocol rtsp 554

fixup protocol sip 5060

fixup protocol sip udp 5060

fixup protocol skinny 2000

fixup protocol smtp 25

fixup protocol sqlnet 1521

fixup protocol tftp 69


pager lines 24

mtu outside 1500

mtu inside 1500

ip address outside dhcp setroute

ip address inside

ip audit info action alarm

ip audit attack action alarm

pdm location inside

pdm logging informational 100

pdm history enable

arp timeout 14400

global (outside) 1 interface

nat (inside) 1 0 0

access-group outside_access_in in interface outside

timeout xlate 0:05: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 inside

http inside

no snmp-server location

no snmp-server contact

snmp-server community public

no snmp-server enable traps

floodguard enable

telnet inside

telnet timeout 5

ssh timeout 5

console timeout 0

dhcpd address inside

dhcpd dns

dhcpd lease 3600

dhcpd ping_timeout 750

dhcpd auto_config outside

terminal width 80


New Member

Re: pix cable modem configuration DHCP but need static

first create the access-list

access-list inbound permit tcp any interface outside eq 3389

apply access-list to interface

access-group inbound in interface outside

Then create the NAT statements

static (inside,outside) tcp interface 3389 xx.xx.xx.xx 3389 netmask 0 0

(where xx is the internal address of the workstation you want to connect to.)

I would recommend you changing the outside RDP ports to something different for ex: 3390

you can do this by changing the nat statement

static (inside,outside) tcp interface 3390 xx.xx.xx.xx 3389 netmask 0 0

we will also have to change the access-list to access-list inbound permit tcp any interface outside eq 3390