Simple Way to Have Static Local IP with VPN [closed]

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
1
down vote

favorite












I am trying to find a simple solution to have a static "Local" IP Address with Ubuntu 16.04 and Open VPN. Every time I use the VPN the IP Adress changes from 10.36.10.10 to some other random IP address and I want to run a Minecraft Server from my PC while still being hidden in a VPN. I'm really not sure if this is even possible or secure but changing the Address of the server at each VPN activation is certainly not going to work. Any Help is appreciated! I have figured out a way to Have PIA VPN assign a Static External IP Address but the Minecraft Client does not recognize this Address when trying to connect to the Server, (I'm assuming it's a Port Issue) but in my region, assigning a Port is not available, I must use a VPN Server in Canada which will ruin the game PING.










share|improve this question















closed as off-topic by vidarlo, David Foerster, Byte Commander, Eric Carvalho, Gunnar Hjalmarsson Feb 5 at 16:38


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This is not about Ubuntu. Questions about other Linux distributions can be asked on Unix & Linux, those about Windows on Super User, those about Apple products on Ask Different and generic programming questions on Stack Overflow." – vidarlo, David Foerster, Byte Commander, Eric Carvalho, Gunnar Hjalmarsson
If this question can be reworded to fit the rules in the help center, please edit the question.
















    up vote
    1
    down vote

    favorite












    I am trying to find a simple solution to have a static "Local" IP Address with Ubuntu 16.04 and Open VPN. Every time I use the VPN the IP Adress changes from 10.36.10.10 to some other random IP address and I want to run a Minecraft Server from my PC while still being hidden in a VPN. I'm really not sure if this is even possible or secure but changing the Address of the server at each VPN activation is certainly not going to work. Any Help is appreciated! I have figured out a way to Have PIA VPN assign a Static External IP Address but the Minecraft Client does not recognize this Address when trying to connect to the Server, (I'm assuming it's a Port Issue) but in my region, assigning a Port is not available, I must use a VPN Server in Canada which will ruin the game PING.










    share|improve this question















    closed as off-topic by vidarlo, David Foerster, Byte Commander, Eric Carvalho, Gunnar Hjalmarsson Feb 5 at 16:38


    This question appears to be off-topic. The users who voted to close gave this specific reason:


    • "This is not about Ubuntu. Questions about other Linux distributions can be asked on Unix & Linux, those about Windows on Super User, those about Apple products on Ask Different and generic programming questions on Stack Overflow." – vidarlo, David Foerster, Byte Commander, Eric Carvalho, Gunnar Hjalmarsson
    If this question can be reworded to fit the rules in the help center, please edit the question.














      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      I am trying to find a simple solution to have a static "Local" IP Address with Ubuntu 16.04 and Open VPN. Every time I use the VPN the IP Adress changes from 10.36.10.10 to some other random IP address and I want to run a Minecraft Server from my PC while still being hidden in a VPN. I'm really not sure if this is even possible or secure but changing the Address of the server at each VPN activation is certainly not going to work. Any Help is appreciated! I have figured out a way to Have PIA VPN assign a Static External IP Address but the Minecraft Client does not recognize this Address when trying to connect to the Server, (I'm assuming it's a Port Issue) but in my region, assigning a Port is not available, I must use a VPN Server in Canada which will ruin the game PING.










      share|improve this question















      I am trying to find a simple solution to have a static "Local" IP Address with Ubuntu 16.04 and Open VPN. Every time I use the VPN the IP Adress changes from 10.36.10.10 to some other random IP address and I want to run a Minecraft Server from my PC while still being hidden in a VPN. I'm really not sure if this is even possible or secure but changing the Address of the server at each VPN activation is certainly not going to work. Any Help is appreciated! I have figured out a way to Have PIA VPN assign a Static External IP Address but the Minecraft Client does not recognize this Address when trying to connect to the Server, (I'm assuming it's a Port Issue) but in my region, assigning a Port is not available, I must use a VPN Server in Canada which will ruin the game PING.







      16.04 openvpn minecraft






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Feb 1 at 19:05

























      asked Feb 1 at 19:00









      EODCraft Staff

      377316




      377316




      closed as off-topic by vidarlo, David Foerster, Byte Commander, Eric Carvalho, Gunnar Hjalmarsson Feb 5 at 16:38


      This question appears to be off-topic. The users who voted to close gave this specific reason:


      • "This is not about Ubuntu. Questions about other Linux distributions can be asked on Unix & Linux, those about Windows on Super User, those about Apple products on Ask Different and generic programming questions on Stack Overflow." – vidarlo, David Foerster, Byte Commander, Eric Carvalho, Gunnar Hjalmarsson
      If this question can be reworded to fit the rules in the help center, please edit the question.




      closed as off-topic by vidarlo, David Foerster, Byte Commander, Eric Carvalho, Gunnar Hjalmarsson Feb 5 at 16:38


      This question appears to be off-topic. The users who voted to close gave this specific reason:


      • "This is not about Ubuntu. Questions about other Linux distributions can be asked on Unix & Linux, those about Windows on Super User, those about Apple products on Ask Different and generic programming questions on Stack Overflow." – vidarlo, David Foerster, Byte Commander, Eric Carvalho, Gunnar Hjalmarsson
      If this question can be reworded to fit the rules in the help center, please edit the question.




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          2
          down vote













          The short answer is that you can't do what you want to do.



          The VPN provider automatically assigns you an IP. You can not change this; the provider will have to change this. They probably won't, because they're selling volume.



          Second, you need to accept incoming connections, preferably on designated ports. PIA offers you incoming connections on a random port. They can (in some regions) forward a single, random, port to you. This won't cut it for you, as games commonly are expected to be present at a pre-defined port that does not change.



          So in short, you can't do what you're trying to do with PIA. You can set up your own VPN tunnell from for instance AWS, where you control both ends.






          share|improve this answer




















          • PIA is assigning the "Local IP Address" of 10.36.10.10? That is not the IP that shows up when I type in Google "WhatsmyIP". But if I use that "local IP" I can access the game and my apache webpage.
            – EODCraft Staff
            Feb 1 at 19:14










          • PIA uses NAT. It's not reachable from the internet, and it's not a 1:1 mapping between a public IP and a private IP afaik.
            – vidarlo
            Feb 1 at 19:18











          • I think just because I am "local" is the only reason the "local address" resolves for me, the same as if I typed 192.168.1.114?
            – EODCraft Staff
            Feb 1 at 19:25










          • Correct. You can read more at wikipedia's private network article.
            – vidarlo
            Feb 1 at 19:26

















          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          2
          down vote













          The short answer is that you can't do what you want to do.



          The VPN provider automatically assigns you an IP. You can not change this; the provider will have to change this. They probably won't, because they're selling volume.



          Second, you need to accept incoming connections, preferably on designated ports. PIA offers you incoming connections on a random port. They can (in some regions) forward a single, random, port to you. This won't cut it for you, as games commonly are expected to be present at a pre-defined port that does not change.



          So in short, you can't do what you're trying to do with PIA. You can set up your own VPN tunnell from for instance AWS, where you control both ends.






          share|improve this answer




















          • PIA is assigning the "Local IP Address" of 10.36.10.10? That is not the IP that shows up when I type in Google "WhatsmyIP". But if I use that "local IP" I can access the game and my apache webpage.
            – EODCraft Staff
            Feb 1 at 19:14










          • PIA uses NAT. It's not reachable from the internet, and it's not a 1:1 mapping between a public IP and a private IP afaik.
            – vidarlo
            Feb 1 at 19:18











          • I think just because I am "local" is the only reason the "local address" resolves for me, the same as if I typed 192.168.1.114?
            – EODCraft Staff
            Feb 1 at 19:25










          • Correct. You can read more at wikipedia's private network article.
            – vidarlo
            Feb 1 at 19:26














          up vote
          2
          down vote













          The short answer is that you can't do what you want to do.



          The VPN provider automatically assigns you an IP. You can not change this; the provider will have to change this. They probably won't, because they're selling volume.



          Second, you need to accept incoming connections, preferably on designated ports. PIA offers you incoming connections on a random port. They can (in some regions) forward a single, random, port to you. This won't cut it for you, as games commonly are expected to be present at a pre-defined port that does not change.



          So in short, you can't do what you're trying to do with PIA. You can set up your own VPN tunnell from for instance AWS, where you control both ends.






          share|improve this answer




















          • PIA is assigning the "Local IP Address" of 10.36.10.10? That is not the IP that shows up when I type in Google "WhatsmyIP". But if I use that "local IP" I can access the game and my apache webpage.
            – EODCraft Staff
            Feb 1 at 19:14










          • PIA uses NAT. It's not reachable from the internet, and it's not a 1:1 mapping between a public IP and a private IP afaik.
            – vidarlo
            Feb 1 at 19:18











          • I think just because I am "local" is the only reason the "local address" resolves for me, the same as if I typed 192.168.1.114?
            – EODCraft Staff
            Feb 1 at 19:25










          • Correct. You can read more at wikipedia's private network article.
            – vidarlo
            Feb 1 at 19:26












          up vote
          2
          down vote










          up vote
          2
          down vote









          The short answer is that you can't do what you want to do.



          The VPN provider automatically assigns you an IP. You can not change this; the provider will have to change this. They probably won't, because they're selling volume.



          Second, you need to accept incoming connections, preferably on designated ports. PIA offers you incoming connections on a random port. They can (in some regions) forward a single, random, port to you. This won't cut it for you, as games commonly are expected to be present at a pre-defined port that does not change.



          So in short, you can't do what you're trying to do with PIA. You can set up your own VPN tunnell from for instance AWS, where you control both ends.






          share|improve this answer












          The short answer is that you can't do what you want to do.



          The VPN provider automatically assigns you an IP. You can not change this; the provider will have to change this. They probably won't, because they're selling volume.



          Second, you need to accept incoming connections, preferably on designated ports. PIA offers you incoming connections on a random port. They can (in some regions) forward a single, random, port to you. This won't cut it for you, as games commonly are expected to be present at a pre-defined port that does not change.



          So in short, you can't do what you're trying to do with PIA. You can set up your own VPN tunnell from for instance AWS, where you control both ends.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Feb 1 at 19:09









          vidarlo

          7,25642140




          7,25642140











          • PIA is assigning the "Local IP Address" of 10.36.10.10? That is not the IP that shows up when I type in Google "WhatsmyIP". But if I use that "local IP" I can access the game and my apache webpage.
            – EODCraft Staff
            Feb 1 at 19:14










          • PIA uses NAT. It's not reachable from the internet, and it's not a 1:1 mapping between a public IP and a private IP afaik.
            – vidarlo
            Feb 1 at 19:18











          • I think just because I am "local" is the only reason the "local address" resolves for me, the same as if I typed 192.168.1.114?
            – EODCraft Staff
            Feb 1 at 19:25










          • Correct. You can read more at wikipedia's private network article.
            – vidarlo
            Feb 1 at 19:26
















          • PIA is assigning the "Local IP Address" of 10.36.10.10? That is not the IP that shows up when I type in Google "WhatsmyIP". But if I use that "local IP" I can access the game and my apache webpage.
            – EODCraft Staff
            Feb 1 at 19:14










          • PIA uses NAT. It's not reachable from the internet, and it's not a 1:1 mapping between a public IP and a private IP afaik.
            – vidarlo
            Feb 1 at 19:18











          • I think just because I am "local" is the only reason the "local address" resolves for me, the same as if I typed 192.168.1.114?
            – EODCraft Staff
            Feb 1 at 19:25










          • Correct. You can read more at wikipedia's private network article.
            – vidarlo
            Feb 1 at 19:26















          PIA is assigning the "Local IP Address" of 10.36.10.10? That is not the IP that shows up when I type in Google "WhatsmyIP". But if I use that "local IP" I can access the game and my apache webpage.
          – EODCraft Staff
          Feb 1 at 19:14




          PIA is assigning the "Local IP Address" of 10.36.10.10? That is not the IP that shows up when I type in Google "WhatsmyIP". But if I use that "local IP" I can access the game and my apache webpage.
          – EODCraft Staff
          Feb 1 at 19:14












          PIA uses NAT. It's not reachable from the internet, and it's not a 1:1 mapping between a public IP and a private IP afaik.
          – vidarlo
          Feb 1 at 19:18





          PIA uses NAT. It's not reachable from the internet, and it's not a 1:1 mapping between a public IP and a private IP afaik.
          – vidarlo
          Feb 1 at 19:18













          I think just because I am "local" is the only reason the "local address" resolves for me, the same as if I typed 192.168.1.114?
          – EODCraft Staff
          Feb 1 at 19:25




          I think just because I am "local" is the only reason the "local address" resolves for me, the same as if I typed 192.168.1.114?
          – EODCraft Staff
          Feb 1 at 19:25












          Correct. You can read more at wikipedia's private network article.
          – vidarlo
          Feb 1 at 19:26




          Correct. You can read more at wikipedia's private network article.
          – vidarlo
          Feb 1 at 19:26


          Popular posts from this blog

          pylint3 and pip3 broken

          Missing snmpget and snmpwalk

          How to enroll fingerprints to Ubuntu 17.10 with VFS491