Date: Wed, 17 Nov 1999 15:21:17 -0000 From: "taohuang" <freebsd_tao@hotmail.com> To: <freebsd-questions@freebsd.org> Subject: Why my natd cann`t run automaticly! Message-ID: <19991117151941.24011.qmail@hotmail.com>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] I have install the natd. And sb tell me that I should put one line in rc.local and rc.firewall. And I do it like this. I put the line in the rc.local natd -interface ep0 I put the follow three line in the rc.firewall ipfw -f flush ipfw add divert natd all from any to any via ep0 ipfw add pass all from any to any But the natd didn`t run after reboot and I had to run the four lines by myself.What is the matter with it? Where should I put this line in? [-- Attachment #2 --] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content="text/html; charset=iso-8859-1" http-equiv=Content-Type> <META content="MSHTML 5.00.2614.3500" name=GENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=#ffffff> <DIV>I have install the natd. And sb tell me that I should put one </DIV> <DIV>line in rc.local and rc.firewall.</DIV> <DIV>And I do it like this. </DIV> <DIV>I put the line in the rc.local</DIV> <DIV>natd -interface ep0 </DIV> <DIV> </DIV> <DIV>I put the follow three line in the rc.firewall</DIV> <DIV>ipfw -f flush </DIV> <DIV>ipfw add divert natd all from any to any via ep0</DIV> <DIV>ipfw add pass all from any to any</DIV> <DIV> </DIV> <DIV>But the natd didn`t run after reboot and I had to run the four </DIV> <DIV>lines by myself.What is the matter with it? Where should I put </DIV> <DIV>this line in?</DIV></BODY></HTML>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991117151941.24011.qmail>
