|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
Web Server Requirement Static or DHCP?
I Have a "basic" question that i need cleared up before i can plan
out my network. QUESTION: I need to know if i need a "STATIC" IP address from my provider to allow internet access to my webpage hosted on a planned internal network? .OR. Can this be accomplished by an IP address that is currently provided to me dynamically. I am confused, because i am told i need a STATIC address but when i read a paragraph like the following i realize i am missing something. TAKEN from: OpenBSD's "not allowed to post URL's yet so cannot give reference." "PF: Example: Firewall for Home or Small Office" stating the following: ---------------------------------------------------------------------------------------------- /QUOTE Since the IP address on the external interface is assigned dynamically, parenthesis are placed around the translation interface so that PF will notice when the address changes. The :0 suffix is used so that, if the external interface has multiple addresses, only the first address is used for translation. / match out on egress inet from !(egress:network) to any nat-to (egress:0) ----------------------------------------------------------------------------------------------- referring to this basic setup which is close to what i am planning [ COMP1 ] [ COMP3 ] | | ---+------+-----+------- xl0 [ OpenBSD ] fxp0 -------- ( Internet ) | [ COMP2 ] The web-server will be limited to presenting a small chrooted Apache information webpage for my business (comp 3) within my network. My provider will supply me with a static address upon request at a reasonable rate, so that appears not to be a barrier. On the other hand for testing purposes if i can set up pf with a dynamic ext_if why not. I am currently using pf for basic filtering on individual machines while using an off the shelf router/firewall and switches for WAN/LAN connections. I would like to take the next step and replace the router/firewall with a small box running pf routing to my LAN. Some thoughts will help as i am confused when i read the above statement. Last edited by frcc; 15th October 2012 at 01:49 AM. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Lenovo T60 as a wireless AP (wpi0), DHCP server | mbonitat | OpenBSD General | 5 | 30th December 2011 08:25 PM |
Worm uses built-in DHCP server to spread | J65nko | News | 0 | 6th June 2011 09:39 AM |
isc dhcp server | queshaw | OpenBSD Packages and Ports | 1 | 8th February 2011 11:09 AM |
snd_emu10k1 and static | kly | FreeBSD General | 3 | 17th September 2009 01:28 PM |
DHCP Server | WeakSauceIII | OpenBSD General | 1 | 25th September 2008 03:34 AM |