Jump to content
Not connected, Your IP: 3.15.202.169
blank90

Would like to easily see the IP address of available servers

Recommended Posts

I'm looking through access logs for one of my accounts and see this IP:

184.75.221.3

Is this one of your servers? If so, which one? I can't quickly see the IP address of the available servers.
If it is an AirVPN server, then I will be reassured it was me accessing my own account. However, there are so many Toronto AirVPN servers that it's a big hassle going through them all to see if any precisely match that address.

EDIT: I found it. It is called Lesath in Toronto, Ontario. That's what I wanted to know to ensure it was me accessing my own account.
 

Share this post


Link to post

In case you face such a situation again or others are curious: At ipleak.net there is a small window at the top where you can enter an IP address you wish to know more about. It will identify an Air server.

Share this post


Link to post

I was wondering I do I find the IP address of a server so that I can configure my router.  I only see server name but no Ip address itself I tried pinging teegarden.airvpn.org and I get the following results teegarden.airvpn.org: Name or service not known, so how can I find such ip address?

Share this post


Link to post
6 hours ago, 17d921m said:

I was wondering I do I find the IP address of a server so that I can configure my router.  I only see server name but no Ip address itself I tried pinging teegarden.airvpn.org and I get the following results teegarden.airvpn.org: Name or service not known, so how can I find such ip address?


Hello!

The correct FQDN for the various servers is <server name>.airservers.org. However it resolves into IP address 1 only. Each VPN server has 4 entry-IP addresses for various connection modes, but we do not offer domain names for each IP address. For example entry-IP address 1 accepts OpenVPN in TLS Auth mode (for backward compatibility with old OpenVPN versions) and WireGuard, entry-IP address 3 accepts OpenVPN in TLS Crypt mode and WireGuard, and so on. For every detail you can check the "Specs" page "Protocols and entry-IP addresses of each VPN server" section: https://airvpn.org/specs

You can use the API to get all the entry IP addresses of all the servers. API instructions and an API navigator are available in your AirVPN account "Client Area" > "API" panel.

To make an example based on your request, let's say that you need to know all the info about Teegarden. A first raw search can be performed through the API and filtered accordingly, please  see below. The first example shows everything the API can say about Teegarden, the second example prints the THIRD entry IPv4 and IPv6 addresses.

Kind regards

 
$ curl -s "https://airvpn.org/api/status/" | grep -A17 -i teegarden
           "public_name": "Teegarden",
           "country_name": "United States",
           "country_code": "us",
           "location": "Los Angeles",
           "continent": "America",
           "bw": 637,
           "bw_max": 2000,
           "users": 102,
           "currentload": 31,
           "ip_v4_in1": "37.120.132.90",
           "ip_v4_in2": "37.120.132.92",
           "ip_v4_in3": "37.120.132.93",
           "ip_v4_in4": "37.120.132.94",
           "ip_v6_in1": "2a0d:5600:8:3e:b389:fbfa:508a:1eca",
           "ip_v6_in2": "2a0d:5600:8:3e:604e:24d0:570c:230f",
           "ip_v6_in3": "2a0d:5600:8:3e:eceb:3b20:e697:db07",
           "ip_v6_in4": "2a0d:5600:8:3e:878b:13a8:3b47:98ed",
           "health": "ok"
 
$ curl -s "https://airvpn.org/api/status/" | grep -A18 -i teegarden | grep in3 | awk -F '"' '{print $4}'
37.120.132.93
2a0d:5600:8:3e:eceb:3b20:e697:db07

 

Share this post


Link to post
9 hours ago, Staff said:

Hello!

The correct FQDN for the various servers is <server name>.airservers.org. However it resolves into IP address 1 only. Each VPN server has 4 entry-IP addresses for various connection modes, but we do not offer domain names for each IP address. For example entry-IP address 1 accepts OpenVPN in TLS Auth mode (for backward compatibility with old OpenVPN versions) and WireGuard, entry-IP address 3 accepts OpenVPN in TLS Crypt mode and WireGuard, and so on. For every detail you can check the "Specs" page "Protocols and entry-IP addresses of each VPN server" section: https://airvpn.org/specs

