Link to home
Start Free TrialLog in
Avatar of Space2004
Space2004

asked on

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???
Avatar of Frabble
Frabble
Flag of United Kingdom of Great Britain and Northern Ireland image

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.
Avatar of Space2004
Space2004

ASKER

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...
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.
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.
ASKER CERTIFIED SOLUTION
Avatar of modulo
modulo

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial