Re: Router mit FreeBSD

From: Christoph Sold <so(at)server.i-clue.de>
Date: Fri, 23 Mar 2001 09:45:46 +0100

Martin Schepers schrieb:
>
> Hallo,
>
> ich möchte mit einem Minimalsystem und zwei Netzwerkkarten
> einen Router zwischen ein internes (192.168.1.0) und ein
> externes Netz (Standleitung) stellen.

natd aktivieren (siehe man natd), gateway_enable="YES":
natd_program="/sbin/natd" # path to natd, if you want a different
one.
natd_enable="NO" # Enable natd (if firewall_enable ==
YES).
natd_interface="fxp0" # Public interface or IPaddress to use.
natd_flags="" # Additional flags for natd.

> Gibt es dazu eine halbwegs einfache Firewall-Software oder
> eine Möglichkeit, alles dicht zu machen, so dass man von aussen
> nicht mehr so einfach rein kommt?
>
> Von drinnen sollen alle gängigen Dienste wie www, ftp, pop3,
> smtp, usw. laufen.

Die eingebaute Firewall aktivieren (siehe /etc/defaults/rc.conf):

firewall_enable="NO" # Set to YES to enable firewall
functionality
firewall_script="/etc/rc.firewall" # Which script to run to set up the
firewall
firewall_type="UNKNOWN" # Firewall type (see /etc/rc.firewall)
firewall_quiet="NO" # Set to YES to suppress rule display
firewall_logging="NO" # Set to YES to enable events logging
firewall_flags="" # Flags passed to ipfw when type is a
file

Genauere Einstellungen siehe dort.

HTH
-Christoph Sold

To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Fri 23 Mar 2001 - 09:44:55 CET

search this site