I need to set up a firewall and DNS server on a single computer HELP PLEASE
I need to set up a firewall and a DNS server on a single computer and my problem is that i don't understand how to configure network cards for that. In fact, i don't know why there must be TWO network cards for that. All that i've done by now is to install OpenBSD, set up firewall rules, make firewall and DNS start after every rebooting and enable packet forwarding. But i don't know how to make it work like firewall and DNS should for small network of ten to twelve computers that must be connected to internet. My biggest problem is that i can't find understandable answer in any OpenBSD manual that is available to me.
So my main question would be why do i need to configure two cards. After that, how i configure them. I understand that for dynamic IP adress assignment i can configure in localhost.if
dhcp NONE NONE NONE
But one manual that i've seen states that in order to configure network card one must write following:
inet IP-adress 255.255.255.0 NONE
And it doesn't mention wether it's for static or dynamic assignment of IP adress.
Can someone please help me?
P.S. Sorry for my bad english.
Last edited by kla; 4th June 2009 at 11:43 AM. Reason: Title
|Thread||Thread Starter||Forum||Replies||Last Post|
|escape single quote in sed||gosha||Programming||5||9th March 2009 10:22 AM|
|What computer to get for bsd and pclinux||johnlvs2run||FreeBSD General||22||5th March 2009 03:32 AM|
|Single instance of VLC player||maxrussell||General software and network||1||8th February 2009 03:57 PM|
|computer hobbyist or pro?||ephemera||Off-Topic||26||3rd December 2008 04:57 AM|
|What do you use your computer for?||JMJ_coder||Off-Topic||17||23rd August 2008 11:08 AM|