• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1017
  • Last Modified:

port forwarding pix 506E

URGENT : need help on this ASAP.

Problem:  This network was set up via the Pix 506E PDM.  Simple network setup - several servers and workstations internally, all accessed till now via VPN connections.  An Exchange server was set up internally, and is able to send email just fine, but not receive.

What command do I have to enter to allow SMTP traffic to reach the exchange server (10.50.1.7 /22) on the internal network?  That's the only incoming traffic that needs to be routed anywhere internally... BUT the VPN must stay active, and nothing else much change in that regard.
We only have one public IP address, and WHATEVER I DO, I do NOT want to affect anything else running (i.e. VPN connections coming in, and all internal servers able to get out without trouble).  I only have access to this network remotely, so if i screw something up, i'll have to get on the next flight to go fix it :/  Please help.

Thanks so much
pix(config)# show run
: Saved
:
PIX Version 6.3(5)
interface ethernet0 auto
interface ethernet1 auto
nameif ethernet0 outside security0
nameif ethernet1 inside security100
enable password 0CAS23G3SwFOYdVC encrypted
passwd 0CAS23G3SwFOYdVC encrypted
hostname pix
domain-name domain.org
fixup protocol dns maximum-length 512
no fixup protocol ftp 21
fixup protocol h323 h225 1720
fixup protocol h323 ras 1718-1719
no 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
name 10.50.1.1 DC1
name 192.168.0.0 saNetwork1
name 192.168.107.0 saNetwork2
name 10.50.1.7 HOU-EXC1
object-group service RDP tcp
  description MS RDP
  port-object range 3389 3389
access-list splitTunnelAcl permit ip 10.50.0.0 255.255.252.0 any
access-list inside_nat0_outbound permit ip any 10.50.3.192 255.255.255.192
access-list inside_nat0_outbound permit ip 10.50.0.0 255.255.252.0 saNetwork1 255.255.255.0
access-list inside_nat0_outbound permit ip 10.50.0.0 255.255.252.0 saNetwork2 255.255.255.0
access-list outside_cryptomap_20 permit ip 10.50.0.0 255.255.252.0 saNetwork1 255.255.255.0
access-list outside_cryptomap_20 permit ip 10.50.0.0 255.255.252.0 saNetwork2 255.255.255.0
pager lines 24
mtu outside 1500
mtu inside 1500
ip address outside xx.xx.xx.xx 255.255.255.252
ip address inside 10.50.0.1 255.255.252.0
ip audit info action alarm
ip audit attack action alarm
ip local pool VPN_Client 10.50.3.200-10.50.3.250 mask 255.255.252.0
pdm location 192.168.1.0 255.255.255.0 inside
pdm location DC1 255.255.255.255 inside
pdm location 10.50.3.200 255.255.255.255 outside
pdm location 0.0.0.0 255.255.255.255 outside
pdm location 10.50.3.192 255.255.255.192 outside
pdm location 10.50.1.5 255.255.255.255 inside
pdm location xx.xx.xx.xx 255.255.255.255 outside
pdm location 10.50.1.3 255.255.255.255 inside
pdm location saNetwork1 255.255.255.0 outside
pdm location saNetwork2 255.255.255.0 outside
pdm location HOU-EXC1 255.255.255.255 inside
pdm logging informational 100
pdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 0 access-list inside_nat0_outbound
nat (inside) 1 0.0.0.0 0.0.0.0 0 0
route outside 0.0.0.0 0.0.0.0 xx.xx.xx.xx 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 RADIUS (inside) host DC1 12345 timeout 10
aaa-server LOCAL protocol local
aaa-server Radius protocol radius
aaa-server Radius max-failed-attempts 3
aaa-server Radius deadtime 10
aaa-server Radius (inside) host DC1 12345 timeout 10
http server enable
http 10.50.0.0 255.255.252.0 inside
no snmp-server location
no snmp-server contact
snmp-server community public
no snmp-server enable traps
floodguard enable
sysopt connection permit-ipsec
crypto ipsec transform-set ESP-3DES-MD5 esp-3des esp-md5-hmac
crypto dynamic-map outside_dyn_map 20 set transform-set ESP-3DES-MD5
crypto map outside_map 20 ipsec-isakmp
crypto map outside_map 20 match address outside_cryptomap_20
crypto map outside_map 20 set peer 209.40.225.196
crypto map outside_map 20 set transform-set ESP-3DES-MD5
crypto map outside_map 65535 ipsec-isakmp dynamic outside_dyn_map
crypto map outside_map client authentication RADIUS
crypto map outside_map interface outside
isakmp enable outside
isakmp key ******** address 1.2.3.4 netmask 255.255.255.255 no-xauth no-config-mode
isakmp nat-traversal 20
isakmp policy 20 authentication pre-share
isakmp policy 20 encryption 3des
isakmp policy 20 hash md5
isakmp policy 20 group 2
isakmp policy 20 lifetime 86400
vpngroup asdf address-pool VPN_Client
vpngroup asdf dns-server DC1
vpngroup asdf default-domain houston.org
vpngroup asdf split-tunnel splitTunnelAcl
vpngroup asdf split-dns houston.org
vpngroup asdf idle-time 1800
vpngroup asdf password ********
telnet 0.0.0.0 0.0.0.0 inside
telnet timeout 5
ssh 0.0.0.0 0.0.0.0 outside
ssh 0.0.0.0 0.0.0.0 inside
ssh timeout 5
console timeout 0
dhcpd lease 3600
dhcpd ping_timeout 750
dhcpd auto_config outside
terminal width 80
Cryptochecksum:c9e1a4bd471e702daa424a838a42ca25
: end

