Openwrt 常用包

# 常用
LuCI ---> Applications ---> 
        luci-app-accesscontrol #访问时间控制
        luci-app-acme #ACME 自动化证书管理环境
        luci-app-adblock #ADB广告过滤
        luci-app-adbyby-plus #广告屏蔽大师Plus +
        luci-app-advanced-reboot #Linksys高级重启
        luci-app-ahcp #支持AHCPd
        luci-app-amule #aMule下载工具
        luci-app-aria2 # Aria2下载工具
        luci-app-arpbind #IP/MAC绑定
        luci-app-asterisk #支持Asterisk电话服务器
        luci-app-attendedsysupgrade #固件更新升级相关
        luci-app-autoreboot #支持计划重启
        
        luci-app-baidupcs-web #百度网盘管理 *
        luci-app-bcp38 #BCP38网络入口过滤(不确定)
        luci-app-bird1-ipv4 #对Bird1-ipv4的支持
        luci-app-bird1-ipv6 #对Bird1-ipv6的支持
        luci-app-bmx6 #BMX6路由协议
        luci-app-bmx7 #BMX7路由协议
        
        luci-app-cifsd #网络共享CIFS/SMB服务器 *
        luci-app-cjdns #加密IPV6网络相关
        luci-app-clamav #ClamAV杀毒软件
        luci-app-commands #Shell命令模块
        luci-app-cshark #CloudShark捕获工具
        
        luci-app-ddns #动态域名 DNS(集成阿里DDNS客户端)
        luci-app-diag-core #core诊断工具
        luci-app-dnscrypt-proxy #DNSCrypt解决DNS污染
        luci-app-dnsforwarder #DNSForwarder防DNS污染
        luci-app-dnspod #DNSPod动态域名解析
        luci-app-dockerman #Docker容器 *
        luci-app-dump1090 #民航无线频率(不确定)
        luci-app-dynapoint #DynaPoint(未知)
        
        luci-app-e2guardian #Web内容过滤器
        
        luci-app-familycloud #家庭云盘
        luci-app-filetransfer #文件传输(可web安装ipk包)
        luci-app-firewall #添加防火墙
        luci-app-flowoffload #Turbo ACC网络加速(集成FLOW,BBR,NAT,DNS...
        luci-app-freifunk-diagnostics #freifunk组件 诊断(未知)
        luci-app-freifunk-policyrouting #freifunk组件 策略路由(未知)
        luci-app-freifunk-widgets #freifunk组件 索引(未知)
        luci-app-frpc #内网穿透 Frp
        luci-app-fwknopd #Firewall Knock Operator服务器
        
        luci-app-haproxy-tcp #HAProxy负载均衡-TCP
        luci-app-hd-idle #硬盘休眠
        luci-app-hnet #Homenet Status家庭网络控制协议
        
        luci-app-ipsec-virtuald #virtual服务器 IPSecvpn
        
        luci-app-kodexplorer #KOD可道云私人网盘
        
        luci-app-lxc #LXC容器管理
        
        luci-app-meshwizard #网络设置向导
        luci-app-minidlna #完全兼容DLNA / UPnP-AV客户端的服务器软件
        luci-app-mjpg-streamer #兼容Linux-UVC的摄像头程序
        luci-app-mtwifi #MTWiFi驱动的支持 *
        luci-app-mwan3 #MWAN3负载均衡
        luci-app-mwan3helper #MWAN3分流助手
        
        luci-app-n2n_v2 #N2N内网穿透 N2N v2 virtual**服务
        luci-app-netdata #Netdata实时监控(图表) *
        luci-app-nft-qos #QOS流控 Nftables版
        luci-app-nlbwmon #网络带宽监视器
        luci-app-noddos #NodDOS Clients 阻止DDoS攻击
        luci-app-nps #内网穿透nps *
        luci-app-ntpc #NTP时间同步服务器
        
        luci-app-olsr #OLSR配置和状态模块
        luci-app-olsr-services #OLSR服务器
        luci-app-olsr-viz #OLSR可视化
        
        luci-app-p910nd #打印服务器模块
        luci-app-pagekitec #Pagekite内网穿透客户端
        luci-app-passwall ### 梯子订阅神器
        luci-app-polipo #Polipo代理(是一个小型且快速的网页缓存代理)
        luci-app-pppoe-relay #PPPoE NAT穿透 点对点协议(PPP)
        luci-app-privoxy #Privoxy网络代理(带过滤无缓存)
        
        luci-app-qbittorrent #BT下载工具(qBittorrent)
        luci-app-qos #流量服务质量(QoS)流控
        
        luci-app-radicale #CalDAV/CardDAV同步工具
        luci-app-ramfree #释放内存
        luci-app-rp-pppoe-server #Roaring Penguin PPPoE Server 服务器
        
        luci-app-samba #网络共享(Samba)
        luci-app-samba4 #网络共享(Samba4)
        luci-app-sfe #Turbo ACC网络加速(flowoffload二选一)
        luci-app-shairplay #支持AirPlay功能
        luci-app-siitwizard #SIIT配置向导 SIIT-Wizzard
        luci-app-simple-adblock #简单的广告拦截
        luci-app-smartdns #SmartDNS本地服务器 *
        luci-app-splash #Client-Splash是无线MESH网络的一个热点认证系统
        luci-app-sqm #流量智能队列管理(QOS)
        luci-app-squid #Squid代理服务器
        luci-app-statistics #流量监控工具
        luci-app-syncdial #多拨虚拟网卡(原macvlan)
        
        luci-app-tinyproxy #Tinyproxy是 HTTP(S)代理服务器
        luci-app-transmission #BT下载工具
        luci-app-travelmate #旅行路由器
        luci-app-ttyd #网页终端命令行
        
        luci-app-udpxy #udpxy做组播服务器
        luci-app-uhttpd #uHTTPd Web服务器
        luci-app-unblockmusic #解锁网易云灰色歌曲
        luci-app-unblockneteasemusic-go #解锁网易云歌曲 *
        luci-app-unbound #Unbound DNS解析器
        luci-app-upnp #通用即插即用UPnP(端口自动转发)
        luci-app-usb-printer #USB 打印服务器
        
        luci-app-verysync #微力同步 *
        luci-app-vlmcsd #KMS服务器设置
        luci-app-vnstat #vnStat网络监控(图表)
        luci-app-vsftpd #FTP服务器
        
        luci-app-watchcat #断网检测功能与定时重启
        luci-app-webadmin #Web管理页面设置
        luci-app-wifischedule #WiFi 计划
        luci-app-wireguard #virtual**服务器 WireGuard状态
        luci-app-wol #WOL网络唤醒
        luci-app-wrtbwmon #实时流量监测
        
        luci-app-zerotier #ZeroTier内网穿透

 

