kylemanna / docker-openvpn

🔒 OpenVPN server in a Docker container complete with an EasyRSA PKI CA
https://hub.docker.com/r/kylemanna/openvpn/
MIT License
8.62k stars 2.37k forks source link

Connecting external client(s) such that it is inside the internal network and can access all machines #744

Open ThmX opened 1 year ago

ThmX commented 1 year ago

I am fairly new to OpenVPN and would appreciate some support on this.

I have the following two networks (internal 192.168.1.0/24 and external 10.1.0.0/16) and would like to be able to connect an external computer through the VPN server such that it is part of the internal network (i.e.: also being assigned an internal IP such as 192.168.1.200/24) such that it can ping/reach and be pinged/reached from and to any machine inside the internal network.

image

I tried the default configuration and some tweaking to it but could not achieve much expect to connect to the VPN Server but that is as much as I could achieve to do.

Any tips or sample configurations that I could use?

Thanks a lot!