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!

Routing from inside to outside

Status
Not open for further replies.

CCES

IS-IT--Management
Nov 15, 2005
13
US
I'm trying to route from the inside network to the outside network, could someone explain me how to configure PIX 506E?

This is my conf:

PIX Version 6.3(5)
interface ethernet0 auto
interface ethernet1 auto
nameif ethernet0 outside security0
nameif ethernet1 inside security100
enable password cbsbMMfIFHMxvAJY encrypted
passwd 2KFQnbNIdI.2KYOU encrypted
hostname *******
domain-name **************.***
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
pager lines 24
mtu outside 1500
mtu inside 1500
ip address outside **.***.***.172 255.255.255.248
ip address inside 192.168.2.110 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
route outside 0.0.0.0 0.0.0.0 **.***.***.174 1
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 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.2.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
telnet timeout 5
ssh timeout 5
console timeout 0
dhcpd address 192.168.2.111-192.168.2.254 inside
dhcpd lease 3600
dhcpd ping_timeout 750
dhcpd auto_config outside
terminal width 80
Cryptochecksum:eb9dd5b1c23a58d466306920653704f9

Thanks a lot,
Alex
 
Very basic config, but it should work. What isn't working right?
 
I cannot go outside. I can ping from console both internet and network but from local network I can't go out.

Is there anything I should do?

Thanks,
Alex
 
No, still can't get out and it is not just ping I can't get out at all. Nothing works. Might be something with NAT or Global access list or anything else?

Thanks a lot for helping me.
Alex.
 
Do the PC's on the local network have a default gateway set?

Chris.

**********************
Chris A.C, CCNA, CCSA
**********************
 
Yes and if I'm not mistaken it is firewall's IP.
 
Better check it to be sure. When you try to get out from the network do a "sh xlate" and "sh conn" on the firewall to make sure that the pix is seeing that traffic.

Chris.

**********************
Chris A.C, CCNA, CCSA
**********************
 
Are you using the PIX as your DHCP Server? Can you ping an outside ip address from the pix command line?
 
No, I'm not using PIX as DHCP because I already have one on Win2003server. I can ping outside and inside IPs from the PIX console.

When I did "sh xlate" and "sh conn" I got that:

for sh xlate
1 in use, 8 most used
Global 192.168.2.160 Local 192.168.2.160
and for sh conn
0 in use, 10 most used

Thanks,
Alex
 
And yes GW is PIX's IP on local PCs.
 
I got it work. Thank you for your help.

Alex
 
So what did you change?

Chris.

**********************
Chris A.C, CCNA, CCSA
**********************
 
I don't know why but in conf it showed that Pool ID for global (outside) is 1 but actually it was 10 and I couldn't see that from console. So when I loaded PDM I noticed that. So I changed it to 1 and it worked after. I don't know if that was the case but I did nothing else. It is very strange.

Anyhow thank a lot for help.
Alex.
 
That makes complete sense. Your "nat (inside) 1" statement needs a matching "global" statement to work. Strange, I've never seen the PDM show something different than "wr term", but strange things can happen.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top