Solved

PIX 501 SMTP and WWW

Posted on 2004-10-03
1
436 Views
Last Modified: 2012-06-14
Hi,

I've just got a PIX 501 and have no experience of configuring one of these devices.

Please could some tell me how to create a nice and simple setup which will allow my network traffic out and only SMTP and HTTP traffic in.

Regards

Jon.
0
Comment
Question by:jonnyenglish
1 Comment
 
LVL 3

Accepted Solution

by:
oldhamuk earned 125 total points
Comment Utility
Hi jon,

Below is a simple PIX 501 config for you firewall. It allows SMTP and HTTP traffic in and your traffic out.

Replace the follwoing:

192.168.100.1 with the external ip address of your firewall.

192.168.100.254 with the ip address of your router.

10.0.0.1 with the internal ip address of your firewall.

10.0.0.2 with the internal ip address of your SMTP server.

10.0.0.3 with the internal ip address of you HTTP server.

10.0.0.4 with the internal ip address of the client machine you will use for managing the firewall.

firewall with the hostname of your firewall.

domainname.local with the internal domain name of your network.



-- copy the below and paste it into a console session while in config mode. --

interface ethernet0 auto
interface ethernet1 100full
nameif ethernet0 outside security0
nameif ethernet1 inside security100
hostname firewall
domain-name domainname.local
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 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
names
access-list 101 permit tcp any host 192.168.100.1 eq smtp
access-list 101 permit tcp any host 192.168.100.1 eq www
access-list 101 permit icmp any any echo-reply
pager lines 24
mtu outside 1500
mtu inside 1500
ip address outside 192.168.100.1 255.255.255.0
ip address inside 10.0.0.1 255.255.255.0
ip audit info action alarm
ip audit attack action alarm
pdm location 10.0.0.4 255.255.255.255 inside
pdm history enable
arp timeout 14400
global (outside) 10 interface
nat (inside) 10 0.0.0.0 0.0.0.0 0 0
static (inside,outside) tcp 192.168.100.1 smtp 10.0.0.2 smtp netmask 255.255.255.255 0 0
static (inside,outside) tcp 192.168.100.1 smtp 10.0.0.3 www 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.100.254 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
http server enable
http 10.0.0.4 255.255.255.255 inside
no snmp-server location
no snmp-server contact
snmp-server community public
no snmp-server enable traps
floodguard enable
telnet timeout 5
console timeout 0
terminal width 80


0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Physical Network Design 11 87
solarwind tftp server 2 30
Cisco ASA NAT question. 9 22
reserve ip based on mac addresses 6 68
If you have an ASA5510 then this sort of thing would be better handled with a CSC Module, however on an ASA5505 thats not an option, and if you want to throw in a quick solution to stop your staff going to facebook during work time, then this is the…
I recently updated from an old PIX platform to the new ASA platform.  While upgrading, I was tremendously confused about how the VPN and AnyConnect licensing works.  It turns out that the ASA has 3 different VPN licensing schemes. "site-to-site" …
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now