Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

User inside thru VPN cannot access DMZ

Status
Not open for further replies.

hocuspocus1

IS-IT--Management
Mar 18, 2004
2
US
Hi Gurus,

We are using PIX 515. We have a mail server in the DMZ. I have a user who logs in via VPN into our LAN. When the user logs in, he cannot ping or access the mail server's smtp or pop3 port in the DMZ using the DMZ IP address (172.16.254.3). User can access the mail server using its global IP adress a.b.c.60 but that is undesirable. I have no idea why this is happening. How can I let the VPN users see the mail server in the DMZ?

Thanks in advance

PG

Here is the config:

**********************************************************
PIX Version 6.3(3)
interface ethernet0 auto
interface ethernet1 auto
interface ethernet2 auto
nameif ethernet0 outside security0
nameif ethernet1 inside security100
nameif ethernet2 dmz security50
enable password ********************* encrypted
passwd ********************* encrypted
hostname *******
domain-name *******
clock timezone EST -5
clock summer-time EST recurring
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 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
access-list outsideL permit icmp any any echo
access-list outsideL permit icmp any any echo-reply
access-list outsideL permit tcp any host a.b.c.60 eq www
access-list outsideL permit tcp any host a.b.c.60 eq smtp
access-list outsideL permit tcp any host a.b.c.60 eq pop3
access-list outsideL deny ip any any
access-list insideL permit icmp any any echo
access-list insideL permit icmp any any echo-reply
access-list insideL permit udp any any eq domain
access-list insideL permit tcp any any eq www
access-list insideL permit tcp any any eq https
access-list insideL permit tcp any any eq ftp-data
access-list insideL permit tcp any any eq ftp
access-list insideL permit tcp any any eq telnet
access-list insideL permit tcp any any eq pop3
access-list insideL permit tcp any any eq smtp
access-list insideL deny ip any any
access-list dmzL permit icmp any any echo
access-list dmzL permit icmp any any echo-reply
access-list dmzL permit ip any any
access-list 110 permit ip 192.168.1.0 255.255.255.0 10.250.250.0 255.255.255.0
access-list 110 permit ip 172.16.254.0 255.255.255.0 10.250.250.0 255.255.255.0
pager lines 24
logging on
logging timestamp
mtu outside 1500
mtu inside 1500
mtu dmz 1500
ip address outside a.b.c.58 255.255.255.248
ip address inside 192.168.1.1 255.255.255.0
ip address dmz 172.16.254.1 255.255.255.0
ip audit info action alarm
ip audit attack action alarm
ip local pool vpnpool 10.250.250.1-10.250.250.254
pdm history enable
arp timeout 14400
global (outside) 1 a.b.c.59
nat (inside) 0 access-list 110
nat (inside) 1 192.168.1.0 255.255.255.0 0 0
alias (inside) a.b.c.60 172.16.254.3 255.255.255.255
static (dmz,inside) 172.16.254.0 172.16.254.0 netmask 255.255.255.0 0 0
static (inside,dmz) 192.168.1.0 192.168.1.0 netmask 255.255.255.0 0 0
static (dmz,outside) a.b.c.60 172.16.254.3 netmask 255.255.255.255 0 0
access-group outsideL in interface outside
access-group insideL in interface inside
access-group dmzL in interface dmz
route outside 0.0.0.0 0.0.0.0 a.b.c.57 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
aaa authentication ssh console LOCAL
aaa authorization command LOCAL
ntp server x.y.z.41 source outside
ntp server x.y.z.40 source outside
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 strong esp-3des esp-md5-hmac
crypto dynamic-map dynmap 15 set transform-set strong
crypto map newmap 15 ipsec-isakmp dynamic dynmap
crypto map newmap client authentication LOCAL
crypto map newmap interface outside
isakmp enable outside
isakmp identity address
isakmp nat-traversal 20
isakmp policy 10 authentication pre-share
isakmp policy 10 encryption 3des
isakmp policy 10 hash md5
isakmp policy 10 group 2
isakmp policy 10 lifetime 86400
vpngroup VPNERS_GROUP address-pool vpnpool
vpngroup VPNERS_GROUP dns-server 192.168.1.200
vpngroup VPNERS_GROUP wins-server 192.168.1.200
vpngroup VPNERS_GROUP default-domain *******
vpngroup VPNERS_GROUP split-tunnel 110
vpngroup VPNERS_GROUP idle-time 3600
vpngroup VPNERS_GROUP password ********
telnet 192.168.1.0 255.255.255.0 inside
telnet timeout 30
ssh l.m.n.0 255.255.255.0 outside
ssh timeout 5
console timeout 0
username ******** password ****************** encrypted privilege 2
username ******* password **************** encrypted privilege 15
terminal width 80
Cryptochecksum:***************************
: end
[OK]
********************************************************

 
I believe you need to add a "nat (dmz) 0 access-list 110" command, this will tell the dmz interface to not nat VPN users.

Then on your outside access-list you need to permit the vpn client address to have access to the dmz internal IP address's, do not use the public IP's

Hope this helps..

BuckWeet
 
Hi BuckWeet,

Thanks for your response. Adding the nat line did the trick. I did not have to change the outside list.

I had added the global IPs to the outside list so that people could access their emails without logging in to the VPN.

Thanks

PG
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top