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

  1. Click on Network in the top bar and then on Interfaces to open the interfaces configuration page.
  2. Click on button Add new Interface…
  3. Fill the form with the following values: Name = OpenVPN, Protocol = Unmanaged, Interface = tun0. Then click on Create Interface.
  4. Edit the interface.
  5. In panel General Settings: unselect the checkbox Bring up on boot.
  6. In panel Firewall Settings: Assign firewall-zone to wan.
  7. Click on Save and Apply the new configuration.
  8. 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.