Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 4th June 2009
kla kla is offline
New User
Join Date: Jun 2009
Posts: 6
Default 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


But one manual that i've seen states that in order to configure network card one must write following:

inet IP-adress 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
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
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

All times are GMT. The time now is 10:01 AM.

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