OpenVPN setup, Port forwarding

Simom5007LP

Member
Feb 13, 2020
7
0
6
24
I have set up OpenVPN from the Avaiable Template.

I have to use tcp6 as a Protocol, because my provider only gives me public acces via IPv6.
Now I have the problem, I can't access my OpenVPN (inside a Container) from outside my home network.

When trying to ping to it (via http://www.ipv6now.com.au/pingme.php) I get "Destination unreachable: Address unreachable", but the Server is pingable.

So, how can I make it possible to access OpenVPN from the public.
Like IPv6 port forwarding (My OpenVPN is listening to Port 1954).
I dont know exactly how to set up this.
I only want to VPN into my home network from my Tablet(LTE) to RemoteDesktop on a Windows 10 VM xD.
 
I have set up OpenVPN from the Avaiable Template.

I have to use tcp6 as a Protocol, because my provider only gives me public acces via IPv6.
Now I have the problem, I can't access my OpenVPN (inside a Container) from outside my home network.

In order to be sure that I understand it correctly:

* You have a Proxmox Host connected to a provider's ipv6 (only) network

* In the Proxmox host you have a container

* The container has an own ipv6 address, but it cannot be reached from internet (in order to establish an openvpn tunnel to it)


When trying to ping to it (via http://www.ipv6now.com.au/pingme.php) I get "Destination unreachable: Address unreachable", but the Server is pingable.

So, how can I make it possible to access OpenVPN from the public.

Depends on the address ranges which you have got ans in which context (directly accessed or routed by your Proxmox host as gateway).


Like IPv6 port forwarding (My OpenVPN is listening to Port 1954).
I dont know exactly how to set up this.

You can use "ip6tables -t nat" for it, run
Code:
man ip6tables
for more information

For more details it would be necessary to check your current network configuration, i.e. host's /etc/network/interfaces and
/etc/pve/lxc/<container-id>.conf as well the ipv6 addresses and ranges you've got from your provider.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!