OpenWRT USB Tethering Setup
USB Connection to usb device
Install kmod-usb-net-rndis
Add a new Interface name wan
Choose either DHCP or Static for Protocol
Choose usb for the Device
Save & Apply Changes
OpenVPN Setup
install luci-app-openvpn
install openvpn-openssl
Use askpass auth.txt in the conf file for VPN services that just asks for a password
- Click on Network in the top bar and then on Interfaces to open the interfaces configuration page.
- Click on button Add new Interface…
- Fill the form with the following values: Name =
OpenVPN
, Protocol =Unmanaged
, Interface =tun0
. Then click on Create Interface. - Edit the interface.
- In panel General Settings: unselect the checkbox Bring up on boot.
- In panel Firewall Settings: Assign firewall-zone to
wan
. - Click on Save and Apply the new configuration.
- Reboot the router.
SFTP
install openssh-sftp-server
ADGuard
Set DNS Server port to 0 in DHCP and DNS > Advanced Settings in OpenWRT to cure Error: DNS Port already in use.