User Tools

Site Tools



Image download


gzip -d openwrt-19.07.4-x86-64-combined-squashfs.img.gz

Update network config

After install the image in the VMM, need to update the network config

  1. gateway
  2. dns
config interface 'lan'
	option type 'bridge'
	option ifname 'eth0'
	option proto 'static'
	option ipaddr ''
	option netmask ''
	option ip6assign '60'
	option multipath 'on'
	option gateway ''
	list dns ''

Install luci

Install tools

opkg install curl unzip wget-ssl ipset

Install v2ray

Download the v2ray from

I use my VPS to download it first

unzip -d v2ray

Install BBR

opkg install kmod-tcp-bbr
insmod kmod-tcp-bbr
lsmod|grep bbr
vim /etc/sysctl.conf

And add the following:


Then reload the setting

sysctl -p
lsmod|grep bbr
tcp_bbr                16384 35 

Update hosts

vim /etc/config/dhcp

Add the list addnhosts '/etc/myhosts'

config dnsmasq                                                                                                     ...                                                                                           
        list addnhosts '/etc/myhosts'    

Then add your hosts to /etc/myhosts

vim /etc/myhosts

Then restart the dnsmasq service

/etc/init.d/dnsmasq restart
/var/www/dokuwiki/wiki/data/pages/linux/openwrt/openwrt.txt · Last modified: 2020/10/23 23:53 by percy