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

Support VPN via macvlan networking #21

Open
samip5 opened this issue Feb 20, 2021 · 0 comments
Open

Support VPN via macvlan networking #21

samip5 opened this issue Feb 20, 2021 · 0 comments

Comments

@samip5
Copy link

samip5 commented Feb 20, 2021

Use case: I want to be able to have my router handle the VPN itself, but setup iptables in a way, that it wouldn't leak to other interfaces on container.

My idea of implementation: Setup the container in a macvlan, and have the network router do the VPN. Make sure with iptables that outgoing traffic to internet is only allowed via that said macvlan and not via other interfaces. Probably check periodly from a public service that IP address is not your connection's but the VPN's.

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

No branches or pull requests

1 participant