VNC in reverse Direction - vnc

I am developing a Remote Desktop application Like Tight VNC
But the Problem is the end that broadcasts the Screenshots doesn't have a Public IP
However the recieving end have.I was planing to use TightVNC Source Code. So is it feasible to use TightVNC Source for this purpouse as I dont see any such option in Tight VNC where the Sending end doesn't have Public
IP.

VNC allows for the Viewer / Client to start in "Listen-Mode" and wait for a server to connect. This is the reverse connection you speak of. Some tools provide a VNC Server contained in a Windows Exe that connects to a definded Viewer on startup, it allows Remote Support behind a home router. See the docs for more Infos (look for "Add new client" on Server Tray Icon)
Clarification:
When I want to use Tight VNC to Remote your PC (See your Desktop), I would normally do:
Connect my Client to your Server on your Public IP
Reverse VNC:
You Add my Public IP to your Server wich connects to my Client

Related

Send request from Webserver to Local server

I have a nodejs webserver running on a vserver (rented by me) and a local Raspberry Pi node server.
I dont want to open any ports for beeing accesable from the webserver.
My problem is that I want to create a web application you can interact with and the rpi should do things when any button is pressed on the webserver.
I thought it would be smart to create a json file on the webserver and my local server would listen on the json file.
Is there any better Idea?
Thx for your advice!
your problem can be solved using reverse proxy softwares that establishes secure tunnels from a public endpoint such as internet to a locally running network service.
ngrok is one of the best that I prefer to use.
To establish a communication between the raspberry and the webserver you need to open a port on the webserver.
However, you can restrict it to allow connections from the raspberry pi IP address only. Or do the connection via ssh and let the raspberry pi authenticate using its public key.

X-win launching the same application on a second client, the first client gets called

I'm currently connected to my local server (LAN) via SSH and have opened Firefox. I'm using it to access a service running on said server but limited to the 127.0.0.1 space.
When I connect to a second server (WAN) again via SSH and open Firefox from there (I'm using the Cygwin/X server) the page I open is called by the first instance of Firefox (in a new tab). I'm calling the remote server's router at 192.168.1.1 but see my local router's page instead!
If I then close the original instance of Firefox, I get the remote server's router page as expected.
I hope this is clear and can provide extra info if needed.
What I'm expecting is to have two Firefox windows on my desktop, each one running on it's own server.
Thanks

Controlling client terminal (linux)

In my university I have a server (CLUB Server) but the university local network is closed I mean I can not access the server from outside (from my house for example) but the server have the ability to access another server on the internet so in order to control the server I decided to make my home computer a server and buy a Fix-IP and configure the server to connect to my home server and in that way I will be able to control the University server from my home server
So it's easy to do that for example I can make an IRC server at home and when the university server connect to my home server I will send him command in on the chat space but this is not enough because I want to control the university server terminal so is there any existing application that have the ability to do such a thing or I have to program the control of my IRC chat commands one by one , please post any information you have ?
you can daisy chain ssh from machine to machine. log onto the the server you can get to from the outside with user#ip once logged in there ssh through the LAN with user# lan ip for that server.
The solution is to use the Reverse SSH and it's to make the server connect to the client and make an SSH port forwarding from client computer to the server so anyone will be able to connect to the server just by connecting to the client computer
For more informations -> https://www.howtoforge.com/reverse-ssh-tunneling

What is the best way to test a video chat application locally?

If I am running a local server that is hosting a video chat application what is the best way to test the application with another user? Lets say I have two computers, is there a way I can allow computer B to connect to the local server that is running on computer A? The goal is to simply test whether the video chat application works properly in two completely different browsers running on separate computers. If there is a way I can trick the app into thinking the computer that is running the local server is another host, please let me know.
But Remember that the app needs access to the computers webcam. Thanks!
Addition Info: Nodejs application that uses the Tokbox, express, and socket.io APIs
Just make sure your web server is listening on a routable IP like "0.0.0.0", which you specify when you call http.createServer(port, ip, handler). Then point the browsers at the server's IP address such as http://192.168.1.1:3000 (fill in your specific IP and port). You can use the command ifconfig -a on linux or osx to get your server's local IP address, and ipconfig on windows.

IIS7 access website from remote computer

i created a site on my iis7 it's like http://localhost:88/my
i also can access it like this http://myip:88/my
but when a friend of mine from a remote computer tried to access it like this http://myip:88/my it gives him 404 not found
anybody can tell me what should i do to make it work from remote ?
Check your firewall. You will have to open TCP Port 88.
Part 4: Opening Up to the Outside
World
Windows Firewall blocks the World Wide
Web Services port by default (Port
80). With this port blocked, other
machines cannot connect to your web
server. This severely limits the
scope of potential web site viewers.
So, in order to show your new web site
and server to the outside world you
must add an exception to the Windows
Firewall.
Click Start and type firewall into the Search bar and press enter.
(Note: Make sure you select Windows
Firewall and not Windows Firewall with
Advanced Security)
Click Change Settings
Click the Exceptions Tab and Scroll to World Wide Web Services
(HTTP).
Click the check box and click OK.
Now your machine is accessible to the
outside world. You can connect to
your machine by typing in the IP
address of your server into another
machine’s web browser.
source
If firewall setting is not the issue (say it's turned off), find out public IP of your server (ex. 192.168.0.152), then add it to http listener on the server itself
Open cmd and type:
netsh http add iplisten 192.168.0.152
Go Control Panel>System and Security>Windows Firewall>Allowed Programs-> then check all " World Wide Web Services(Http) tab"
Its is worked for me

Resources