openconnect-proxy icon indicating copy to clipboard operation
openconnect-proxy copied to clipboard

Cannot connect from local network

Open uttaparsa opened this issue 2 years ago • 3 comments

I pulled the image from docker and ran the container. The proxy works find when I set 127.0.0.1:8888 on the host machine(Ubuntu 22.04). However, the host machine is connected to a router and its IP on that network is 192.168.1.101 and if I set the proxy to 192.168.1.101:8888, it does not respond (Neither on the host machine nor on the other devices on the router network).

Any idea how can I share this proxy over the router network?

uttaparsa avatar May 27 '22 14:05 uttaparsa

I'll take a look at it as soon as I find the time …

wazum avatar Jun 07 '22 14:06 wazum

I found a workaround using an iptables solution that I found here: https://serverfault.com/questions/490594/redirect-local-traffic-to-proxy-port-with-iptables

uttaparsa avatar Jun 30 '22 20:06 uttaparsa

I found a workaround using an iptables solution that I found here: https://serverfault.com/questions/490594/redirect-local-traffic-to-proxy-port-with-iptables

i got the same problem, How do you set it up?

wujiyu115 avatar Sep 08 '22 12:09 wujiyu115