I have a PostgreSQL Server (CentOS 7) running on the network, it is set up to allow remote connections which works from inside the network.
Any computer on the network can connect to it using
ssh -L 5430:192.168.20.66:5432 email@example.com
However I am unsure of what I would need to do to make this accessible from outside the network.
I have OpenVPN set up on the server so using OpenVPN to connect to network solves this issue however on some machines OpenVPN is not an option, is there a way to achieve an SSH connection from outside the network using port forwarding or something along those lines