08-25-2005 03:12 PM - edited 03-09-2019 12:15 PM
Hi, I just setup a pix 501 for one of my client and for some reason their mail doesn' goes through and the samething as www. Can someone help me? here is my pix config. Thanks
PIX Version 6.3(3)
interface ethernet0 auto
interface ethernet1 auto
nameif ethernet0 outside security0
nameif ethernet1 inside security100
enable password xxxx
passwd xxxx
hostname cisco-pix1
domain-name test.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 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
no names
access-list permit_in permit tcp any host 71.x.x.163 eq www
access-list permit_in permit tcp any host 71.x.x.163 eq smtp
pager lines 24
mtu outside 1500
mtu inside 1500
mtu intf2 1500
ip address outside 71.x.x.x.255.255.248
ip address inside 192.168.0.10 255.255.255.0
ip audit info action alarm
ip audit attack action alarm
pdm logging critical 100
pdm history enable
arp timeout 14400
global (outside) 10 71.x.x.162
nat (inside) 10 192.168.0.0 255.255.255.0
static (inside,outside) 71.x.x.x.168.0.20 netmask 255.255.255.255 0 0
access-group permit_in in interface outside
rip inside passive version 2
route outside 0.0.0.0 0.0.0.0 71.134.139.165 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 192.168.0.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.0.10 255.255.255.0 inside
telnet timeout 5
ssh timeout 5
console timeout 0
terminal width 80
08-25-2005 10:41 PM
Hi,
See attached example, also make sure to issue: clear xlate and save with: write mem
Make sure that your MX record IP for e-mail corresponds to the IP on your ACL for smtp. By default the PIX allows all traffic out from inside network to outside so you should be able to browse the web! Unless you are also hosting a web server on the inside then you'll need the apporiate ACL and static commands in place.
You can also test the smtp connectivity by telneting from an outside network on your public IP for smtp on port 25 to see if it connects to your internal mail server.
Hope this helps and if it does please rate post.
Jay
09-01-2005 10:19 AM
Hi,
Add a nat global statement to enable web/mail server to return traffic to the outside.
e.g. nat 71 0.0.0.0 0.0.0.0 outside 0 0
global inside 71 192.168.0.71
This will make all traffic from outside appear as 192.168.0.71 on the inside.
Hope that helps.
Noël
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide