Koozali.org: home of the SME Server

Find External IP

Offline pjalves

  • *
  • 10
  • +0/-0
Find External IP
« on: September 04, 2011, 12:55:13 AM »
Hello

Someone can help me, please?
I need to know the external ip, just using sme server 7.3. It is possible?
How can i do that?

Thanks
Pedro

Offline johnp

  • *****
  • 312
  • +0/-0
Re: Find External IP
« Reply #1 on: September 04, 2011, 01:41:11 AM »
Review configuration

Offline pjalves

  • *
  • 10
  • +0/-0
Re: Find External IP
« Reply #2 on: September 04, 2011, 02:00:49 AM »
I don't understend de answer.

De question is. How can i get de ip that my ISP give to me?
With commands or register in files.

Thanks
Pedro

Offline johnp

  • *****
  • 312
  • +0/-0
Re: Find External IP
« Reply #3 on: September 04, 2011, 02:36:36 AM »
From the server-manager i.e. https://your-server/server-manager it can be found under Configuration...review configuration.


Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Find External IP
« Reply #4 on: September 04, 2011, 04:55:25 AM »
De question is. How can i get de ip that my ISP give to me?
With commands or register in files.

As has been stated, server-manager will tell you that.

Also, from the command line (if logged in as root):

config show ExternalIP

From the browser on any computer on your LAN, browse to:

http://www.whatsmyip.org/

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
Re: Find External IP
« Reply #5 on: September 04, 2011, 11:58:10 PM »
if you're running on server-only mode, I have configurated one alias in .bashrc file:

alias ipconfig='curl ifconfig.me'


This will show your external IP address.

Jáder
...

Offline pjalves

  • *
  • 10
  • +0/-0
Re: Find External IP
« Reply #6 on: September 05, 2011, 12:26:39 AM »
Thanks

But in all solutions the result is blank/null.
But now i have de IP.
However the server can have acess to the internet but the internet can not have access to the server. Before was possible by the internet have access to the server.

I have made some tests e pummm no access to the server. I teste "private Server and gateway", "private server".
It is possible do a reset to the configs?

Tomorow i will verify if is a router problem.

Thanks
Pedro

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Find External IP
« Reply #7 on: September 05, 2011, 10:51:11 AM »
pjalves

Quote
I teste "private Server and gateway", "private server".
It is possible do a reset to the configs?

"Private" server mode blocks all access from the Internet to your server. Your server cannot be seen by users on the Internet.

I suggest you Reconfigure your server to either Gateway & Server mode or server only mode, depending on your requirements.

Log in as admin, and select Configure this server, then select the required mode (and not a private mode).
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
Re: Find External IP
« Reply #8 on: September 05, 2011, 09:15:14 PM »
Hum.. that's true ... but my alias to see your external ip address should show it.

Are you sure that "curl ifconfig.me" show no ip address ??

...