Date: Wed, 17 May 2000 16:05:38 -0400 (EDT) From: Mohsin Rahman <mtech@buffnet.net> To: FreeBSD Questions <freebsd-questions@FreeBSD.ORG> Subject: pcAnywhere and NATD/ipfw Message-ID: <Pine.BSF.4.05.10005171529350.91164-100000@buffnet7.buffnet.net>
next in thread | raw e-mail | index | archive | help
After reading the Questions archives and FreeBSDDiary.org, I setup a FreeBSD-3.2 box (test) with two NICs, rl0 (dedicated IP) and fxp0 for my internal (10.0.0.0) network. I have NATD and Firewall=OPEN working. Initially, I went with natd's redirect_port option, but realized it wasnt working for me. So I installed "rinetd" from the ports collection and redirected ports 22, 5631, 5632 and 65301 to a Win98 box on my private network (pc1/10.0.0.5). Just to make sure it was working, I also setup a Sambar Web server on the Win98 (10.0.0.5) box and accessed it from over the internet. I got this: bash-2.03# sockstat |grep rinetd root rinetd 392 4 tcp aa.bb.cc.dd.22 *.* root rinetd 392 5 tcp aa.bb.cc.dd.80 *.* root rinetd 392 6 tcp aa.bb.cc.dd.5631 *.* root rinetd 392 7 tcp aa.bb.cc.dd.5632 *.* root rinetd 392 11 tcp aa.bb.cc.dd.80 136.183.5.110.1093 root rinetd 392 12 tcp 10.0.0.1.1073 10.0.0.5.80 and I was able to pull up some test pages on the Win98 (10.0.0.5) box. Great!! This part is done. Then I tried pcAnywhere and got: bash-2.03# sockstat |grep rinetd root rinetd 392 4 tcp aa.bb.cc.dd.22 *.* root rinetd 392 5 tcp aa.bb.cc.dd.80 *.* root rinetd 392 6 tcp aa.bb.cc.dd.5631 *.* root rinetd 392 7 tcp aa.bb.cc.dd.5632 *.* basically no connection and pcAnywhere times out waiting for a host to answer. When I initiate the pcAnywhere connection, I get this in /var/log/messages May 17 15:34:26 test /kernel: Connection attempt to UDP aa.bb.cc.dd:22 from 136.183.5.110:1202 May 17 15:39:12 test /kernel: Connection attempt to UDP aa.bb.cc.dd:5632 from 136.183.5.110:1205 I also added this to /etc/serives to see if it made any difference: pc-anywhere 5631/tcp pc-anywhere 5631/udp pc-anywhere 5632/tcp pc-anywhere 5632/udp pc-anywhere 56301/tcp pc-anywhere 56301/udp I believe it has to do something with port 22 and 5632 combination. Does anyone know how I go about fixing this. Thanks! Mohsin AbdulRahman MTech@BuffNET.Net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.10005171529350.91164-100000>