DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Security

OpenBSD Security Functionally paranoid!

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #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
 

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 On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Routing internal requests to external IPs jdude FreeBSD General 1 9th July 2009 07:25 AM
Problem pinging internal nic JustDoIt OpenBSD General 16 19th August 2008 08:16 PM
fetchmail: POP3< -ERR internal server error graudeejs FreeBSD General 3 19th July 2008 02:02 PM
NIC with internal cable; how to remove? TerryP Off-Topic 9 14th July 2008 06:33 AM
2 external NIC + 1 internal NIC AlexV FreeBSD General 7 4th June 2008 08:18 AM


All times are GMT. The time now is 01:58 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick