Question Create an Open Vpn Server on Ubuntu

GorgKhan

Reputable
Jul 21, 2020
26
0
4,530
I installed open VPN on Ubuntu by pivpn. My Ubuntu VPS has a public IPV4. I wonder if I can create an open vpn IPV6 server? I want my clients to connect to this server through tcp6/udp6. I use a tool on my client which shows the connection is established through tcp4. What I want is to establish the connection through tcp6. So Is it possible to create a tcp6/udp6 server on a machine which has a public ipv4?
 
I installed open VPN on Ubuntu by pivpn. My Ubuntu VPS has a public IPV4. I wonder if I can create an open vpn IPV6 server? I want my clients to connect to this server through tcp6/udp6. I use a tool on my client which shows the connection is established through tcp4. What I want is to establish the connection through tcp6. So Is it possible to create a tcp6/udp6 server on a machine which has a public ipv4?
If, as you've stated, you have a public IPV4 address on the server, you cannot connect to it via IPV6.
 
Aug 29, 2024
8
2
15
I installed open VPN on Ubuntu by pivpn. My Ubuntu VPS has a public IPV4. I wonder if I can create an open vpn IPV6 server? I want my clients to connect to this server through tcp6/udp6. I use a tool on my client which shows the connection is established through tcp4. What I want is to establish the connection through tcp6. So Is it possible to create a tcp6/udp6 server on a machine which has a public ipv4?
ex_bubblehead is not totally right. You can actually set up an OpenVPN server to handle IPv6 even if your VPS only has a public IPv4 address. First off, make sure your VPS provider supports IPv6. Then, you can configure your server to work with both IPv4 and IPv6 (that's called dual-stack networking). This way, your clients can connect using either protocol. Have you checked if your VPS provider offers IPv6?
 

GorgKhan

Reputable
Jul 21, 2020
26
0
4,530
If, as you've stated, you have a public IPV4 address on the server, you cannot connect to it via IPV6.
I tried a google play store vpn that established the connection through udp6/tcp6 while the remote server had an ipv4 address. I also checked myips sites to see its ipv6 but that was not available.
 

GorgKhan

Reputable
Jul 21, 2020
26
0
4,530
ex_bubblehead is not totally right. You can actually set up an OpenVPN server to handle IPv6 even if your VPS only has a public IPv4 address. First off, make sure your VPS provider supports IPv6. Then, you can configure your server to work with both IPv4 and IPv6 (that's called dual-stack networking). This way, your clients can connect using either protocol. Have you checked if your VPS provider offers IPv6?
they don't provide a public IPv6 address. I'm not sure what you mean but there are services running/listening that use tcp6.
Give me some clues so I can search through Internet.
 

TRENDING THREADS