View Single Post
  #1   (View Single Post)  
Old 9th February 2009
plexter plexter is offline
Shell Scout
 
Join Date: May 2008
Posts: 124
Question Redirect Internal Network to Internal Website

Hello all,

I am trying to figure out how I can have PF redirect my internal addresses to my internal web server...etc rather than have internal users access the internal resources from the internet.

Example:

Internal user tries to access my website. http://*url*.org
or
Internal user tried to access web service. https://*url*.orgort#/path/


I have tried adding redirect rules for my internal interface but they do not seem to be working.

Code:
rdr on $int_if inet proto tcp from any to *myurl* port 80 -> *webserver* port 80
I would rather not use an IP for the URL.

Does anyone know how this can be done?

Thanks!
Reply With Quote