Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

attarchi
Copy link
Contributor

@attarchi attarchi commented Feb 12, 2023

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.

@kslr kslr requested a review from AkinoKaede February 12, 2023 05:24
@attarchi
Copy link
Contributor Author

attarchi commented Feb 19, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant