N
N
normikqq2022-01-03 14:54:57
Computer networks
normikqq, 2022-01-03 14:54:57

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

6 answer(s)
V
Vasily Bannikov, 2022-01-03
@vabka

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?

D
Dimonchik, 2022-01-03
@dimonchik2013

think right - that's how they usually do it

D
Drno, 2022-01-03
@Drno

Rent a white IP from the provider. It is easier

4
4X_Pro, 2022-01-03
@XXXXPro

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).

M
Maxim Korneev, 2022-01-04
@MaxLK

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.

R
rrambo, 2022-01-04
@rrambo

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 question

Ask a Question

731 491 924 answers to any question