run tinyfecVPN as non root

wangyu- edited this page Feb 16, 2018 · 3 revisions

It's not secure to run a program as root. This page demonstrates how to run tinyfecVPN as non-root.

You must have setcap utility as a prerequisite. setcap is shipped with most desktop linux distributions by default. But its seems to be missing on OpenWRT/LEDE.

  1. grant tinyfecVPN CAP_NET_RAW capability
sudo setcap cap_net_admin+ep ./tinyvpn_arm

Done. Now you can run tinyfecVPN with any account.

It works for both client and server.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.