Answer the question
In order to leave comments, you need to log in
Is it possible to proxy traffic?
There will be a Minecraft server on my home PC, but my ip is gray, so the ports cannot be opened. I thought, maybe I can take a weak vps / vds and somehow pass traffic through it. Could this option work?
Answer the question
In order to leave comments, you need to log in
You think right.
This is solved by raising vpn on the server, and setting up iptables (or whatever it is called now) to redirect traffic.
Although here the question already arises - why not raise minecraft right there?
If you need to forward one or two ports for the server to work, then yes, this is quite possible using SSH tunneling (ssh tunneling).
Port forwarding has nothing to do with the address. The question must be asked - why, what is the desired result? Based on this, choose a solution and not read the nonsense of the profane "you think correctly." There are ddns, there are himachi, you can put the server outside, you can buy static, you can stir up a lot of things, the question is what result is needed and what will it cost you.
You need to raise the vpn between the home computer behind nat and the server, in order to have connectivity between them (since otherwise the server will not reach the computer behind the nat where the game server will spin), then redirect the desired port that will be open on the server, so that the server redirected the traffic of clients connecting to it to the home computer (using a vpn tunnel), most likely using iptables, I can’t tell you exactly how.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question