getting natd to run again

2009-05-13 13:20:10来源:未知 阅读 ()

新老客户大回馈,云服务器低至5折

See also,
natd
.
At this point, I had both network cards running.  From the FreeBSD machine I could ping the outside world via ed0 and
my subnet
via ed1.   The next step was to ping the outside world from elsewhere on my subnet.
I've
modified my system
to start DHCP and natd automatically when the system starts up.  I have changed the /etc/rc.local file to contain (NOTE:  /etc/rc.local is deprecated; use /usr/local/etc/rc.d/ instead; see
Starting stuff at boot time
and
Installing IP Filter 3.3.3
for an example):
dhclient ed0
ifconfig ed1 inet 10.0.0.10 255.255.255.0
natd -f /etc/natd.conf
But my filtering rules need some adjustment.  For details on that, see
Filtering
.


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/4206/showart_523841.html

标签:

版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有

上一篇:enabling DNS again

下一篇:Adding a second network card (and compiling a kern