I have server (vpn) with public IP. This server also connected to the local network and provides access to this network for users connected via openvpn (openvpn hosted on this server). Let's say this server configured with sysctl net.ipv4.ip_forward=1
(since it's vpn server), command ip a
(simplified) shows something like this:
eth0: inet 192.168.10.12/24
eth1: inet 142.250.184.206/26
Local network 192.168.10.0/24
should not be accessible from the internet.
Is this possible for a potential attacker to set my server as a gateway or force traffic through my public IP (142.250.184.206
) to access my local network?