vpn user internet access via another vpn user with NAT

This forum is for admins who are looking to build or expand their OpenVPN setup.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
Lamask
OpenVpn Newbie
Posts: 5
Joined: Fri May 13, 2022 4:19 am

vpn user internet access via another vpn user with NAT

Post by Lamask » Sat May 14, 2022 5:00 pm

Initial data:
There is an Android mobile phone and a Windows 8.1 personal computer. The phone and computer are in different cities and use different Internet providers. Both the phone and the computer are connected to the Internet through NAT and have gray dynamic IPs without the ability to forward ports to them.
There is a Debian cloud server with a static IP address.
How can I, on an Android phone, after a VPN connection, access the Internet through the personal computer's ISP (so that the PC is the gateway to the Android phone)?

So that the Internet "sees" the android phone with the external IP address of the personal computer.

:shock: :shock:

Lamask
OpenVpn Newbie
Posts: 5
Joined: Fri May 13, 2022 4:19 am

Re: vpn user internet access via another vpn user with NAT

Post by Lamask » Sat May 14, 2022 5:07 pm

In a normal situation, one could install an OpenVPN server on a PC and connect to it from an android phone. But the difficulty is that the PC does not have a white IP address and there is no way to forward ports to it.

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: vpn user internet access via another vpn user with NAT

Post by TinCanTech » Sat May 14, 2022 7:41 pm

Connect everything to your central server.

Post Reply