docker-openvpn-client
docker-openvpn-client copied to clipboard
Cannot work with minikube
I am running it as a proxy in minikube, but when I set proxy ip as minikube ip address(192.168.59.100) in browser, nothing happens, seems browser proxy cannot access the container with minikube ip and exposed port. and I checked logs in container, all message indicate the service is connected and proxy is opened:
2022-10-02 16:08:11 /sbin/ip route add 39.106.0.0/24 via 172.17.0.1
2022-10-02 16:08:11 /sbin/ip route add 203.107.0.0/24 via 172.17.0.1
2022-10-02 16:08:11 /sbin/ip route add 121.40.0.0/24 via 172.17.0.1
2022-10-02 16:08:11 /sbin/ip route add 79.133.0.0/24 via 172.17.0.1
2022-10-02 16:08:11 Initialization Sequence Completed
info: starting socks proxy without credentials
info: starting http proxy without credentials
I usually use sqlserver same way, azure data studio can access the server by minikube host ip and exposed port. So I am not sure if there are some config issue or it cannot work by design.
Here is the test result:
❯ nc -vz -w 2 192.168.59.100 1080
nc: connectx to 192.168.59.100 port 1080 (tcp) failed: Operation timed out
❯ minikube ip
192.168.59.100
❯ nc -vz -w 2 192.168.59.100 1400
Connection to 192.168.59.100 port 1400 [tcp/cadkey-tablet] succeeded!