|
Author: David Elliott
Date: 28-03-00 06:23
Installed 3.2 stable and am running ipfw, natd and dhcp (cable modem). rc.conf looks like this:
ifconfig_mx0="inet 192.168.1.1 netmask 255.255.255.0"
gateway_enable="yes"
network_interfaces="mx0 mx1 lo0 auto"
ifconfig_lo0="127.0.0.1"
hostname="myname.my.domain"
firewall_enable="yes"
natd_enable="yes"
natd_interface="mx1"
natd_flags="-f /etc/natd.conf"
named_enable="no"
natd.conf has this:
interface mx1
port 8668
dynamic yes
use_sockets yes
same_ports yes
unregistered_only yes
Boot-up script has this:
dhclient mx1
ifconfig mx0 inet 192.168.1.1 255.255.255.0
natd -f /etc/natd.conf
My problem is that the win98 machine can't get out. I can ping it from the bsd box & the bsd box has access to the outside. This newbie will appreciated any suggestions.
|
|
Reply To This Message
|
|
Author: Marc Giannoni
Date: 31-03-00 16:51
Make sure you have GATEWAY and DIVERT enabled in your kernel, and be sure that 'natd' knows which interface is for the divert socket. There is a good tutorial on the FreeBSDzine site. I've had to specify "open" firewall rules for 'ipfw' to get everything going.
|
|
Reply To This Message
|
|