Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jul 1997 15:00:49 +0200
From:      jr@ZEDO.E-Technik.Uni-Dortmund.DE (joerg roslawski)
To:        freebsd-questions@FreeBSD.ORG
Subject:   Firewall (Dual-Homed-Host) configuration-problems
Message-ID:  <199707141300.PAA20961@astral.chemietechnik.uni-dortmund.de>

Next in thread | Raw E-Mail | Index | Archive | Help


I am using FreeBSD 2.2.2-Release, trying to build a packet filtering router with 
two Ethernetcards (ed0, ed1).

- I compiled a new Kernel with options Firewall enabled.
- I edited the rc.conf file with correct entries of ed0 and ed1 and              
  set Firewalltype="simple".
- I set inside - and outside interface network in rc.firewall
- I allow "all from any to any via ed0" and "all from anny to any via ed1" at    
  first, in order to check connections.

When there are both Ethernetcards in the rc.conf, I have only the possibility to 
access the Network through ed0. Only when remarking the entry of ed0 I am also 
able to access the Network through ed1. 

Questions :
* What must be done to make both ether-cards work in that Dual-Homed-Host ?
* Needs this Dual-Homed Host to be configured as a router and do I have to
  create a routing table although a router exists on another machine ?
* Should I set gateway="YES" in rc.conf ?  
  
 
Thanks a lotfor your help. 
= J. Roslawski =
eMail : jr@astral.zedo.fuedo.de



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?199707141300.PAA20961>