Networking with devices in local network - networking

I have a local home network (my router) I have a raspberry pi setup as a web server. I do not want the web server to be access from devices outside my home network. I only want local devices to connect to the web server. I belief I am able to do this like (raspberrypi.local). Do I have to port forward on the router for local devices to connect to the pi or is port forwarding used for external devices outside the network

Port forwarding is used to access internal network ports from outside.

Related

No-IP hosted server isn't reachable if I'm connected to mobile hotspot

I'm hosting a server on my laptop, to make it reachable from the outside I'm using No-IP.
When I'm connected to my home Wi-Fi I can easly reach it from other computers because I've opened my router port, but when I'm connected to my mobile hotspot I cannot reach the server from other devices, that's because the ports aren't open. How do I open mobile hotspot's port to make the server reachable?

Using Charles proxy with shared connection with no proxy server configuration

I want to use Charles proxy on all traffic that comes from iOS devices connected to my shared network, without configuring any proxy server settings on devices.
I have created a shared ethernet connection over Wi-Fi on a Mac machine.
I have connected the devices I want to monitor to the shared Wi-Fi.
Charles proxy works fine, but I can only see requests from the Mac, and not from the devices connected to the shared Wi-Fi. If I add manual proxy config on devices, it works fine.
Is there a way to redirect all traffic that goes through the shared Wi-Fi to the proxy server?

Open website via computer IP address while running tomcat locally with a router?

I'm working on a website for a friend, developing using Eclipse/Tomcat. I'm running it locally and trying to open it via my internet port IP address, but I can't get it to work. The computer I am running it from is connected to a router, so it is running off of 192.168.1.4, and http://192.168.1.4:8080/Mobile_Site/index.jsp works. However when I try and open it via my internet port IP, http://67.xxx.244.xx:8080/Mobile_Site/index.jsp it doesn't find it from any device, even outside my local network. Is there a way to send the link when running locally when connected to a router?
You have to configure your router port forwarding (or virtual servers depending on the router) to forward TCP connections from 67.xxx.244.xx:NNNN to 192.168.1.4:8080.
Then you give the 67.xxx.244.xx:NNNN address to your friend.
Note: NNNN at your router doesn't need to be 8080, as long as the port forwarding is set properly.

How do I connect to a local server run by Aptana from an outside network?

I have a rails server that i run from Aptana Studio. I normally connect to it via localhost:300, and everyone on the network connects to it via stonecrab:3000 (stonecrab is the name of my computer). However, how do I allow people from outside the local network to connect to the server? For instance, if the IP of my internet connection is 123.456.7.8, what URL can someone use in a web browser to connect to my server? I have a linksys e1000 router and i can access it if i need to change any settings.
Thanks
By default, your machine will not be accessible from behind the router. You need to enable port forwarding in your router. You need to tell your router to forward port 3000 to the IP of stonecrab. Then you will use 123.456.7.8:3000 to access stonecrabe:3000 from outside the LAN.

Communicate to a web application via application that is running on a PC that is connected to internet via Wifi

This is my application setup.
I have written an application (in Qt ) which will run on a linux computer (Ubuntu). The application accepts requests from web app and sends them to a serial device that is connected to the computer. Also application will send back the response to web app as well. This linux computer is connected to internet via wifi router.
Now my question is, Is there a way (other than port forwarding in wifi router) that I can achieve this functionality. Using port forwarding I can ask the router to forward the requests coming for a particular port to my computer at a particular port and my application would be listening for that. But for that I would have to configure the router and I don't want to do that. Is there a way I can do that automatically?
Thanks,
DPatel
Your issue is traversing non-routable NAT addresses.
UPNP is an option: http://en.wikipedia.org/wiki/Universal_Plug_and_Play
It will automatically configure port forwarding.
There is a library out there called STUNT for this as well:
http://nutss.gforge.cis.cornell.edu/stunt.php

Resources