Question

Need to allow access to 1 internal IP from 1 IP in my DMZ

Asked by: hullc65203

I've got a PIX 515e running a dmz. I have a new server I want to add to the dmz and allow it to connect to a specific machine on the internal interface.
I need to allow:
Only this machine to access only this internal machine
Only allow ftp to and from these 2 machines

Can someone take a look at my config and help me put in correct entries?

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2008-07-17 at 08:16:05ID23573496
Tags

Cisco

,

PIX

Topic

Cisco PIX Firewall

Participating Experts
1
Points
500
Comments
14

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. PIX with DMZ
    Hi There, I have a PIX with OS 6.1 with inside, outside and DMZ. my config as follows inside - 20.20.20.1/8 outside - 202.21.32.2/24 dmz - 172.16.1.1/24 perimeter router at 202.21.32.1 i want everybody to access my Exchange 2000 mail server on the dmz (172.16.1.5) and the ...
  2. Sample config needed, Cisco Pix 515 DMZ with Exchan…
    Could someone post a SIMPLIFIED config (no TACACS stuff) for a cisco 515 with an exchange 2000 server in the dmz. that will be the only server in the dmz. Public Pix ---->DMZ- Exchange 2000 server Private just a sample config from someone's work or something woul...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: _jesper_Posted on 2008-07-17 at 14:28:29ID: 22030563

I'm not seeing the config ??

 

by: hullc65203Posted on 2008-07-24 at 07:25:19ID: 22079463

Sorry, it took me awhile to clean it.

Building configuration...
: Saved
:
PIX Version 6.3(4)120
interface ethernet0 auto
interface ethernet1 auto
interface ethernet2 auto
nameif ethernet0 outside security0
nameif ethernet1 inside security100
nameif ethernet2 dmz security4
enable password
passwd
hostname xxxxx-FW
domain-name xxxxxx.com
clock timezone CST -6
clock summer-time CDT 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 rsh 514
fixup protocol rtsp 554
fixup protocol sip 5060
fixup protocol sip udp 5060
fixup protocol skinny 2000
no fixup protocol smtp 25
fixup protocol sqlnet 1521
fixup protocol tftp 69
no names
name 10.71.40.0 Chicago
name 10.71.42.128 Houston2
name 192.168.1.0 PIX-to-Router
name 10.71.42.0 Houston
name 10.71.41.0 Philadelphia
name x.x.x.128 vendor
name 10.71.42.164 Exchange
name 10.71.42.144 VBS
name 10.71.42.125 xx-server
name 10.71.42.150 image
name 10.71.43.0 GrandRapids
name 10.71.42.142 AVAYA
name 10.71.42.13 dummy
name 10.71.42.114 imaging
name 10.71.44.0 LAX
name 10.71.42.55 linux
name x.x.x.52 Data_Center
name 10.71.42.165 device
object-group network PcAnywhere
  network-object 10.71.42.13 255.255.255.255
object-group network PcAnywhere_ref
  network-object x.x.146.40 255.255.255.255
