Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Making webpy framework accessible from outside the local network Post 302879790 by bakunin on Sunday 15th of December 2013 10:48:23 AM
Old 12-15-2013
This is what i expected:

Quote:
Originally Posted by frad
eth0 Link encap:Ethernet HWaddr dc:0e:a1:ba:82:1c
inet addr:192.168.178.** Bcast:192.168.178.*** Mask:255.255.255.0
You see, 192.168.178.x is exactly what i have written about above: you can't make that accessible from the internet (directly), because you absolutely need NAT in between this server and the internet. Usually you request and receive the right to use a certain IP-range (from the biggest networks down to single addresses) from some authority administrating the superset of this network/address. Ultimately this ends up at IANA (Internet Assigned Numbers Authority), which is responsible for the whole TCP/IP-Address range.

"Private Address Space" means, that everybody is entitled to use these addresses without asking anybody, but in return is not guaranteed to have a unique address. Unique addresses are the basis for the internet, though, and all network hardware (routers, routing switches, ...) is required to be able to filter these adresses. Actually exactly this is done at every internet providers network entrance. Even if you manage to get such packet out of your local network it would be dropped silently at the first router it encounters.

What your router/modem now does is called NAT (Network Address Translation): when it connects to your provider it is given a single official IP-address for its "outside"-interface. The "inside"-interface gets some local (private) address. When one of your systems try to connect to somewhere outside the router intercepts these packets, rewrites them using its official "outside"-IP and connects to the requested server itself. As an answer comes back it rewrites the package again using its "inside" address and then transmits it into the local network. This way the local addresses are never seen outside the local network.

This means you have to configure your router accordingly to allow for requests from outside to be directed to your webserver inside and the requests and answers be rewritten properly.

Further it means that you need to register your router at some dynamic DNS service (Dyn-DNS or something equivalent) because the IP address your router gets is perhaps not always the same. In this case your service should at least be reachable via a constant name (say "your.service.com") even if this name resolves to some dynamic IP address.

Before i forget: some Internet providers explicitly forbid in their contracts to advertise a service (=operate a server) from standard connection (this makes technically no sense, but so it is), so make sure your attempts do not constitute a breach of contract. You might lose your internet connection.

I hope this helps.

bakunin
 

2 More Discussions You Might Find Interesting

1. IP Networking

ssh server is attachable from local network not from another network

hello i have a ubuntu ssh server that i can acess from any of my comnputers but only if they are on the same wireless network as the server. i tested trhis my tehtehring my samsung blackjack to my windows partition and installing openssh to windows it works when windows is on the wireless but no... (1 Reply)
Discussion started by: old noob
1 Replies

2. Infrastructure Monitoring

SF4800 SC not accessible thru network

Hi All, I have my SC setup as attached below but I am having problem accessing the port thru network. sc0 was accessible only after i failed over the configuratios to sc1 (now then sc1 was not pingable :(). Just wondering is there anything wrong with my sc settings? Appreciate your advice. ... (4 Replies)
Discussion started by: honmin
4 Replies
FELIX(1)							   User Commands							  FELIX(1)

NAME
felix-framework - command line Felix OSGi Framework launcher SYNOPSIS
felix-framework [-b <bundle-deploy-dir>] [<bundle-cache-dir>] DESCRIPTION
felix-framework provide a way to start Apache Felix OSGi Framework from command line. After startup, it provide some simple commands to help management of OSGi bundle. OPTIONS
-b bundle-deploy-dir The Felix launcher deploys all bundles in the auto-deploy directory into the framework instance during startup. By default, the auto-deploy directory is /usr/share/felix-framework/bundle/ Specifying an auto-deploy directory replaces the default directory, it does not augment it. bundle-cache-dir path you want to use as the bundle cache. If you specify a relative cache path, then it will be treated as relative to ~/.felix/ By default, felix-framework will use ~/.felix/felix-cache/ FILES
/etc/felix-framework/config.properties The system wide configuration file for Felix Framework. See <URL:http://felix.apache.org/site/apache-felix-framework-configuration- properties.html> for further details. FILES
~/.felix/ Default user cache directory for OSGi bundle information. AUTHOR
Damien Raude-Morvan <drazzib@debian.org> SEE ALSO
<URL:http://felix.apache.org/site/apache-felix-framework-usage-documentation.html> Felix November 2011 FELIX(1)
All times are GMT -4. The time now is 05:08 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy