※ 引述《[email protected] (我出運了)》之銘言:
: ※ 引述《[email protected] (特洛的夢中世界)》之銘言:
: : 還是一樣ㄟ
: : server -joejoe-:natd -redirect_port tcp 192.168.1.2:6901 6901
: : natd: aliasing address not given
: ...在我的機器上是可以跑的!
: 不過我的機器是跑pppoe ,
: 設定是在/etc/ppp.conf裡,
: 您的真實IP若是固定IP的話,
: 應該是把設定放在 /etc/natd.conf 就可以了..
: 當然, /etc/rc.conf 裡的設定是要有:
: natd_program="/sbin/natd"
: natd_enable="YES"
: natd_flags="-f /etc/natd.conf"
※ 引述《[email protected] (我出運了)》之銘言:
: ※ 引述《[email protected] (特洛的夢中世界)》之銘言:
: : 還是一樣ㄟ
: : server -joejoe-:natd -redirect_port tcp 192.168.1.2:6901 6901
: : natd: aliasing address not given
: ...在我的機器上是可以跑的!
: 不過我的機器是跑pppoe ,
: 設定是在/etc/ppp.conf裡,
: 您的真實IP若是固定IP的話,
: 應該是把設定放在 /etc/natd.conf 就可以了..
: 當然, /etc/rc.conf 裡的設定是要有:
: natd_program="/sbin/natd"
: natd_enable="YES"
: natd_flags="-f /etc/natd.conf"
他的問題是沒有加上 -n 指定 interface
不過 natd 已經在跑的時候不能再以 natd 指令修改他的設定
請先 kill 掉原本的 natd process 再輸入
natd -n vr0 -redirect_port tcp 192.168.1.2:6901 6901
--
※ Origin: 臺大電機 Maxwell 站 ◆ From: camel.ck.tp.edu.tw