"Dynamic" port forwarding? - networking

I'm developing a server that will be hosted on a Raspberry Pi in C# for a customer. One of the biggest issues is they want a local server, but one they could plug in anywhere and have it work.
My brain went to no-ip first but they aren't willing to pay to have a permanent IP, so I found dynu (basically a free version). So having a permanent IP is no problem, just I have to find a way to port forward on the fly... how would that be possible?

Related

Pls Help I would like to see my self hosted site live on the internet Using Wamp64

I would appreciate assistance and advice about Wamp64 and how to make my self-hosted site live on the web. So far achieved only local access PC and phone on the same network. I have purchased my domain name, tried a few millions of free software for port forwarding mapping and routing and unfortunately those are stuff I am not familiar with. I am using HUAWEI portable router(It's a dongle actually) and already played with the available limited options there upnp virtual server and not many more...Thanks in advance This server is killing me
I believe I have tried everything - my virtual host is created with my domain name, configuration file and vhost file all set up to allow all granted, I have added hosts in the hosts file, allowed ports and servers through my firewall, installed a few softwares for port forwarding (didn't support my dongle HUAWEI E8F4),
even allowed the unsecured upnp also have A,AAAA,CNAME, and 2 nameservers from ... gosh forgot the name.. it will come back eventually... tried software for static ip address used ipv4 and ipv6 installments, as I said I am not familiar yet with networking, and yes it came back Cloudflare keeps telling me that there is a host error 552 every time I attempt to reach it from outside of my local network.

How to deploy the MERN full stack app with backend in bitnami nginx

Hi I dont want to use any clouldbase services for deployment. I have created react create app with backend (MERN STACK). I want to deploy it in my local server bitnami nginx server (ubuntu 14.04) . I dont find any thing about bitnami configuration. can anyone help.
You can install bitnami stack from their website https://bitnami.com/stack/nginx/installer
You can find Get-Started Docs on their site as well https://docs.bitnami.com/installer/get-started/
I want to deploy it in my local server
Hosting/Deploying Application from local server is really bad idea, Because usually your computer or your router is sitting behind the ISP's NAT and You don't have control over general ports (80, 443) which means your cant use those ports. it is generally the case with IPv4 addresses. ISP's do that to save their IPv4 addresses. this is not generally the case with IPv6.
Also (in most cases) your IP address is dynamic, which means it keeps changing overtime. If you are planning to use a domain for your application then you will also need and dynamic DNS service which usually aren't free.
On top of that Home broadband upstream speeds are very poor and low. Also you will have to keep your local server up 24/7.
You might wanna change your mind.
Hope this Helps!

Port Forwarding Raspberry Pi 3 on a College Network

In order to get some home automation software to work, I need to have public access to my Raspberry Pi 3. However, I currently reside in an on-campus dorm and as a result am on the college's network and do not have the ability to port forward.
I have a router that connects to the school network via Ethernet and then broadcasts its own network, however, this is still a part of the school's network and I can't port forward this.
I've looked into ways to get around this such as Page Kite, using some form of reverse SSH or HTTPS tunneling, but due to lack of support on Raspberry Pi or daunting setup I'm not really sure what to do. I do have an old HP laptop on Windows 7 that I could use as some sort of slave or server if that would help.
All help is very much appreciated. This has been a major roadblock in me finishing this project.
You don't say what kind of public access you're expecting, but without access to the main router you just need to signup for a dynamic DNS service with a client-based updating tool. All the most known ones (DynDNS Dynu, no-ip) all offer that option as far as I know.
The theory is that you keep the service updated anytime your internal WAN IP changes and they keep your hand-picked url updated with that IP. Then you can access your Pi with that IP thru a web browser or whatever service/port you've setup.
Here's a good starting article - with links to Dynu downloads for Linux that should work for you.
http://www.howtogeek.com/66438/how-to-easily-access-your-home-network-from-anywhere-with-ddns/
And an article from noip.com site on installing their Linux update client
https://www.noip.com/support/knowledgebase/installing-the-linux-dynamic-update-client/

Connect phone app to server in LAN

I have the following scenario:
A Windows PC (with local IP 192.168.0.10) in a small office running a server application on port N.
A smartphone app outside the office which connects to that server and requests data.
In order to make this work I have to do the following:
In the router of the office I open port N and forward requests to PC 192.168.0.10.
I give the (dynamic) IP address of the router to the smartphone user so he can type it in the app. I may use a dynamic DNS service to ease things up.
This works fine but now we want to sell this system to other people. The problem is that it will be very difficult for them to change the router settings, or to use a dynamic DNS service.
Is there a way I can connect the smartphone app to the erver running inside the customer’s office without asking him to configure anything in the router?
I’m thinking of something like TeamViewer. TeamViewer can connect two computers easily and users do not need to know anything about routers, firewalls, port forwarding or dynamic IPs.
TeamViewer must be running some kind of server which works as a bridge between the two computers. We would like to provide such a server to our users (if it’s easy to implement and not very expensive), but we don’t know how.
I think that we could rent some service like www.dyndnsservices.com to provide a dynamic DNS to our customers, but that doesn’t solve the problem of router configuration/port forwarding.
If you wrote nice useful piece of software, I suggest you sell that, don't try to sell the service you know almost nothing about. It is usual for application servers to work (network wise) in the same way as yours, and you don't often see software vendors selling network bridging/forwarding/whatever solutions.

Virtualbox incoming connections are the same IP

Okay, so I'm hosting a VPS for someone using Virtualbox. I've setup a server for that guy with a NAT network type ( this way I could port forward the entire thing so it can be used for what the guy wants ). The guy can use remote desktop to connect to the server, however. Everyone who tries to join his game, gets the same IP. I guess this has something to do with the guest settings, if I'm not mistaken.
Could anyone provide me any more information about the reason behind these IP's?
I'm running on the latest version of Virtualbox with a windows 7 enterprise 64bit version where a SA-MP server is being hosted on.
Everyone who connects to his server gets the ip; 10.0.2.2. Any help would be really appreciated
If a machine is located behind NAT, then all of the incoming connection will always be recorded only from a single source, that is you router's IP. It's normal since all of the incoming connection will have to go to the router first.

Resources