access-list incoming deny icmp any any echo-reply
access-list incoming permit tcp any host x.x.x.34 eq smtp
access-list incoming permit tcp any eq pop3 host x.x.x.34 eq pop3
access-list incoming deny tcp any host x.x.x.34 eq www
access-list incoming permit tcp any host x.x.x.34 eq https
access-list incoming deny tcp any object-group PcAnywhere_ref eq pcanywhere-data
access-list incoming deny udp any object-group PcAnywhere_ref eq pcanywhere-status
access-list incoming deny tcp any host x.x.x.39 eq telnet
access-list incoming deny tcp host x.x.x.52 host x.x.x.35
access-list dmz permit icmp any any
access-list dmz permit ip host 10.71.42.164 10.71.40.0 255.255.255.0
access-list dmz permit ip host 10.71.42.164 10.71.41.0 255.255.255.0
access-list dmz permit ip host 10.71.42.164 10.71.42.0 255.255.255.128
access-list dmz permit ip host 10.71.42.164 10.71.42.128 255.255.255.224
access-list dmz permit ip host 10.71.42.164 10.71.43.0 255.255.255.0
access-list dmz permit ip host 10.71.42.164 10.71.44.0 255.255.255.0
access-list dmz permit tcp host 10.71.42.164 any eq www
access-list dmz permit tcp host 10.71.42.164 any eq https
access-list dmz permit udp host 10.71.42.164 any eq domain
access-list dmz permit ip host 10.71.42.164 any
access-list dmz permit ip any any
access-list inside_outbound_nat0_acl permit ip any 192.168.0.0 255.255.255.128
access-list dmz_outbound_nat0_acl permit ip any 192.168.0.0 255.255.255.128
access-list dmz_outbound_nat0_acl permit ip 10.71.42.160 255.255.255.224 x.x.x.0 255.255.255.0
access-list dmz_outbound_nat0_acl permit ip 10.71.42.160 255.255.255.224 x.x.x.0 255.255.255.0
access-list outside_cryptomap_20 permit ip host 10.71.42.164 host x.x.x.100
access-list outside_cryptomap_20 permit ip host 10.71.42.164 host x.x.x.101
access-list outside_cryptomap_20 permit ip host 10.71.42.164 x.x.x.0 255.255.255.0
pager lines 24
logging on
logging timestamp
logging trap notifications
logging host inside 10.71.42.50
logging host inside 10.71.42.123
icmp deny any outside
mtu outside 1500
mtu inside 1500
mtu dmz 1500
ip address outside x.x.x.62 255.255.255.0
ip address inside 192.168.1.1 255.255.255.0
ip address dmz 10.71.42.163 255.255.255.224
ip audit name IncomingAlarm info action alarm
ip audit name Incoming attack action alarm drop reset
ip audit interface outside IncomingAlarm
ip audit interface outside Incoming
ip audit info action alarm
ip audit attack action alarm drop reset
ip local pool test 192.168.0.50-192.168.0.100
pdm location 10.71.40.0 255.255.255.0 inside
pdm location 10.71.41.0 255.255.255.0 inside
pdm location 10.71.42.0 255.255.255.128 inside
pdm location 10.71.42.128 255.255.255.224 inside
pdm location 10.71.42.0 255.255.255.0 inside
pdm location x.x.x.128 255.255.255.192 outside
pdm location 10.71.42.50 255.255.255.255 inside
pdm location 10.71.42.144 255.255.255.255 inside
pdm location 10.71.42.164 255.255.255.255 dmz
pdm location 10.71.42.125 255.255.255.255 inside
pdm location 10.71.42.150 255.255.255.255 inside
pdm location 10.71.43.0 255.255.255.0 inside
pdm location x.x.x.120 255.255.255.255 outside
pdm location 10.71.42.142 255.255.255.255 inside
pdm location 10.71.42.13 255.255.255.255 inside
pdm location 10.71.42.123 255.255.255.255 inside
pdm location 10.71.42.114 255.255.255.255 inside
pdm location 10.71.44.0 255.255.255.0 inside
pdm location 0.0.0.0 255.255.255.224 outside
pdm location 0.0.0.0 255.255.255.128 outside
pdm location 10.71.42.55 255.255.255.255 inside
pdm location 10.71.42.165 255.255.255.255 dmz
pdm location x.x.x.52 255.255.255.255 outside
pdm location 192.168.0.0 255.255.255.0 dmz
pdm location 192.168.0.0 255.255.0.0 dmz
pdm location 192.168.0.0 255.255.255.255 dmz
pdm location 192.168.0.255 255.255.255.255 dmz
pdm location 192.0.0.0 255.0.0.0 dmz
pdm location 192.168.0.53 255.255.255.255 dmz
pdm location 192.168.0.0 255.255.255.128 dmz
pdm location 192.168.0.0 255.255.255.128 outside
pdm location x.x.x.100 255.255.255.255 outside
pdm location x.x.x.101 255.255.255.255 outside
pdm location x.x.x.0 255.255.255.0 outside
pdm location x.x.x.0 255.255.255.0 outside
pdm location x.x.x.0 255.255.255.240 outside
pdm group PcAnywhere inside
pdm group PcAnywhere_ref outside reference PcAnywhere
pdm logging notifications 100
pdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 0 access-list inside_outbound_nat0_acl
nat (inside) 1 0.0.0.0 0.0.0.0 0 0
nat (dmz) 0 access-list dmz_outbound_nat0_acl
nat (dmz) 1 0.0.0.0 0.0.0.0 0 0
static (dmz,outside) x.x.x.34 10.71.42.164 netmask 255.255.255.255 0 0
static (dmz,outside) x.x.x.35 10.71.42.165 netmask 255.255.255.255 0 0
static (inside,outside) x.x.x.36 10.71.42.55 netmask 255.255.255.255 0 0
static (inside,outside) x.x.x.37 10.71.42.144 netmask 255.255.255.255 0 0
static (inside,outside) x.x.x.38 10.71.42.150 netmask 255.255.255.255 0 0
static (inside,outside) x.x.x.39 10.71.42.142 netmask 255.255.255.255 0 0
static (inside,outside) x.x.x.40 10.71.42.13 netmask 255.255.255.255 0 0
static (inside,outside) x.x.x.41 10.71.42.114 netmask 255.255.255.255 0 0
static (inside,outside) x.x.x.42 10.71.42.50 netmask 255.255.255.255 0 0
static (inside,dmz) 10.71.40.0 10.71.40.0 netmask 255.255.255.0 0 0
static (inside,dmz) 10.71.41.0 10.71.41.0 netmask 255.255.255.0 0 0
static (inside,dmz) 10.71.43.0 10.71.43.0 netmask 255.255.255.0 0 0
static (inside,dmz) 10.71.42.0 10.71.42.0 netmask 255.255.255.128 0 0
static (inside,dmz) 10.71.42.128 10.71.42.128 netmask 255.255.255.224 0 0
static (inside,dmz) 10.71.44.0 10.71.44.0 netmask 255.255.255.0 0 0
access-group incoming in interface outside
access-group dmz in interface dmz
route outside 0.0.0.0 0.0.0.0 12.25.146.33 1
route inside 10.71.40.0 255.255.255.0 192.168.1.254 1
route inside 10.71.41.0 255.255.255.0 192.168.1.254 1
route inside 10.71.42.0 255.255.255.128 192.168.1.254 1
route inside 10.71.42.128 255.255.255.224 192.168.1.254 1
route inside 10.71.43.0 255.255.255.0 192.168.1.254 1
route inside 10.71.44.0 255.255.255.0 192.168.1.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 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
aaa authentication enable console LOCAL
aaa authentication http console LOCAL
aaa authentication serial console LOCAL
aaa authentication ssh console LOCAL
aaa authentication telnet console LOCAL
aaa authorization command LOCAL
http server enable
http x.x.x.128 255.255.255.192 outside
http 192.168.1.0 255.255.255.0 inside
http 10.71.40.0 255.255.255.0 inside
http 10.71.41.0 255.255.255.0 inside
http 10.71.42.0 255.255.255.0 inside
http 10.71.43.0 255.255.255.0 inside
http 10.71.42.160 255.255.255.224 dmz
no snmp-server location
no snmp-server contact
snmp-server community public
no snmp-server enable traps
floodguard enable
sysopt connection permit-ipsec
sysopt connection permit-pptp
crypto ipsec transform-set ESP-3DES-SHA esp-3des esp-sha-hmac
crypto map outside_map 20 ipsec-isakmp
crypto map outside_map 20 match address outside_cryptomap_20
crypto map outside_map 20 set peer x.x.x.2
crypto map outside_map 20 set transform-set ESP-3DES-SHA
crypto map outside_map interface outside
isakmp enable outside
isakmp key ******** address x.x.x.2 netmask 255.255.255.255
isakmp policy 20 authentication pre-share
isakmp policy 20 encryption 3des
isakmp policy 20 hash sha
isakmp policy 20 group 2
isakmp policy 20 lifetime 86400
isakmp policy 40 authentication pre-share
isakmp policy 40 encryption 3des
isakmp policy 40 hash md5
isakmp policy 40 group 2
isakmp policy 40 lifetime 86400
telnet 10.71.40.0 255.255.255.0 inside
telnet 10.71.41.0 255.255.255.0 inside
telnet 10.71.42.0 255.255.255.0 inside
telnet 10.71.42.160 255.255.255.224 dmz
telnet timeout 5
ssh x.x.x.128 255.255.255.192 outside
ssh x.x.x.0 255.255.255.240 outside
ssh 192.168.1.0 255.255.255.0 inside
ssh timeout 5
console timeout 5
vpdn group test accept dialin pptp
vpdn group test ppp authentication mschap
vpdn group test ppp encryption mppe 128 required
vpdn group test client configuration address local test
vpdn group test client configuration dns 10.71.42.125
vpdn group test pptp echo 60
vpdn group test client authentication local
vpdn username jxxxxxxxi password *********
vpdn username xxxxxl password *********
vpdn username xxxxxxy password *********
vpdn enable outside
username Jxxxxx password CVa1Qh7zf.f.uHxm encrypted privilege 15
username isxxxxxx password .6c2js8QnRcpwZ2w encrypted privilege 15
username cxxxxxxx password /7s2IWadUaE5i3.b encrypted privilege 15
privilege show level 0 command version
privilege show level 0 command curpriv
privilege show level 3 command pdm
privilege show level 3 command blocks
privilege show level 3 command ssh
privilege configure level 3 command who
privilege show level 3 command isakmp
privilege show level 3 command ipsec
privilege show level 3 command vpdn
privilege show level 3 command local-host
privilege show level 3 command interface
privilege show level 3 command ip
privilege configure level 3 command ping
privilege show level 3 command uauth
privilege configure level 5 mode enable command configure
privilege show level 5 command running-config
privilege show level 5 command privilege
privilege show level 5 command clock
privilege show level 5 command ntp
privilege show level 5 mode configure command logging
privilege show level 5 command fragment
terminal width 80
Cryptochecksum:024e8e0639b2943b3587000beda8e7ed
: end
[OK]

 

by: _jesper_Posted on 2008-07-24 at 14:29:50ID: 22083712

questions:
 
  1) what are the internal and dmz IP addresses?
  2) are you going to do passive or active ftp?
  3) if passive ftp, what is the port range you will allow?

 

by: hullc65203Posted on 2008-07-25 at 07:17:15ID: 22088803

The dmz address is 10.71.42.165

I need it to access 10.6.1.59

What do you mean passive or active? I'm trying to set up this machine to automatically ftp from x.59. Is that passive?

 

by: _jesper_Posted on 2008-07-25 at 07:32:03ID: 22088918

With active ftp, the client initiates a connection to port 21 (the control channel) and transfer data to port 20 (the data channel) on the server.

With passive ftp, the initiates a connection to port 21 and, upon authentication, initiates the connection from a high port on its machine to a high port on the server machine.

With passive ftp, the server typically has a predefined range of allowed ports.

When configuring rules, you have to know which ports or ranges of ports at the destination are needed.

 

by: hullc65203Posted on 2008-07-28 at 06:22:14ID: 22102803

It will be active.

 

by: _jesper_Posted on 2008-07-28 at 07:15:39ID: 22103316

access-list dmz permit tcp host 10.71.42.165 host 10.6.1.59 eq 20
access-list dmz permit tcp host 10.71.42.165 host 10.6.1.59 eq 21