## openwrt 挂载U盘
opkg update
opkg install kmod-usb-core
opkg install kmod-usb2                #安装usb2.0 
opkg install kmod-usb-ohci            #安装usb ohci控制器驱动
opkg install kmod-usb-storage         #安装usb存储设备驱动
opkg install kmod-fs-ext4             #安装ext4分区格式支持组件 还是ext4格式的U盘读取快
opkg install kmod-fs-vfat             #挂载FAT
opkg install ntfs-3g                  #挂载NTFS
opkg install mount-utils              #挂载卸载工具
opkg install block-mount              #块设备挂载
opkg install fdisk                    #磁盘管理命令fdisk

mkdir -p /mnt/usb
mount -o rw /dev/sda /mnt/usb

# OpenWrt挂载U盘(NTFS)并在网上邻居共享访问
opkg update
opkg install kmod-usb-core
opkg install kmod-usb2                #安装usb2.0 
opkg install kmod-usb-ohci            #安装usb ohci控制器驱动
opkg install kmod-usb-storage         #安装usb存储设备驱动
opkg install kmod-fs-ext3             #安装ext3分区格式支持组件
opkg install kmod-fs-vfat             #挂载FAT
opkg install ntfs-3g                  #挂载NTFS
opkg install mount-utils              #挂载卸载工具
opkg install block-mount

opkg install luci-app-samba           #SAMBA网络共享服务
/etc/init.d/samba enable              #启用并开始SAMBA共享
/etc/init.d/samba restart             #重启

# openwrt安装openvpn client实现
opkg update
opkg install openvpn-openssl
opkg install luci-app-openvpn
vim /etc/config/openvpn
# 先删掉原有的配置,添加以下配置
config openvpn name_config    #后面的name_config能够随便改
    option enabled 1    #1为启用配置
    option config /root/vpn/config    #引用配置文件

config openvpn name1_config    #若是想要同时连多台服务器须要加上
    option enabled 1
    option config /root/vpn/config2
# 编辑openvpn配置文件
vim /root/vpn/config
    client    #客户端模式
    dev tun    #若是同时连多个请指定tun序号
    proto udp    #udp效率最高
    remote IP 1194    #服务端地址与端口
    resolv-retry infinite
    nobind    #不绑定固定端口
    #user nobody    #运行权限
    #group nogroup
    persist-key    #key保持
    persist-tun    #接口保持
    ca ca.crt
    cert client.crt
    key client.key
    tls-auth takey.key 1
    #auth-user-pass
    cipher AES-256-CBC    #加密算法,与服务端一致
    comp-lzo    #启用压缩,需服务端支持
    verb 3    #日志级别
    mute 20    #合并相同日志
    mssfix 1400    #修改mss单元大小
/etc/init.d/openvpn restart
# 实现openvpn连接后自动添加iptables规则
vim /root/vpn/up.shrest
    #!/bin/sh
    iptables -I FORWARD -o tun0 -j ACCEPT
    iptables -t nat -D POSTROUTING -s 192.168.11.0/24 -d 192.168.6.0/24 -o tun0 -j MASQUERADE

vim /root/vpn/down.sh
    #!/bin/sh
    iptables -D FORWARD -o tun0 -j ACCEPT
    iptables -t nat -D POSTROUTING -s 192.168.11.0/24 -d 192.168.6.0/24 -o tun0 -j MASQUERADE
