1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Solved no connection beyond LAN when VPN connected

Discussion in 'Help' started by rwps, Apr 4, 2020.

  1. rwps

    rwps Spider

    Messages:
    7
    Hi
    I'm not sure where I have gone wrong.
    I want my son to be able to play minecraft PE with his distant friends.
    I've setup a working pocketmine (PM) server on the local network (on a Win10 PC), that IOS devices on the local network find and can join.
    I have set the router to forward traffic on port 19132 through to the local IP of the PM server (port 19132).
    On the Win10 PC, I have given permission to the PM server to go through the firewall.
    When I have used an IOS device not on the local network (using cellular/mobile) it has not been able to connect
    I use an RT-n66u router.
    I have DDNS setup that works like clockwork to access Plex locally from remote locations, so unsure why PM isn't connecting the same.
    Any thoughts/help appreciated.
    Thanks
     
  2. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    Make sure the forward is set to UDP or TCP+UDP
     
  3. rwps

    rwps Spider

    Messages:
    7
    Thanks a good point, and yes the port forward is already set to both TCP & UDP.

    I should also note that the Win10 PC with PM on it connects externally via a VPN, NordVPN.

    And I've discovered disabling the VPN then allows connection to the PM server.

    So the issue is the VPN I use, NordVPN connected via openvpn client. Is there a rule I can add to the openvpn config file to bypass the VPN for all traffic on Port 19132?
     
    Last edited: Apr 5, 2020
  4. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    I think if you edit the server-ip (in server.properties) to the local (non-VPN) IP of your PC, it will bind to the real interface, but I'm not sure
     
  5. rwps

    rwps Spider

    Messages:
    7
    Thanks, but server IP isn't one of the settings in server.properties, so nothing to edit
     
  6. wolfdale

    wolfdale Zombie Pigman

    Messages:
    535
    GitHub:
    diamond-gold
    Apparently NordVPN doesn't support port forwarding and using the vpn concurrently, quoted from the site:
    https://nordvpn.com/blog/port-forwarding/
     
  7. rwps

    rwps Spider

    Messages:
    7
    This is good to know, thanks
    However as I read this, the limitation is if you are using the NORD client/app.
    I use the openvpn client, and point it to a NORD server.
     
  8. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    You can just add it
     
  9. rwps

    rwps Spider

    Messages:
    7
    You are a star HimbeersaftLP. That worked perfectly.
    I stopped the server, edited server.properties to add a new line:
    server-IP=192.x.x.x (i.e. my server IP on my LAN).
    And the server is now accessible remotely on a Win10 PC with a VPN.
    Many thanks
     
    HimbeersaftLP likes this.
  10. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    No problem ^^

    I really wonder why it isn't in there by default though, maybe because it could cause confusion? Mysterious.
     
    wolfdale likes this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.