S
S
Stanislav Lutovinov2020-04-19 20:10:16
linux
Stanislav Lutovinov, 2020-04-19 20:10:16

How to forward IPv4 ports from VPS to IPv6 behind NATv4 provider?

Situation:
There is a home Internet, the provider provides an IPv4 network behind NAT (gray addresses);
Home server (linux+HASS.io+Kodi+smb);
All this behind the Mikrotik router.
A 6to4 tunnel broker is configured on the local network (everyone gets IPv6 white addresses).
Purchased VPS for $2, it has NAT IPv4 (20 ports in series) and real IPv6.
On IPv6, everyone communicates with everyone.
Question:
How and more importantly than to do TCP port forwarding over IPv4 of available ports on the VPS to the home server behind the provider's NAT, but with IPv6 access from the outside and, most importantly, the answer back the same way.
PS. All this is seasoned with no-ip.com, letsEncrypt (https).
P.P.S. additional question: will it work on ports other than 80 and 443, is it possible to change VPS to without NAT?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Drno, 2020-04-19
@Drno

Connect mikrotik and vps - vpnkoy - and pass through vps whatever you want

C
CityCat4, 2020-04-20
@CityCat4

Usually, after acquiring a VPS, they raise a VPN on it, pair it with a Mikrotik and do not fuck their brains with nats and non-nats. True, judging by the description of your VPS, you do not have a real one - in the present, all 65535 ports are available.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question