Forward server TCP services into the container for 2 way communication with VPN clients

I've installed OpenVPN over Docker and I'm facing issues when trying to fetch resources from clients/servers.

Is there any way I can:

  • Access a server HTTP resource from a client (eg. ‘python -m http.server’ on the server running the docker container)
  • Access client services from the server (eg. ‘python -m http.server’ run on a client and my server hosting the docker container trying to access it)

submitted by /u/albertoZurini
[link] [comments]
Source: Reddit