chmod +x up.sh
chmod +x down.sh
# 在openvpn配置文件中调用code
vim /root/vpn/config
    #在文件结尾追加
    script-security 2
    up /root/vpn/up.sh
    down /root/vpn/down.sh
# 使openvpn服务能开机自动运行
/etc/init.d/openvpn enable
/etc/init.d/openvpn restart

 

## 安装主题插件
opkg list |grep theme
    luci - git-20.074.84698-ead5e81 - Standard OpenWrt set including full admin with ppp support and the default Bootstrap theme
    luci-nginx - git-20.161.73418-219f0ce - Standard OpenWrt set including full admin with ppp support and the default Bootstrap theme
    luci-theme-bootstrap - git-22.288.45147-96ec0cd - Bootstrap Theme (default)
    luci-theme-material - git-22.339.35089-7af4a64 - Material Theme
    luci-theme-openwrt - git-21.285.74425-1c3b32d - LuCI OpenWrt.org theme
    luci-theme-openwrt-2020 - git-22.287.85459-68ff77c - LuCI modern OpenWrt theme
opkg install luci-theme-openwrt-2020

 

## 主题类型名称

csstidy
liblucihttp-lua
liblucihttp-ucode
liblucihttp0
luci-app-acl
luci-app-acme
luci-app-adblock
luci-app-advanced-reboot
luci-app-ahcp
luci-app-aria2
luci-app-attendedsysupgrade
luci-app-babeld
luci-app-bcp38
luci-app-bmx7
luci-app-clamav
luci-app-commands
luci-app-cshark
luci-app-dawn
luci-app-dcwapd
luci-app-ddns
luci-app-diag-core
luci-app-dnscrypt-proxy
luci-app-dockerman
luci-app-dump1090
luci-app-dynapoint
luci-app-eoip
luci-app-example
luci-app-firewall
luci-app-frpc
luci-app-frps
luci-app-fwknopd
luci-app-hd-idle
luci-app-https-dns-proxy
luci-app-ksmbd
luci-app-ledtrig-rssi
luci-app-ledtrig-switch
luci-app-ledtrig-usbport
luci-app-lxc
luci-app-minidlna
luci-app-mjpg-streamer
luci-app-mosquitto
luci-app-mwan3
luci-app-natmap
luci-app-nextdns
luci-app-nft-qos
luci-app-nlbwmon
luci-app-ntpc
luci-app-nut
luci-app-ocserv
luci-app-olsr-services
luci-app-olsr-viz
luci-app-olsr
luci-app-omcproxy
luci-app-openvpn
luci-app-openwisp
luci-app-opkg
luci-app-p910nd
luci-app-pagekitec
luci-app-pbr
luci-app-polipo
luci-app-privoxy
luci-app-qos
luci-app-radicale2
luci-app-radicale
luci-app-rp-pppoe-server
luci-app-samba4
luci-app-ser2net
luci-app-小飞机英文-libev
luci-app-shairplay
luci-app-siitwizard
luci-app-simple-adblock
luci-app-smartdns
luci-app-snmpd
luci-app-softether
luci-app-splash
luci-app-sqm
luci-app-squid
luci-app-statistics
luci-app-tinyproxy
luci-app-transmission
luci-app-travelmate
luci-app-ttyd
luci-app-udpxy
luci-app-uhttpd
luci-app-unbound
luci-app-upnp
luci-app-vnstat2
luci-app-vnstat
luci-app-watchcat
luci-app-wifischedule
luci-app-wireguard
luci-app-wol
luci-app-xinetd
luci-app-yggdrasil
luci-base
luci-compat
luci-lib-base
luci-lib-docker
luci-lib-httpclient
luci-lib-httpprotoutils
luci-lib-ip
luci-lib-ipkg
luci-lib-iptparser
luci-lib-json
luci-lib-jsonc
luci-lib-nixio
luci-lib-px5g
luci-mod-admin-full
luci-mod-battstatus
luci-mod-dashboard
luci-mod-network
luci-mod-rpc
luci-mod-status
luci-mod-system
luci-nginx
luci-proto-3g
luci-proto-autoip
luci-proto-bonding
luci-proto-gre
luci-proto-hnet
luci-proto-ipip
luci-proto-ipv6
luci-proto-modemmanager
luci-proto-ncm
luci-proto-nebula
luci-proto-openconnect
luci-proto-openfortivpn
luci-proto-ppp
luci-proto-pppossh
luci-proto-qmi
luci-proto-relay
luci-proto-sstp
luci-proto-vpnc
luci-proto-vxlan
luci-proto-wireguard
luci-proto-xfrm
luci-ssl-nginx
luci-ssl-openssl
luci-ssl
luci-theme-bootstrap    # 默认主题 lou
luci-theme-material
luci-theme-openwrt-2020 # 好看的主题
luci-theme-openwrt
luci   # 图形界面
rpcd-mod-luci
rpcd-mod-rad2-enc
rpcd-mod-rrdns

 

posted @ 2023-06-30 11:29  luokeli  阅读(4234)  评论(0编辑  收藏  举报