linux:openwrt:openwrt
This is an old revision of the document!
Table of Contents
OpenWRT
Image download
Unzip
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
- gateway
- dns
``` config interface 'lan'
option type 'bridge' option ifname 'eth0' option proto 'static' option ipaddr '192.168.1.18' option netmask '255.255.255.0' option ip6assign '60' option multipath 'on' option gateway '192.168.1.1' list dns '8.8.8.8'
```
Install luci
https://openwrt.org/docs/guide-user/luci/luci.essentials ``` opkg update opkg install luck ```
Install tools
``` opkg install curl unzip wget-ssl
```
Install v2ray
Download the v2ray from
I use my VPS to download it first
wget https://ef.pjq.me/download/openwrt/v2ray-linux-64.zip unzip v2ray-linux-64.zip -d v2ray
Install BBR
``` opkg install kmod-tcp-bbr insmod kmod-tcp-bbr lsmod|grep bbr ```
vim /etc/sysctl.conf
And add the following:
net.core.default_qdisc=fq_codel net.ipv4.tcp_congestion_control=bbr
/var/www/dokuwiki/wiki/data/attic/linux/openwrt/openwrt.1603035989.txt.gz · Last modified: 2020/10/18 23:46 by percy