Date: Thu, 18 May 2000 15:09:45 -0500 From: "Jonathan E. Lyons" <parrothd@midwest.net> To: Mohsin Rahman <mtech@buffnet.net>, FreeBSD Questions <freebsd-questions@FreeBSD.ORG> Subject: Re: pcAnywhere and NATD/ipfw Message-ID: <3.0.5.32.20000518150945.013d11b0@midwest.net> In-Reply-To: <Pine.BSF.4.05.10005171529350.91164-100000@buffnet7.buffnet .net>
next in thread | previous in thread | raw e-mail | index | archive | help
Use VNC instead of PcAnywhere.. :) http://www.uk.research.att.com/vnc/ At 04:05 PM 5/17/00 -0400, Mohsin Rahman wrote: >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 > > Jonathan E. Lyons Nucleus Consulting parrothd@midwest.net www.nucleusconsulting.com ICQ # 14226912 A+, MCSE, CCNA, FreeBSD! 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?3.0.5.32.20000518150945.013d11b0>