NAT Port Forwarding有錯誤 - BBS
By Suhail Hany
at 2008-03-13T12:57
at 2008-03-13T12:57
Table of Contents
先感謝之前大大幫忙 NAT終於架成功了
目前配置是 外網-------FreeBSD-------XP
(140.115.208.168) (192.168.112.168)
(192.168.112.254)
可是我現在想要從外網遠端到XP那台
查了一下資料 XP的遠端桌面連線是用port 3389
所以我想用IP FORWARDING把140.115.208.168:3389轉到192.168.112.168:3389
照著一些網上教學文件 卻不得其果
爬了版上的文尋求解答 卻看不太懂
只好自己PO一篇
目前的設定
---------GENERIC--------------
options IPFIREWALL
options IPDIVERT
options IPFIREWALL_DEFAULT_TO_ACCEPT
options IPFIREWALL_VERBOSE
options IPFIREWALL_VERBOSE_LIMIT=10
options IPFIREWALL_FORWARD
options DUMMYNET
---------/etc/rc.conf---------------
defaultrouter="140.115.208.254"
hostname="bestwishes.csie.ncu.edu.tw"
ifconfig_de0="inet 140.115.208.168 netmask 255.255.255.0"
ifconfig_rl0="inet 192.168.112.254 netmask 255.255.255.0"
keymap="us.iso"
sshd_enable="YES"
usbd_enable="YES"
gateway_enable="YES"
firewall_enable="YES"
firewall_type="OPEN"
natd_interface="de0"
natd_enable="YES"
natd_flags="-f /etc/natd.conf"
----------/etc/natd.conf--------------
redirect_port tcp 192.168.112.168:20 140.115.208.168:20
redirect_port tcp 192.168.112.168:21 140.115.208.16821
redirect_port tcp 192.168.112.168:3389 140.115.208.168:3389
然後natd有錯誤訊息
natd: Unable to bind divert socket.: Address already in use
試過版上的方法砍掉服務再開 還是不行
繼NAT之後 搞這個又搞了兩三天 囧
--
Tags:
BBS
All Comments
Related Posts
KERNEL無法安裝
By Hamiltion
at 2008-03-12T21:55
at 2008-03-12T21:55
rsync Patch patch-CVE-2007-4091 failed
By Edith
at 2008-03-12T15:10
at 2008-03-12T15:10
rsync Patch patch-CVE-2007-4091 failed
By Eden
at 2008-03-12T13:08
at 2008-03-12T13:08
rsync Patch patch-CVE-2007-4091 failed
By Daph Bay
at 2008-03-12T10:51
at 2008-03-12T10:51
請問FreeBSD以後還會再繼續維護嗎?
By Megan
at 2008-03-11T23:36
at 2008-03-11T23:36