K
K
krlljs2018-04-24 17:05:13
Asterisk
krlljs, 2018-04-24 17:05:13

How to hide open port behind vpn using docker container?

I use freepbx as a docker container. I noticed the attack, there is a brute force search of passwords. I want to hide my asterisk server behind openvpn. I tried to raise two docker containers on my own. Now I'm just going to share the result.
What I did:

1. created a new network with the command docker create network mynet
EgPoewPtDjM.jpg
2. launched openvpn container hub.docker.com/r/kylemanna/openvpn
p45aYVjn8e8.jpgpCcBkucFkCc.jpg

3. launched the freepbx container hub.docker.com/r/murf66/freepbx, with the --net=mynet parameter
4. connected to vpn, found my freepbx via nmap, could not connect to it
Be it freepbx, wordpress, something else . How to hide something behind vpn using docker?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question