Assume I have a linux computer, running an OpenVPN Access Server with the following interfaces:
wwan0 - Internet access, IP 126.96.36.199
tun0 - OpenVPN interface, IP 188.8.131.52 (the SERVER's VPN IP)
eth0 - Ethernet interface, connected to a switch and gets IP 10.0.0.10 (Switch's IP is 10.0.0.1)
What I am trying to do:
- Allowing clients to connect to the OpenVPN server using the server's public internet IP (done that).
- Allowing those clients who connect to the OpenVPN server, to PING the switch (10.0.0.1), and any other device connected to that switch.
What is the easy way of doing this (using ifconfig/iptables/etc).