How do I make a ip tunnel that forwards an ip to another ip?

GustavoM@lemmy.world to Linux 101 stuff. Questions are encouraged, noobs are welcome!@lemmy.world – 5 points –

Title. I'm trying to expose my nextdns ip (running on docker) to another network.

Thanks in advance.

2

The tunnel won’t forward by itself - it’s just another network link. On your other network you need to forward a local ip through the tunnel, or make sure the IP on the far side of the tunnel is routed on the side that needs access

So either route or nat