Jump to content
Not connected, Your IP: 52.14.252.16
mokey900

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.

NOT AN AIRVPN TEAM MEMBER. USE TICKETS FOR PROFESSIONAL SUPPORT.

LZ1's New User Guide to AirVPN « Plenty of stuff for advanced users, too!

Want to contact me directly? All relevant methods are on my About me page.

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...