I have a server on two separate LANs: enp3s0
(10.0.0.5/24
) and tun0
(10.8.0.5/24
, openvpn client). I've configured the gateways on both networks to forward packets addressed to the other network to this server. How can I get this server to relay those packet to the other (correct) interface? I've tried all of the iptables
stuff I can find.
The server is running Ubuntu Server 20.04.