Newbie PIX 501 question

< Pix newbie.

I've setup a PIX before when the web server had its own IP, but am now setting one up at a library that has only one static IP. I've done most of the set ups with the PDM, but am not afraid of the CLI if anyone can tell me what commands I need to enter. The external IP is

68.98.201.82, and the IP for the web server is 192.168.1.40. I would really appreciate any help you could give me. Following is the current config for the PIX:

PIX Version 6.3(4) interface ethernet0 auto interface ethernet1 100full nameif ethernet0 outside security0 nameif ethernet1 inside security100 enable password 8Ry2YjIyt7RRXU24 encrypted

passwd 2KFQnbNIdI.2KYOU encrypted hostname pixfirewall domain-name kinsleylibrary.info clock timezone CST -6 clock summer-time CDT recurring fixup protocol dns maximum-length 512

fixup protocol ftp 21 fixup protocol h323 fixup protocol h323 ras 1718-1719 fixup protocol http 80 fixup protocol ils 389 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 logging on logging host inside 192.168.1.40 mtu outside 1500 mtu inside 1500 ip address outside 68.98.201.82 255.255.255.240

ip address inside 192.168.1.1 255.255.255.0

ip audit info action alarm ip audit attack action ala pdm location 192.168.1.40 255.255.255.255 inside

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 68.98.201.81 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 uauth 0:05:00 absolute aaa-server TACACS+ protocol tacacs+ aaa-server TACACS+ max-failed-attempts 3

aaa-server TACACS+ dea 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 0.0.0.0 0.0.0.0 outside 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 telnet 192.168.1.0 255.255.255.0 inside telnet timeout 5 ssh 192.168.1.0 255.255.255.0 inside ssh timeout 5 console timeout 0 dhcpd address 192.168.1.2-192.168.1.129 inside dhcpd dns 68.12.16.229 68.12.16.30 dhcpd lease 888800 dhcpd ping_timeout 750 dhcpd auto_config outside dhcpd enable inside terminal width 80 Cryptochecksum:8baaeff918b26aa04bae8de52422e4bb : end

Reply to
Pythagorean
Loading thread data ...

you need to do a static nat

static (inside,outside) 68.98.201.82 192.168.1.40 netmask

255.255.255.255 0 0
Reply to
fernando.catalao

Since you apparently only have one server that needs to be accessed from the outside, the above configuration would work, but you wouldn't be able to access the PIX from outside, and personally, that's a deal breaker. What you want in this case is Static PAT.

static (inside,outside) tcp 68.98.201.82 www 192.168.1.40 www netmask

255.255.255.255 0 0

That way, you're only passing port 80 traffic to the server. You could also pass port 443 (https) traffic the same way, but then you'll kill external access to PDM. I like CLI, but it's something to keep in mind.

Oh, and remember to put in an access list: access-list acl-in permit tcp any host 68.98.201.82 eq www

And if you decide to pass 443, don't forget to enable SSH from the outside, so you'll have some way of managing the PIX. ssh 0.0.0.0 0.0.0.0 outside

Reply to
Brian

Cabling-Design.com Forums website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.