![]() ![]() I realize now that network bridge uses the VPN address now, tried to -network=bridge in both karaf and mysql container, but now karaf cant connect to mysql, but if I use the default docker create network mynet and run the 2 container using that network it works, but no luck with the VPN this way. I have been told I need to add the vpn network to docker, But im green at networking and I dont know how to do it, and what I did didn't work.Įdit: in docker engine i added the "bip": "vpnAddress/24" I searched a lot, and I saw people talking about docker vpn images such as nordVpn or openVpn, but I cant use that. Im using windows 10 (using docker with linux containers), I tried to go to C:\ProgramData\DockerDesktop\tmp-d4w and edit the file too and change the IP to my VPN address, but none works. ![]() Im connected externally(outside docker) to the VPN using the check point mobile, but I need docker to add/connect to the VPN. I need to be connected to the VPN in order to call the services. Until here its all ok, I can connect via putty ssh to karaf, install the kar and all bundles are ok.īut when calling the services I realize that the container is not connected to the VPN, even so that I created a network with the VPN address. I used the command -network=mynet when running the containers. Im using check point mobile to connect to my client VPN, and I have 2 containers in docker: mysql and karaf both sharing the network I created using the command docker network create -subnet=vpnAddress mynet ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |