to protect the vnc port , set up a port to accept connection from wan and forward to local tcp 5900
--- serverside.conf ---
cert = stunnel.pem
socket = l:TCP_NODELAY=1
socket = r:TCP_NODELAY=1
client = no
[vnc]
accept = 5899
; suppose port 5899 is a free port(not used by any service), and should be configured to be accessible from wan, forward form firewall(if any)
connect = 5900
--- clientside.conf ---
cert = stunnel.pem
socket = l:TCP_NODELAY=1
socket = r:TCP_NODELAY=1
client = yes
[vnc]
accept = 5900
protocol = connect
protocolHost = serverside.ip.here.net:5899
; 5899 here is the accept port in server
protocolUsername = usernamehere
protocolPassword = passwordhere
connect = proxy.ip.com:8080
; assume proxy server can connect to port 5899 , not only common http port 80 , 8000 or 8080
server side, run
start /MIN /B stunnel.exe .\serverside.conf
client side, run
start /MIN /B stunnel.exe .\clientside.conf
Thursday 20 January 2011
Subscribe to:
Post Comments (Atom)
Labels
- ahk (1)
- android (1)
- apache (1)
- cifs (1)
- cygwin (2)
- E17 (1)
- gOS (1)
- grldr (4)
- grub (4)
- linux (5)
- mp4 (4)
- mysql (2)
- mytv (5)
- mytv download (5)
- php (2)
- pidgin (1)
- pxe (1)
- rtmp (7)
- rtmpdump (1)
- rtmpe (5)
- samba (1)
- sed (5)
- ssed (4)
- tvb (1)
- tvb.com (6)
- tvb.com.hk (6)
- ubuntu (2)
- virtualbox (1)
- winflp (1)
- xargs (1)
No comments:
Post a Comment