Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 402
  • Last Modified:

New PIX

Hello,
I just got a new PIX and am trying to get it configured for my environmet, but I need some help.
With my old firewall, I was able to have only one IP address assigned to the external interface and through "redirected services" send email to my mail gateway on the internal network, web traffic to the web server in the DMZ. Is there any way to accomplish this on the PIX, or do I need to have one routable IP address for each server and have static translations for each machine?
0
MrWhitefolks
Asked:
MrWhitefolks
  • 2
1 Solution
 
lrmooreCommented:
You can do it with just one IP:
Example:
ip address outside 1.2.3.4 255.255.255.252

! Create an access-list permitting inbound SMTP and WWW
access-list inbound_access permit tcp any host 1.2.3.4 eq 25
access-list inbound_access permit tcp any host 1.2.3.4 eq www
# alternative (might work, I've never tried it)
access-list inbound_access permit tcp any interface outside eq 25
access-list inbound_access permit tcp any interface outside eq www
!
! Create a static Port redirect from outside interface to inside host 192.168.122.22 for SMTP
! to inside host 192.168.122.33 for WWW
static (inside,outside) tcp interface 25 192.168.122.22 25 netmask 255.255.255.255
static (inside,outside) tcp interface www 192.168.122.33 www netmask 255.255.255.255
!

done.
0
 
MrWhitefolksAuthor Commented:
As a follow up to this question, what if I have a web server and an outlook web access server both running on ports 80/443. Is there any way to still only have 1 IP address, or is another one required?
0
 
lrmooreCommented:
Sorry, only one translation per port...

0

Featured Post

The Lifecycle Approach to Managing Security Policy

Managing application connectivity and security policies can be achieved more effectively when following a framework that automates repeatable processes and ensures that the right activities are performed in the right order.

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