OpenWrt Forum Archive

Topic: Client bridge issue

The content of this topic has been archived on 25 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hey guys,

I'm having a weird issue trying to use Docker on my computer when behind my Openwrt router.

First of all, my setup:

  Internet  <-  Router #1 (ChinaNet - 192.168.1.0/24) (a)  <-  Router #2 (OpenWrt, bridge, manual IP 192.168.1.254 - 192.168.2.0/24)  <-  Shadowsocks proxy as global proxy, routing all TCP traffic to a remote server  <-  my computer connected over Wifi (b)  <-  Docker connected through bridge (c)

With this setup, I cannot get any internet access in the Docker container (c). Surprisingly, I have a fully working internet access on my computer (a) and in the container (c) if I directly connect my computer (b) to my first router (a) (but I would like to be able to use the Openwrt router to connect the Docker container, with the proxy).

Any idea of what's happening or how to debug this?

Cheers,
Thibault.

You did not use 192.168.1.x or 192.168.2.x in the docker network, did you?

Thanks for taking time answering.

No I didn't, the Docker containers use the 172.xxx subnets

Cheers.

(Last edited by tbronchain on 8 Sep 2017, 13:38)

The discussion might have continued from here.