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

OpenVPN does not allow traffic to pass through itself #206

Open
rohamdousti opened this issue Jun 1, 2023 · 3 comments
Open

OpenVPN does not allow traffic to pass through itself #206

rohamdousti opened this issue Jun 1, 2023 · 3 comments

Comments

@rohamdousti
Copy link

It works well with ovpn-admin and a new user can be created and the type of connection can be seen. However, after loading the file into the openvpn program, the user cannot connect to the internet and does not pass internet traffic through openvpn.

@josefernandeztrebol
Copy link

If you want pass all trafic generated by user, you need edit the file ovpn-admin/templates/client.conf.tpl and uncomment redirect-gateway def1
image

After that you can create the same user and download the file configuration or add the correspond line in client file.

@rohamdousti
Copy link
Author

If you want pass all trafic generated by user, you need edit the file ovpn-admin/templates/client.conf.tpl and uncomment redirect-gateway def1 image

After that you can create the same user and download the file configuration or add the correspond line in client file.

Thank you very much, my problem has been resolved heart. Is it possible to automatically add the text? Do you have any solutions?

@SKJoy
Copy link

SKJoy commented Jul 25, 2024

If you want pass all trafic generated by user, you need edit the file ovpn-admin/templates/client.conf.tpl and uncomment redirect-gateway def1 image

After that you can create the same user and download the file configuration or add the correspond line in client file.

It took me days to find just this bit of information :( Should have been somewhere in the ReadMe document.

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

3 participants