Re: port forwarding and vnc - WeOnlyDo Discussion board

Re: port forwarding and vnc (General questions)

by woddrazen, Monday, May 26, 2008, 15:55 (6023 days ago) @ Alok

Alok,


I'm still not sure that you understand me fully what should you try. Let me try to explain it once more.

When you are creating cwodVPN channel you are using this variable: m_LocalIP, m_LocalPort, m_RemoteIP, m_RemotePort

m_LocalIP is local machine IP where wodVPN should create channel and m_LocalPort is port where channel should be created.

m_RemoteIP should be remote machine IP address but actually local IP address of remote machine where in your case your VNC server is.

So m_RemoteIP is probably also 127.0.0.1 and m_RemotePort is port of remote machine VNC server.

This is code for creating channel that you should try when you are connected between peers:
[code]wodVPN1.channels.Add(0, 127.0.0.1 , 1200, 127.0.0.1 ,27000);[/code]

Can you try that and let us know how it goes.


Drazen


Complete thread: