We help IT Professionals succeed at work.
Get Started

Port Address Translation Not Working

sabbakwa
sabbakwa asked
on
263 Views
Last Modified: 2010-04-08
I thought I had PAT down, but it seems as if I'm still way off base.

Can someone tell me why this isn't working?

I'm trying to accomplish the following:

1) ssh 209.16.9.94 on port 1022 --> forward to 192.168.1.1 on port 22
2) ssh 209.16.9.94 on port 2022 --> forward to 192.168.1.2 on port 22
3) ssh 209.16.9.94 on port 3022 --> forward to 192.168.1.3 on port 22

NOTE: THESE IP ADDRESSES AREN'T MY ACTUAL ADDRESSES

---------------------------------------------------------------------------

Building configuration...
: Saved
:
PIX Version 6.3(3)
interface ethernet0 100full
interface ethernet1 auto
interface ethernet2 auto shutdown
interface ethernet3 auto shutdown
interface ethernet4 auto shutdown
interface ethernet5 auto shutdown
nameif ethernet0 outside security0
nameif ethernet1 inside security100
nameif ethernet2 intf2 security4
nameif ethernet3 intf3 security6
nameif ethernet4 intf4 security8
nameif ethernet5 intf5 security10
enable password 8Ry2YjIyt7RRXU24 encrypted
passwd H8FagjK1gVCNRzBO encrypted
hostname pixfirewall
domain-name example.us
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
names
access-list outside_access_in permit tcp any any
pager lines 24
mtu outside 1500
mtu inside 1500
mtu intf2 1500
mtu intf3 1500
mtu intf4 1500
mtu intf5 1500
ip address outside 209.16.9.94 255.255.255.252
ip address inside 192.168.16.10 255.255.255.0
no ip address intf2
no ip address intf3
no ip address intf4
no ip address intf5
ip audit info action alarm
ip audit attack action alarm
no failover
failover timeout 0:00:00
failover poll 15
no failover ip address outside
no failover ip address inside
no failover ip address intf2
no failover ip address intf3
no failover ip address intf4
no failover ip address intf5
pdm location 66.241.25.23 255.255.255.255 outside
pdm location 192.168.16.3 255.255.255.255 inside
pdm location 192.168.16.1 255.255.255.255 inside
pdm location 192.168.16.2 255.255.255.255 inside
pdm history enable
arp timeout 14400
global (outside) 10 interface
nat (inside) 10 0.0.0.0 0.0.0.0 0 0
static (inside,outside) tcp interface 1022 192.168.16.1 ssh netmask 255.255.255.255 0 0
static (inside,outside) tcp interface 2022 192.168.16.2 ssh netmask 255.255.255.255 0 0
static (inside,outside) tcp interface 3022 192.168.16.3 ssh netmask 255.255.255.255 0 0
access-group outside_access_in in interface outside
route outside 0.0.0.0 0.0.0.0 209.16.9.93 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 uauth 0:05:00 absolute
aaa-server TACACS+ protocol tacacs+
aaa-server RADIUS protocol radius
aaa-server LOCAL protocol local
http server enable
http 66.241.25.23 255.255.255.255 outside
no snmp-server location
no snmp-server contact
snmp-server community public
no snmp-server enable traps
floodguard enable
telnet timeout 5
ssh 66.241.25.23 255.255.255.255 outside
ssh 192.168.16.3 255.255.255.255 inside
ssh timeout 5
console timeout 0
terminal width 80
Cryptochecksum:f634b0a2c99c3d1471bf1af7b1e7e055
: end
[OK]
Comment
Watch Question
CERTIFIED EXPERT
Commented:
This problem has been solved!
Unlock 1 Answer and 3 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE