Conversation
Notices
-
@anotherposter @gentoobro
> The problem with this method is I lose the source of the packet, it all shows as 192.168.5.1 (wireguard address for proxy).
Yeah, you wanna use iptables if you want it to look like a regular connection. You could set X-Forwarded-For if you wanted to just get the data
> I tried to search for iptables but it looks very cryptic to me.
It requires you to learn a thing or two about routing, yeah. There's a learning curve, definitely. It's probably easiest to just do this with either netcat or stunnel, or ssh port forwarding.