Score:0

Port Forwarding to another machine Rust gameserver

gu flag

I need to forward UDP port 28015 of my local machine to another machine with port UDP 28021. Rust Game Server. (Redirect incoming traffic on a specific port to a different IP address with altern port)

Tried: sysctl -w net.ipv4.ip_forward=1 sudo iptables -t nat -A PREROUTING -p udp --dport 28015 -j DNAT --to-destination another_server:28021 iptables -t nat -A POSTROUTING -j MASQUERADE

the traffic is redirected, but when you enter the server itself, the "Steam Auth Failed" error pops up.

The problem is not in the server, because when trying to redirect not to mine, but to any other server, the same error pops up.

cocomac avatar
cn flag
Look up rathole on GitHub. Not totally sure, but that might do what you’re looking for
enoshimadev avatar
gu flag
No, I need to do a redirect without access to the final server.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.