You can use the API to get all the entry IP addresses of all the servers. API instructions and an API navigator are available in your AirVPN account "Client Area" > "API" panel.

To make an example based on your request, let's say that you need to know all the info about Teegarden. A first raw search can be performed through the API and filtered accordingly, please  see below. The first example shows everything the API can say about Teegarden, the second example prints the THIRD entry IPv4 and IPv6 addresses.

Kind regards

 


$ curl -s "https://airvpn.org/api/status/" | grep -A17 -i teegarden
           "public_name": "Teegarden",
           "country_name": "United States",
           "country_code": "us",
           "location": "Los Angeles",
           "continent": "America",
           "bw": 637,
           "bw_max": 2000,
           "users": 102,
           "currentload": 31,
           "ip_v4_in1": "37.120.132.90",
           "ip_v4_in2": "37.120.132.92",
           "ip_v4_in3": "37.120.132.93",
           "ip_v4_in4": "37.120.132.94",
           "ip_v6_in1": "2a0d:5600:8:3e:b389:fbfa:508a:1eca",
           "ip_v6_in2": "2a0d:5600:8:3e:604e:24d0:570c:230f",
           "ip_v6_in3": "2a0d:5600:8:3e:eceb:3b20:e697:db07",
           "ip_v6_in4": "2a0d:5600:8:3e:878b:13a8:3b47:98ed",
           "health": "ok"
 
$ curl -s "https://airvpn.org/api/status/" | grep -A18 -i teegarden | grep in3 | awk -F '"' '{print $4}'
37.120.132.93
2a0d:5600:8:3e:eceb:3b20:e697:db07

 

Thanks so much for such a quick response.  It is very much appreciated.

Share this post


Link to post
On 4/26/2024 at 5:26 PM, Staff said:

The correct FQDN for the various servers is <server name>.airservers.org. However it resolves into IP address 1 only. Each VPN server has 4 entry-IP addresses for various connection modes, but we do not offer domain names for each IP address.

@staff would it be possible to add server FQDNs for each entry IP? For example:
`alshat1.airservers.org` and `alshat.airservers.org` resolve to entry IP 1
`alshat2.airservers.org` resolve to entry IP 2
Likewise for 3 and 4.

At least IP 3 for Wireguard would be great.

Share this post


Link to post
46 minutes ago, benfitita said:

@staff would it be possible to add server FQDNs for each entry IP?


Hello!

We will consider seriously the suggestion, thank you.

Kind regards
 

Share this post


Link to post
On 4/29/2024 at 1:32 PM, Staff said:

Hello!

We will consider seriously the suggestion, thank you.

Kind regards
 

it would be really nice if you let us make our own custom FQDN setups too - you have already all the infrastructure in place with the AirDNS DDNS. 

For example, lets say i have 5 specific servers that play really nice with me, I know which of these 5 servers do this but I would like to dynamically switch based upon high ping / load. I can already accomplish disconnecting from the server on high ping, so thats not an issue. The connectivity to those other servers is. Sure I could make my own internal DNS mappings but that doesn't apply any logic relating to load, which AirVPN could do and already does do in decision making on what to serve back. 

How this would look like, i'd imagine something like me being able to select those servers i like in a checkbox (in the config generator?) and then being assigned a randomly generated AirDNS string like eaVsxWN.airdns.org and then I can put that into my wireguard client config and query it, and AirVPN responds with a single response of the 5 servers I selected, based upon current least load. 

Share this post


Link to post

That would be extremely nice as well. +1

Something similar could be done with `jq` and AirVPN status API, but not so easy to use.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Security Check
    Play CAPTCHA Audio
    Refresh Image

×
×
  • Create New...