| Default gateway : Where do teh packets go? | |
|---|---|
| Tweet Topic Started: Jan 9 2018, 09:36 AM (4 Views) | |
| LarryWalker | Jan 9 2018, 09:36 AM Post #1 |
|
Hii.. when one sets up a network in docker does the default gateway send packets to the host ? Is it possible to capture these packets in anyway and redirect them via IP tables or the linux IPRoute2 stuff ? I’m asking this as I am presently playing with the Traefik/Nginx-Proxy container. The host machine hosts my main website, domain.tld, and I would like to have containers made available within docker exposed via subdomains as in sub.domain.tld. I need NginX on the host to split any *.domain.tld traffic to the Nginx-Proxy/Traeffic container while still serving domain.tld from the host. I think I can do this via IP-transparency in NginX but need to confirm this is the case by capturing the packets sent to the default gateway and forwarding them to NginX on the host. Thanks! I didn't find the right solution from the Internet. References:- https://forums.docker.com/t/default-gateway-where-do-teh-packets-go/43905 Corporate Explainer Video |
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| « Previous Topic · Chatboard · Next Topic » |






12:36 AM Jul 11