Simple Way to Have Static Local IP with VPN [closed]
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
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.
16.04 openvpn minecraft
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
add a comment |Â
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.
16.04 openvpn minecraft
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
add a comment |Â
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.
16.04 openvpn minecraft
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
16.04 openvpn minecraft
edited Feb 1 at 19:05
asked Feb 1 at 19:00
![](https://i.stack.imgur.com/axbyL.png?s=32&g=1)
![](https://i.stack.imgur.com/axbyL.png?s=32&g=1)
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
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
add a comment |Â
add a comment |Â
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.
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
add a comment |Â
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.
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
add a comment |Â
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.
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
add a comment |Â
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.
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.
answered Feb 1 at 19:09
![](https://i.stack.imgur.com/AKwUL.png?s=32&g=1)
![](https://i.stack.imgur.com/AKwUL.png?s=32&g=1)
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
add a comment |Â
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
add a comment |Â