Date: Fri, 8 Oct 1999 10:56:31 +0000 (GMT) From: Sean Noonan <snoonan@cx952600-a.fed1.sdca.home.com> To: freebsd-questions@FreeBSD.ORG Cc: snoonan@cx952600-a.fed1.sdca.home.com Subject: need help with natd Message-ID: <Pine.BSF.4.10.9910081053060.626-100000@cx952600-a.fed1.sdca.home.com>
next in thread | raw e-mail | index | archive | help
Greetings Wise FreeBSD Gurus: I can't seem to figure out how to accomplish what I want to do. Can any one help? I'm running 3.2-RELEASE. The machine is multihomed. NIC1 = xl0 = RFC1918 internal net (192.168.1/24). NIC2 = xl1 = cable modem IP (24.4.90.90). I want to be able to connect to PCAnywhere running on an internal NT machine (192.168.1.2) from my workstation at work (e.f.g.h). I'm running natd and ipfw. PCAnywhere apparently uses UDP ports 5631 and 5632 (but I've also seen connection traffic on UDP port 22 which I thought was for SSH, but I digress). I thought all I would have to do is: natd -n -xl1 -l -redirect_port udp 192.168.1.2:22 natd -n -xl1 -l -redirect_port udp 192.168.1.2:5631 natd -n -xl1 -l -redirect_port udp 192.168.1.2:5632 There we no errors from entering these commands. IPFW started complaining about Denying packets, so I [temporarily] alleviated that problem by issuing: ipfw add 5 allow ip from any to any Still no luck though. PCAnywhere on my work machine just times out trying to find a connection. Can anyone shed some light on what I've done wrong? I'm still pretty much a newbie, so if I forgot to include some information necessary for figuring out the puzzle please forgive me in advance. And yes, I'm aware of other alternatives such as VNC. I really want this particular scenario to work, though. Thanks in advance, -Sean Noonan snoonan@cx952600-a.fed1.sdca.home.com 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.10.9910081053060.626-100000>