Open in new window

0
Mystical_Ice
Asked:
Mystical_Ice
  • 4
  • 2
1 Solution
 
Pete LongConsultantCommented:
Add the following
 
access-list inbound permit tcp any interface outside eq smtp
access-group inbound in interface outside
static (inside,outside) tcp interface smtp 10.50.1.7 smtp netmask 255.255.255.255
 
Also if your email server is Exchange issue the following command as well

no fixup protocol smtp 25

 

 
0
 
Mystical_IceAuthor Commented:
that did it - thanks!
0
 
Pete LongConsultantCommented:
My Pleasure  - ThanQ
0
Prepare for an Exciting Career in Cybersecurity

Help prevent cyber-threats and provide solutions to safeguard our global digital economy. Earn your MS in Cybersecurity. WGU’s MSCSIA degree program curriculum features two internationally recognized certifications from the EC-Council at no additional time or cost.

 
Mystical_IceAuthor Commented:
ONE more thing, and you don't have to answer this since i already gave you the points, but if i wanted to add rules to allow POP, HTTP, and HTTPS traffic to the 10.50.1.7 exchange server, how would i do that?  The rule you gave allows traffic TO the exchange server, these rules would need to allow traffic FROM it.  how would i do that?
0
 
Pete LongConsultantCommented:
to allow traffic INTO it enter the folowing........
for http/www, https and POP

access-list inbound permit tcp any interface outside eq www
static (inside,outside) tcp interface www 10.50.1.7 www netmask 255.255.255.255
access-list inbound permit tcp any interface outside eq https
static (inside,outside) tcp interface https10.50.1.7 https netmask 255.255.255.255    
access-list inbound permit tcp any interface outside eq 110
static (inside,outside) tcp interface 110 10.50.1.7  110 netmask 255.255.255.255
 
to allow traffic OUT FROM it enter the folowing........
acess-group outbound in interface inside
access-list outbound permit tcp host 10.59.1.7 any eq www
access-list outbound permit tcp host 10.59.1.7 any eq https
access-list outbound permit tcp host 10.59.1.7 any eq 110
access-list outbound permit tcp host 10.59.1.7 any eq smtp
 
 
0
 
Pete LongConsultantCommented:
and ThanQ
0

Featured Post

Exciting career futures for women in IT

Education has the power to transform lives and open the door to new career opportunities. By earning an IT degree from WGU, you can become a highly skilled IT professional. Get the credentials and certifications you need to become a leader in this rewarding field.  

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now