Jump to content
Not connected, Your IP:

Question about Portforwarding.

Recommended Posts

Is there any way to setup a port forwarding tunnel?  I need to use a tunnel because when I log in to my Minecraft account with the vpn on the minecraft launcher says that my account information isn't valid but with the VPN off it works fine. All I need is some sort of way to portforward with Air VPN without changing my IP address.

Share this post

Link to post

It is known that VPN servers' IP addresses cannot login to Minecraft services. If you want to connect while being connected, add exception routes for mcoapi.minecraft.net and authserver.mojang.com via your ISP. The current IPs you get by resolving them with nslookup for example are sufficient. Make sure to first close the Minecraft Launcher before you add the routes.

In Eddie you can set them in Preferences > Routes. In the IP/Hostname/Range field, simply enter the domains, and in the other field "Outside the tunnel". Then reconnect to apply them.

If you happen to use vanilla OpenVPN on Linux, I made this a one-line alias to be executed whenever you really need the routes (in other cases it should go over VPN):

alias setmcdns='mcoapi=$(dig a in mcoapi.minecraft.net +short);authserver=$(dig a in authserver.mojang.com +short);defroute=$(ip r|grep default|cut -d " " -f 3);sudo ip r add $mcoapi/32 via $defroute;sudo ip r add $authserver/32 via $defroute;'

Copy everything between the ' ' to execute it like that in a terminal.

Open the launcher again and try to login.

Four simple things:
There's a guide to AirVPN. Before you ask questions, take 30 minutes of your time to go through it.

Amazon IPs are not dangerous here. It's the fallback DNS.
Running TOR exits is discouraged. They're subject to restrictions on the internet and harm all AirVPN users.

Furthermore, I propose that your paranoia is to be destroyed. If you overdo privacy, you'll be unique among the mass again.


XMPP: gigan3rd@xmpp.airvpn.org or join our lounge@conference.xmpp.airvpn.org

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.

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.

  • Security Check
    Play CAPTCHA Audio
    Refresh Image

  • Create New...