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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PIX 501 address translation

Status
Not open for further replies.

scrimmy

Technical User
Sep 27, 2001
75
0
0
GB
Hi guys,
can you please help......

I have an inside network of 172.16.1.0
Connected to an outside network of 192.168.1.0
Off of the 192.168.1.0 outside network there is another network of 10.0.0.0

I need all/some of my inside hosts to be able to connect to a single outside host of 10.0.0.1

Can I use the PIX to translate from a 192.168.1.x address into the 10.0.0.1 address.
Then from my inside network telnet to a 192.168.1.x but end up connecting to the 10.0.0.1 address

I have tried the statement
static (inside,outside) 10.0.0.1 192.168.1.251 netmask 255.255.255.255 0 0

Thanks in advance.



PIX Version 6.2(2)
nameif ethernet0 outside security0
nameif ethernet1 inside security100
enable password 8Ry2YjIyt7RRXU24 encrypted
passwd 2KFQnbNIdI.2KYOU encrypted
hostname pixfirewall
fixup protocol ftp 21
fixup protocol http 80
fixup protocol h323 h225 1720
fixup protocol h323 ras 1718-1719
fixup protocol ils 389
fixup protocol rsh 514
fixup protocol rtsp 554
fixup protocol smtp 25
fixup protocol sqlnet 1521
fixup protocol sip 5060
fixup protocol skinny 2000
names
access-list 101 permit ip any any
pager lines 24
interface ethernet0 10baset
interface ethernet1 10full
mtu outside 1500
mtu inside 1500
ip address outside 192.168.1.1 255.255.255.0
ip address inside 172.16.1.1 255.255.255.0
ip audit info action alarm
ip audit attack action alarm
pdm logging informational 100
pdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 1 0.0.0.0 0.0.0.0 0 0
static (inside,outside) 10.0.0.1 192.168.1.251 netmask 255.255.255.255 0 0
access-group 101 in interface outside
route outside 0.0.0.0 0.0.0.0 192.168.1.1 1
route inside 172.0.0.0 255.0.0.0 172.16.1.2 1
timeout xlate 0:05:00
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 rpc 0:10:00 h323 0:05:00 si
p 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 192.168.1.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
no sysopt route dnat
telnet 172.16.1.0 255.255.255.0 inside
telnet timeout 5
ssh timeout 5
dhcpd lease 3600
dhcpd ping_timeout 750
dhcpd auto_config outside
terminal width 80
Cryptochecksum:73d5fadd63eb22bd7f07a3f65ca96cf1
: end
 
No.

The way I read you question, you have this layout:

172.16.10 --pix-- 192.168.1 --something-- 10.0.0

You can have your inside users telnet to a 172.16.10 address to reach a 10.0.0 host by using outside NAT. If you want them to telnet to 192.168.1, then that's up to the "something" to translate.
 
Thanks lgarner,

I did not know if the PIX could do the translation with a command something like

static (inside,outside) 10.0.0.1 192.168.1.251 netmask 255.255.255.255 0 0

But if not I will see if I can get the 192.168.1.0 changed to a 10.0.0.0 network instead.
I don't really want to add another device to do the translation.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top