0

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

Redis
  • 11

2 Answers2

1

In theory I can use nginx

Nginx can redirect tcp & udp traffic

Redis
  • 11
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