I want to use Lokinet over a primary vpn. So I created a docker for primary VPN called openvpn (it uses an openVPN connection) and tried:
# docker run --net=container:openvpn --name lokinet --cap-add=NET_ADMIN --device=/dev/net/tun massiveboxe/lokinet:latest
The problem is when I run: # ./lokinet-vpn --up --exit exit.loki inside lokinet docker, the external IP of it doesn’t change. It happen when I use --net=container:openvpn in docker run parameters
I want to use Lokinet over a primary vpn. So I created a docker for primary VPN called openvpn (it uses an openVPN connection) and tried:
`# docker run --net=container:openvpn --name lokinet --cap-add=NET_ADMIN --device=/dev/net/tun massiveboxe/lokinet:latest`
The problem is when I run: `# ./lokinet-vpn --up --exit exit.loki` inside lokinet docker, the external IP of it doesn’t change. It happen when I use `--net=container:openvpn` in `docker run` parameters
mahdi
changed title from docker primary-vpn => docker lokinet to docker openvpn => docker lokinet4 years ago
Could you clarify something about this setup? I'm not really sure I got it right.
You want to access Lokinet from your devices using a VPN connection, so you have a container with dockerlokinet running, and another container with openvpn that takes incoming connections and runs them though the lokinet container?
And the IP doesn't change ONLY when you have the "--net=container:openvpn" option? If you remove it does it work?
Could you clarify something about this setup? I'm not really sure I got it right.
You want to access Lokinet from your devices using a VPN connection, so you have a container with dockerlokinet running, and another container with openvpn that takes incoming connections and runs them though the lokinet container?
And the IP doesn't change ONLY when you have the "--net=container:openvpn" option? If you remove it does it work?
I want to use Lokinet over a primary vpn. So I created a docker for primary VPN called openvpn (it uses an openVPN connection) and tried:
# docker run --net=container:openvpn --name lokinet --cap-add=NET_ADMIN --device=/dev/net/tun massiveboxe/lokinet:latestThe problem is when I run:
# ./lokinet-vpn --up --exit exit.lokiinside lokinet docker, the external IP of it doesn’t change. It happen when I use--net=container:openvpnindocker runparametersdocker primary-vpn => docker lokinetto docker openvpn => docker lokinet 4 years agoCould you clarify something about this setup? I'm not really sure I got it right.
You want to access Lokinet from your devices using a VPN connection, so you have a container with dockerlokinet running, and another container with openvpn that takes incoming connections and runs them though the lokinet container?
And the IP doesn't change ONLY when you have the "--net=container:openvpn" option? If you remove it does it work?