winvnc.exe bind to a specific IP address?

James [Wez] Weatherall jnw "at" orl.co.uk
Tue, 12 Jan 1999 15:52:34 +0000


On Tue, 12 Jan 1999, Geoff Breach wrote:

> Hi All,
> 
>  I'm working on using vnc to remote-control a firewall
> I'm building. The box in question is running WinNT 4.0,
> Service Pack 3, Teardrop 2 patch, WinVNC 3.3.2.
> 
>  The machine is dual-homed. Has two network interfaces
> and two IP addresses. One faces the big bad world, the
> other inside.
> 
>  I'd like to make winvnc.exe bind to, and listen on the
> internal interface only.
> 
>  Is such a thing possible in it's current incarnation?
> If not, would it be a difficult hack?

No currently supported.  I'm not sure how hard it is to hack - currently,
WinVNC listens on INNADDR_ANY - presumuably you could query the network
interface in the same way that the pop-up tool-tip on the menu icon does,
and select the appropriate IP address from those listed in some way.

Cheers,

James "Wez" Weatherall
--
Olivetti & Oracle Research Laboratory, Cambridge, UK - Tel : 343000
Laboratory for Communications Engineering, Cambridge - Tel : -


---------------------------------------------------------------------
The VNC mailing list     -   see http://www.orl.co.uk/vnc/intouch.html
---------------------------------------------------------------------