How can I run simple http server on my dynamic IP? [closed] - http

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 9 years ago.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Improve this question
Sorry for the language mistakes I've made. I don't have static IP to be accessible from outside world so I want to run a dead simple http server on my dynamic IP which I get from DHCP of my local provider. How can I make it?
I use Ubuntu and similar with nginx. I tried something like this:
~path/to/index.html$ python -m SimpleHTTPServer 80 #of course nothing

Yes you can,
But you must use a proxy like:
DYN DNS
NO-IP
etc.
These sites gives you a link static IP and forwards it to your dynamic IP address.
The IP provider needs to be updated with your current IP.
This is done either via a service on your computer, or via your router (if it supports Dynamic DNS it).
The conclusion is that your current IP address must somehow be connected to a DNS (like www.something.org).

Related

Scaling up a client vpn [closed]

Closed. This question is not about programming or software development. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 days ago.
Improve this question
We are setting up an ikev2 client vpn using strongswan. So far we have managed to setup a single server using letsencrypt certificate with eap-radius authentication method. We are able to connect to our server without any issue. Now we want to auto-scale the vpn so that the server gets scaled up or down depending on the number of users connected to the server but how do we do it?
What would be the best approach to achieve this?

How to access a different subnet on local net [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 months ago.
Improve this question
This is my setup
I'm trying to SSH into a diferent subnet on my local net, I can SSH from PC 2 to PC 1 but not the other way around. router has DHCP enabled.
You need to configure a firewall rule on the router to allow the ingress traffic. I suggest you configure port forwarding. You can follow this link[1] for a detailed guide.
[1] https://phoenixnap.com/kb/ssh-port-forwarding

Implication of lack of default gateway [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
I am studying networking and operating systems and I stumbled upon this statement:
If there is no default gateway in the routing table we can't transfer packets to all the addresses.
I am asking whether the above statement is correct?
Yes the statement is true. Here is the definition from wikipedia
A default gateway in computer networking is the node that is assumed
to know how to forward packets on to other networks. Typically, in a
TCP/IP network, nodes such as servers, workstations and network
devices each have a defined default route setting, (pointing to the
default gateway), defining where to send packets for IP addresses for
which they can determine no specific route.
A routing table can not store information of all the possible routes to which the computer may connect. So it needs a default mechanism to send traffic to computers for which no known path exists. The way is to route all such packets to default gateway.

Accessing local servers across network routers [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I have recently added a dlink router to my existing network, and connected some computers with it. The existing network uses ip range 192.168.1.x and the new router uses 192.168.0.x. Internet services is accessible on both the networks, but a shared resource or a web server connected to one network is not accessible to the systems of other network.
I googled this issue but I am unable to resolve the issue, please help.
If you are just going to be using the router as a switch on an existing network, you need to turn off its router-y features.
Go onto the web interface of the device and turn of "NAT", that way they'll use the same address space as everything else on the network.
They'll be other features as well you may want to turn off but that's one causing your current issue.

Server has 2 IP addresses. How can I route 2 servers with 2 different ports to the 2 IPs on the same port [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I want to route:
127.0.0.1:25565 <-> 40.39.210.1:25565
127.0.0.1:25564 <-> 40.39.210.40:25565
Note that the 2 internal IPs are the same, but the ports are different, and the 2 external IPs are different, but the ports are the same.
Is this possible? I was looking at iptables, but I have absolutely no idea how to use it.
Just to capture the comment as an answer...
Would it not be easier to get the two different servers to bind to the appropriate IP on the appropriate port, or is there something that is preventing this from happening?
If I look on the minecraft wiki here, I see that it is possible to set the server-ip property to make this happen.

Resources