ovpn-admin icon indicating copy to clipboard operation
ovpn-admin copied to clipboard

OpenVPN does not allow traffic to pass through itself

Open rohamdousti opened this issue 1 year ago • 3 comments

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.

rohamdousti avatar Jun 01 '23 10:06 rohamdousti

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.

josefernandeztrebol avatar Jun 02 '23 12:06 josefernandeztrebol

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?

rohamdousti avatar Jun 02 '23 17:06 rohamdousti

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.

SKJoy avatar Jul 25 '24 16:07 SKJoy