As an Example, I have 1 client (IP: 192.168.0.200) and 1 host (IP: 192.168.0.15). If client want to connect to the internet, then in host will be created container which contains squid proxy (I pull form the sameersbn/squid:latest`)
And my syntax to create the container is:
ERROR Rendering Code Block
And configuration IP in my client like this:
auto enp0s3
iface enp0s3 inet static
address 192.168.0.200
netmask 255.255.255.0
gateway 192.168.0.15
Then I use iptables to forward packet from 192.168.0.200 to the container
ERROR Rendering Code Block
Here's my problem:
-net None
or -net Host
or something elsegoogle.com
and detik.com
, but it's not recorded in access.logCould you add the log? Without it, it will be hard to answer the question. Please edit the Q&A and let us know when it can be reviewed. In the mean time the question will be closed.