docker icon indicating copy to clipboard operation
docker copied to clipboard

Making a network gateway with a transparent proxy in v2ray docker image

Open attarchi opened this issue 2 years ago • 1 comments

I tried to implement the transparent proxy in the docker image without breaking the standard routine.

The image's default behavior is not affected by this update. And if the user wants to use a docker container as a network gateway should activate it by setting an environment variable (TPROXY=true).

I will use this image inside a Mikrotik router (RouterOS) and I'll test it carefully.

attarchi avatar Feb 12 '23 01:02 attarchi

Because of the lack of kernel modules, we can't use iptables in the RouterOS container. But we can use the gateway mode feature in other Linux distributions without any problem.

Feature request in the Mikrotik forum

attarchi avatar Feb 19 '23 03:02 attarchi