Date: Tue, 22 Jan 2002 09:53:27 -0800 From: "Craig Burgess" <craig@CheetahUSA.net> To: "Ruslan Ermilov" <ru@FreeBSD.ORG> Cc: <questions@FreeBSD.ORG> Subject: RE: syntax for (nat) multiple -redirect-ports? Message-ID: <JMEJIDBCLMMNOALABHFFAEPMCHAA.craig@CheetahUSA.net> In-Reply-To: <20020122192002.B58453@sunbay.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Ruslan, Um. "Just add one" as: 'natd -s -m -v -n -redirect_port tcp 192.168.0.130:2050-2051 2050-2051 -redirect_port udp 192.168.0.20:4632:4632 ...' or will it work with a single '-redirect_port' with arguments seperated by commas? On one line in the rc.conf or ...?? (Will 'natd -s -m -v -n -redirect_port tcp 192.168.0.130:2050-2051 2050-2051, 192.168.0.2:5800-5805 5800-5805' work??) The docs (man page etc) aren't clear at all IMO. thanks, craig > -----Original Message----- > From: owner-freebsd-questions@FreeBSD.ORG > [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of > Ruslan Ermilov > Sent: Tuesday, January 22, 2002 9:20 AM > To: Craig Burgess > Cc: questions@FreeBSD.ORG > Subject: Re: syntax for (nat) multiple -redirect-ports? > > > On Tue, Jan 22, 2002 at 08:02:23AM -0800, Craig Burgess wrote: > > What is the correct working syntax for the rc.conf > file to "open" > > different ports for different machines on the local LAN? > > > > This one works: > > 'natd -s -m -v -n -redirect_port tcp 192.168.0.130:2050-2051 > > 2050-2051' > > BUT > > how do I add a redirect for different ports to a > different machine? > > (I'm trying to get pcAnywhere to work as 'host' behind the > > firewall. Firewall type is "open.") I can't tell if > the problem is > > with the pcAnywhere configuration, or my redirect_port > arguments. > > > There could be any number of -redirect_port's, just add one. > > > Cheers, > -- > Ruslan Ermilov Oracle Developer/DBA, > ru@sunbay.com Sunbay Software AG, > ru@FreeBSD.org FreeBSD committer, > +380.652.512.251 Simferopol, Ukraine > > http://www.FreeBSD.org The Power To Serve > http://www.oracle.com Enabling The Information Age > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message 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?JMEJIDBCLMMNOALABHFFAEPMCHAA.craig>