Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 May 2001 22:35:51 -0600
From:      Jamie Hermans <jamie@hermans.ca>
To:        mac.list@deam.org (mac), freebsd-questions@freebsd.org
Subject:   Re: NAT and portforwarding
Message-ID:  <la99gt03uadhg1usrh2sh1m05l0k7783b6@4ax.com>
In-Reply-To: <a05100e00b72a2f9638ff@[10.10.10.11]>
References:  <a05100e00b72a2f9638ff@[10.10.10.11]>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 18 May 2001 03:57:33 +0200, mac.list@deam.org (mac) wrote:

>hi there,
>
>first of all:
>i have 4.3 and nat with some minimal firewall-rulez.
>there are currently no static-nat-entries and the machine only have=20
>one public and one private number on different interfaces.
>
>what i need:
>i have a vnc-server running on a mchine in my private network and i=20
>want to connect from outside.
>is this possible and if yes: can i use a different port than the =
vnc-port on ?!
>
>
>i know, this sounds a bit silly and the security is then a mess, but=20
>i wanna try out if this is possible.
>
>thanks in advance
>mac

In my /etc/natd.conf, I have:

redirect_port tcp 192.168.xx.yy:5800 5800
redirect_port tcp 192.168.xx.yy:5900 5900

This redirects the VNC control port and the data channel from the
nat'd interface to the machine you specify.

... Jamie


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?la99gt03uadhg1usrh2sh1m05l0k7783b6>