看板FreeBSD
标 题Re: redirect port无法启动??
发信站KKCITY (Wed Jun 30 07:09:52 2004)
转信站ptt!ctu-reader!ctu-peer!news.nctu!netnews.csie.nctu!news.ee.ttu!news.n
※ 引述《[email protected] (最糟糕的状况....)》之铭言:
> ※ 引述《[email protected] (39.8 度)》之铭言:
> : 建议你这样用:
> : natd_flags="-config /etc/natd.conf"
> : 然後去编辑 /etc/natd.conf
> : reidrect_port tcp 192.168.0.6:21 2004
> 现在有一个状况
> 照您说的无法连线
> 但是改成reidrect_port tcp 192.168.0.6:21 xxx.xxx.xxx.xxx:2004
> 这样的格式是ok的
> 但是我上面指的ok是指
> nat网路里头的内部电脑可以正常以 ftp xxx.xxx.xxx.xxx 2004 正常转port到内部
> 但是在外面的电脑依然无法正常转port过来
> 请问要怎麽解决??
如果你是动态IP,ADSL拨号的话.
natd.conf设成
interface tun0
dynamic
redirect_port udp 192.168.1.2:4665 4665
给你参考一下.
--
┌─────◆KKCITY◆─────┐ ◢
◤ ★ 线上音乐新震撼 ★ ◢
◤
│ bbs.kkcity.com.tw │ ^_^ / 随选随播免等待 KKBOX◤ ^_^ /
└──《From:220.137.64.24
》──┘ ◤ http://www.kkbox.com.tw ◤