This question has probably been asked before. Suppose I have FreeBSD 12, and I have a server with for example ip: 45.***.***.***
and I want it to forward a port like 25565 (Minecraft Server) to another ip: 95.***.***.***
Asked
Active
Viewed 104 times
0

Redis
- 11
-
3Does this answer your question? How to forward a port from one machine to another? – Jim L. Oct 14 '21 at 19:38
-
@JimL. No, without SSH. I want the VDS server to be a protection for the main server (I think) – Redis Oct 16 '21 at 09:49
2 Answers
1
0
A common usecase would be to setup a firewall which does the port redirection.
On FreeBSD there are three options, pf
, ipfw
, and ipfilter
.
All are able to do this. Personally I think pf is the most easy to learn, but YMMV. The handbook has some chapters on how to setup a firewall.

arved
- 1,112