[Webinar] Streamline your web hosting managementRegister Today

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

Checkpoint firewall or Routing Problem?

I have a Checkpoint firewall running on top of a SUN server.  What I'm trying to do seems as though it should be really easy but I'm fairly new to both UNIX and Checkpoint so I can't see my mistake.  Here are the details:

1) I have a web server on my DMZ network.

2) I created two network objects: one for external address of web server (I called it Webserver-X) and one object that is the internal address with a static mapping mapping to one of our outside addresses (I called the object Webserver).

3) I've installed a rule in Checkpoint that says:
  SOURCE     DESTINATION     SERVICE
  Any             Webserver-X       tcp http

4) Next I add the route and bind to our outside address (I've changed the IP and HW addresses shown here to some random address).  

route add 64.238.114.23 10.10.1.26
arp -s 64.238.114.23  09:00:20:ce:be:91 pub

Internally the page works fine.  When I try to connect from outside our network, I get error page cannot be displayed.   However when I view the firewall log, I can see that my connection to Webserver-X was "accepted": the Source was some external address that I was testing from and the Destination was Webserver-X.

So I can't see why the page is not displayed.  It's like the Firewall software is okay with the connection but I've done something wrong on the underlying UNIX part... can anyone point me in the right direction???
0
Space2004
Asked:
Space2004
  • 2
  • 2
1 Solution
 
FrabbleCommented:
I take it since you're having to configure a host route and add a proxy arp entry you're not using automatic ARP. In which case you should also have a NAT rule that has the public address as destination and the internal address, as static, for the translated destination.
0
 
Space2004Author Commented:
To clarify, do you mean that I need to do this at the OS level?  I have a network object in Checkpoint 4.1 that represents the internal address of the webserver and on the NAT tab, I have a static translation to the public address.

But at the OS level the only things I have done are to add the route from Outside address to the servers internal address with this static arp...
0
 
FrabbleCommented:
You appear to have done the correct OS configurations.

What is also required is a NAT rule in the firewall configuration for incoming connections, which maps the public address to the internal address. The static translation you have to the public address will apply only to outgoing connections.

By enabling the translated source and destination columns, the logs should show what translation is occuring.
0
 
Space2004Author Commented:
I had a NAT rule with static mapping configured in Checkpoint:

2) I created two network objects: one for external address of web server (I called it Webserver-X) and one object that is the internal address with a static mapping mapping to one of our outside addresses (I called the object Webserver).

But I've since worked around the problem by using a different outside address.  It seems like the problem is that I can't use external addresses that have been used before for something. Perhaps the old information is in held in some other file that checkpoint might use to check the state of the connection.  

In any rate thanks very much to anyone who took the time to look through this issue and consider a response to me.
0
 
moduloCommented:
PAQed with points refunded (500)

modulo
Community Support Moderator
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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