wireguard-docs icon indicating copy to clipboard operation
wireguard-docs copied to clipboard

external IP forward

Open lootoos opened this issue 2 years ago • 2 comments

are there ways to forward the player's external IP to the game server? Wireguard seems to play the role of a proxy server because the server sees the address 10.228.228.1 (ip wireguard) is it possible to make a normal IP for players using the wireguard tunnel?

lootoos avatar Aug 10 '22 21:08 lootoos

Need to know more about your setup. Who and where is the "player", what is the config you're using, what are you trying to accomplish, etc.

wireguard is just a low-level tunnel, if you want to accomplish high level tasks like reverse proxying, etc. you need to do that all yourself with iptables or other routing tools, wireguard doesn't provide any of that automatically.

pirate avatar Aug 20 '22 17:08 pirate

how do I configure Iptables to forward?

lootoos avatar Sep 01 '22 17:09 lootoos

It depends on what you're trying to forward and how, need a lot more info about your setup and what you're trying to accomplish if you want help.

pirate avatar Oct 03 '22 20:10 pirate