PIX Firewall Help

Custom / NA
August 19, 2009 at 16:48:25
Specs: Vista Business, 3.5GB Ram
I've been trying to get a PIX 501 firewall setup correctly. I thought I had it all right, but it still isn't working, so I've been looking at sample configurations on the web to see where I might have gone wrong. Here is my setup and what I want to do:

Cable modem connects to the PIX, then the PIX connects to a switch. Connected to the switch is about 8 client computers and a Windows 2003 SBS. The SBS does all the DHCP and related tasks.

All I want the PIX to do is sit between the cable modem and the switch, and block incoming connections except those for web (http and https), email (smtp) and VPN (PPTP) connection to the server.

I can't seem to get this to work by using "static" and "access-list" commands unless I also set up the PIX to handle DHCP (which I don't want to do). Any advice or links to examples that fit my needs would be appreciated.

-Ryan Adams

Free Computer Tips and more:http://RyanTAdams.com
Paid Tech Support: Black Diamond


See More: PIX Firewall Help

Report •


#1
August 20, 2009 at 10:33:14
Here is the current config. All of the static routes work, but when I add a PPTP VPN one, it doesn't.

_______________________________________-

Building configuration...
: Saved
:
PIX Version 6.3(5)
interface ethernet0 auto
interface ethernet1 100full
nameif ethernet0 outside security0
nameif ethernet1 inside security100
hostname pixfirewall
domain-name ciscopix.com
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 ils 389
fixup protocol pptp 1723
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
name 192.168.0.2 VPN-02
access-list services permit tcp any interface outside eq 6051
access-list services permit tcp any interface outside eq 6080
access-list services permit tcp any host 10.0.0.2 eq 3389
access-list services permit tcp any host 10.0.0.2 eq www
access-list services permit tcp any host 10.0.0.2 eq https
access-list services permit tcp any host 10.0.0.2 eq 444
access-list services permit tcp any host 10.0.0.2 eq 4125
access-list services permit tcp any host 10.0.0.2 eq smtp
access-list outside_access_in permit tcp any host 10.0.0.2
access-list outside_access_in permit gre any host 10.0.0.2
pager lines 24
mtu outside 1500
mtu inside 1500
ip address outside 10.0.0.2 255.255.255.0
ip address inside 192.168.0.1 255.255.255.0
ip audit info action alarm
ip audit attack action alarm
pdm location 192.168.1.0 255.255.255.0 inside
pdm location VPN-02 255.255.255.255 inside
pdm location 192.168.0.1 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
static (inside,outside) tcp interface 3389 VPN-02 3389 netmask 255.255.255.255 0 0
static (inside,outside) tcp interface www VPN-02 www netmask 255.255.255.255 0 0
static (inside,outside) tcp interface smtp VPN-02 smtp netmask 255.255.255.255 0 0
static (inside,outside) tcp interface https VPN-02 https netmask 255.255.255.255 0 0
static (inside,outside) tcp interface 444 VPN-02 444 netmask 255.255.255.255 0 0
static (inside,outside) tcp interface 4125 VPN-02 4125 netmask 255.255.255.255 0 0
static (inside,outside) tcp interface 6051 VPN-02 6051 netmask 255.255.255.255 0 0
static (inside,outside) tcp interface 6080 VPN-02 6080 netmask 255.255.255.255 0 0
static (inside,outside) tcp interface pptp VPN-02 pptp netmask 255.255.255.255 0 0
static (inside,outside) tcp interface 47 VPN-02 47 netmask 255.255.255.255 0 0
access-group services in interface outside
route outside 0.0.0.0 0.0.0.0 10.0.0.1 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 RADIUS deadtime 10
aaa-server LOCAL protocol local
http server enable
http 192.168.1.0 255.255.255.0 inside
http 192.168.0.0 255.255.255.0 inside
no snmp-server location
no snmp-server contact
snmp-server community public
snmp-server enable traps
floodguard enable
telnet timeout 5
ssh timeout 5
console timeout 0
dhcpd lease 3600
dhcpd ping_timeout 750
terminal width 80
Cryptochecksum:a6b7fda2da59f5f80d95a5cd0a8a2df0
: end
[OK]

-Ryan Adams

Free Computer Tips and more:http://RyanTAdams.com
Paid Tech Support: Black Diamond


Report •
Related Solutions


Ask Question