Date: Tue, 10 Dec 2002 00:13:16 +0800 From: leafy <leafy@leafy.idv.tw> To: freebsd-net@freebsd.org Subject: [leafy@leafy.idv.tw: Confused by mpd and ipnat] Message-ID: <20021209161316.GA625@leafy.idv.tw>
next in thread | raw e-mail | index | archive | help
----- Forwarded message from leafy <leafy@leafy.idv.tw> ----- Date: Tue, 10 Dec 2002 00:06:21 +0800 From: leafy <leafy@leafy.idv.tw> To: freebsd-current@FreeBSD.ORG Subject: Confused by mpd and ipnat I run -current and decided to try kernel PPPoE. I installed mpd from ports which ran fine. After installing ipnat, I setup the following rule in ipnat.rules: map ng0 192.168.0.0/24 -> 0/32 When I reboot, this line (along with ipnat stuff) got executed before mpd fiinishes PPPoE negotiation, and ipnat -l shows no traffice could be passed from the local network. (no mapping exists) Only after I do "ipnat -C && ipnat -f /etc/ipnat.rules" can I get traffice through. Is there anyway I can ensure that "ipnat -f /etc/ipnat.rules" get executed only after mpd has obtained proper ip settings? Thank you, JY To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message ----- End forwarded message ----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021209161316.GA625>