Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Outside PAT help!

Status
Not open for further replies.
Jul 1, 2003
6
GB
Hi

I am trying to get ouside nat working on a PIX 6.2.2, I have a Public (172.16.1.100 for example) outside IP address that is then NAT'd to an internal address (10.10.10.8). Only a certain range of addresses are allowed to access this, I currently have this set to 1.1.1.0/24.

The internal network (10.10.10.0/24) must be PAT'd out on 172.16.1.199

I can get this working fine for a single outside address (1.1.1.2) to access the internal server, and also the internal address are PAT'd out, but... when I try to perform a static outside PAT it seems to stop my internal NAT from working.

Here's my config

pixfirewall(config)# sh run
: Saved
:
PIX Version 6.3(3)
interface ethernet0 auto
interface ethernet1 auto
interface ethernet2 auto shutdown
interface ethernet3 auto shutdown
nameif ethernet0 outside security0
nameif ethernet1 inside security100
nameif ethernet2 intf2 security4
nameif ethernet3 intf3 security6
enable password 8Ry2YjIyt7RRXU24 encrypted
passwd 2KFQnbNIdI.2KYOU encrypted
hostname pixfirewall
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 101 permit ip 1.1.1.0 255.255.255.0 172.16.1.0 255.255.255.0
access-list permitted permit tcp host 10.10.10.8 eq telnet 1.1.1.0 255.255.255.0
pager lines 24
mtu outside 1500
mtu inside 1500
mtu intf2 1500
mtu intf3 1500
ip address outside 172.16.1.1 255.255.255.0
ip address inside 10.10.10.1 255.255.255.0
no ip address intf2
no ip address intf3
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
pdm history enable
arp timeout 14400
global (outside) 5 172.16.1.199
nat (inside) 5 10.10.10.0 255.255.255.0 0 0
static (inside,outside) tcp 172.16.1.100 telnet access-list permitted 0 0
static (outside,inside) 10.10.10.150 1.1.1.2 netmask 255.255.255.255 0 0
access-group 101 in interface outside
conduit permit ip 1.1.1.0 255.255.255.0 172.16.1.0 255.255.255.0
route outside 0.0.0.0 0.0.0.0 172.16.1.2 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
no snmp-server location
no snmp-server contact
snmp-server community public
no snmp-server enable traps
floodguard enable
telnet timeout 5
ssh timeout 5
console timeout 0
terminal width 80
Cryptochecksum:6ec4b35154ab1333e9882f4b212d1b6c
: end
pixfirewall(config)#
 
Hi Ghost - thanks for replying.

It's probably easier to show you a diagram.


What I want is

Device 10.10.10.8 to NAT to 172.16.1.100 when goes out

Network 1.1.1.0 to NAT to 10.10.10.100 when comes in

Other devices on the 10.10.10.x network to NAT to addresses in the 172.16.1.199 pool when goes out

Connectivity from network 1.1.1.0 to device 10.10.10.8 with network 1.1.1.0 seeing the inside device as 172.16.1.100 and device 10.1010.8 seeing traffic from 1.1.1.0 as coming from 10.10.10.100

I am running 6.2.2
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top