you may have to reapply the "access-group" command on the dmz interface after the change.

I don't see the 10.6.1 network in your config.  If this is a new subnet on the inside interface, you will also need a route statement:

route inside 10.6.1.0 255.255.255.0 IP.OF.NEXT.HOP

 

by: hullc65203Posted on 2008-07-28 at 08:33:04ID: 22104117

What do you mean reapply the access-group command?

 

by: _jesper_Posted on 2008-07-28 at 08:42:51ID: 22104197

config t
 access-group dmz in interface dmz

--------------

you're just typing it in again.  if i recall with the pix, if i made an acl change, i had to reapply the access-list to the interface.

 

by: hullc65203Posted on 2008-07-28 at 08:46:45ID: 22104225

I added access-list, route, and reapplied.

It's not working.

 

by: hullc65203Posted on 2008-07-28 at 08:59:05ID: 22104331

I added:

static (inside,dmz) 10.6.1.0 10.6.1.0 255.255.255.0 0 0

It's working, but it's not restricting to ftp. I can also telnet.

 

by: _jesper_Posted on 2008-07-28 at 09:17:32ID: 22104481

Can you post the entire dmz access list and the relevant log lines that show a successful telnet?

You may have to explicity block it (it should be listed before the "permit ip any any")

  -> access-list dmz deny ip any host 10.6.1.59

 

by: hullc65203Posted on 2008-07-30 at 08:43:46ID: 22121594

I made a mistake, it's working like it should.

Thanks!

 

by: hullc65203Posted on 2008-07-30 at 08:44:41ID: 31477528

Thanks!

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...