CPUG

The Check Point User Group

A Resource For The Check Point Community.  Fast.  Useful.  Independent.

1. CCSA/CCSE One-Week Dual-Certification Training Course with CPUG in San Francisco!
    Courses Starting 12/8, (2009) 1/19, 2/9, 3/9, 4/6, 5/4, 6/8, 7/6, 8/3.
2. Join Us On LinkedIn - We now have a CPUG group.


Go Back   CPUG: The Check Point User Group > Check Point Firewall-1/VPN-1 And Related Products > NAT (Network Address Translation)
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 2006-06-23
Junior Member
 
Join Date: 2006-01-27
Posts: 2
Rep Power: 0
mhoeneveld has an average reputation (10+)
Default Portforwarding depending on HTTP header

I have the following problem to solve.
In the internal network is a webserver that offers to web processes. One on port 80 and one on port 81.
The external address is a single address.
In DNS there are two entries for the services like;
web1.my.com A-host 1.1.1.1
web2 CNAME web1

Now comes the problem.
When a client goes to http://web1.my.com it will be NATed to the internal webserver on port 80
But how can I make a rule that when a client connects to http://web2.my.com it will be NATed to the same internal webserver only to port 81

I knwo a webserver like Apache has all capabilities to have these virtual server processes that are redirected internally based on the HTTP header. But unfortunatly this webserver doesnt allow me to do that.

Any help is appreciated
Maurice Hoeneveld
Reply With Quote
  #2 (permalink)  
Old 2006-07-11
Senior Member
 
Join Date: 2006-05-24
Location: India
Posts: 151
Rep Power: 3
vijayant has an average reputation (10+)
Default Re: Portforwarding depending on HTTP header

Hi

I feel till now your two links are are pointing to the same destination IP with two different ports 80, 81. If this is the case then have you tried Static NAT.
Creat one object with IP = Web server's IP and one static rule, I feel it should work
Reply With Quote
  #3 (permalink)  
Old 2006-07-11
Senior Member
 
Join Date: 2006-04-27
Location: Twillight zone
Posts: 464
Rep Power: 3
abusharif has an average reputation (10+)
Default Re: Portforwarding depending on HTTP header

Create a http uri resource redirecting to internal server on port 81 depending on the "host" field you define in the object.
Reply With Quote
  #4 (permalink)  
Old 2006-07-14
Senior Member
 
Join Date: 2005-11-21
Location: Europe, Lithuania
Posts: 291
Rep Power: 4
Sergej has an average reputation (10+)
Default Re: Portforwarding depending on HTTP header

What URL go the users use to connect to the web2 from outside?

http://web2.my.com:80 OR http://web2.my.com:81 ?
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -7. The time now is 10:12.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0