Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weโ€™ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenWRT: Setup #436

Open
hhstore opened this issue Nov 11, 2024 · 10 comments
Open

OpenWRT: Setup #436

hhstore opened this issue Nov 11, 2024 · 10 comments

Comments

@hhstore
Copy link
Owner

hhstore commented Nov 11, 2024

๐Ÿ“– Abstract:

  • โœ… OpenWRT ้…็ฝฎๆ•™็จ‹

๐Ÿ’ฏ Related:

@hhstore
Copy link
Owner Author

hhstore commented Nov 11, 2024

OpenWrt ้…็ฝฎๆ•™็จ‹

OpenWrt fork ๆ–นๆกˆ:

๐Ÿ”ฅ iStoreOS

ๅ›บไปถๅŒ…ๆ”ฏๆŒๅˆ—่กจ:

R3S ๅ›บไปถๅŒ…

ImmortalWrt:

ๅ‚่€ƒ:

่ทฏ็”ฑๅ™จๅˆท openwrt

  • ๆ นๆฎๆ•™็จ‹, ๅˆทๅ…ฅ openwrt
  • ๅˆทๆˆๅŠŸๅŽ, ไผš้ขไธดๅ‡ ไธช้—ฎ้ข˜:
    1. ้ป˜่ฎค WiFi ๆ˜ฏไธๆ˜พ็คบ็š„,ๆœ‰็‚นๅ‘็ˆน.
    2. ๅช่ƒฝ้€š่ฟ‡ ่ทฏ็”ฑๅ™จ็ฝ‘ๅฃ + ๆœ‰็บฟๆ–นๅผ, ่ฟžๆŽฅ่ทฏ็”ฑๅ™จ.
    3. ๅ†้€š่ฟ‡ ssh ๆ–นๅผไฟฎๆ”น้…็ฝฎ(่ฎพ็ฝฎWiFi)

ssh ่ฟžๆŽฅ openwrt

# ๅˆšๅˆทๆœบ, ๅฏ†็ ไธบ็ฉบ, ๅฏๅŽ็ปญ่ฎพ็ฝฎ.
ssh root@192.168.1.1

ssh ๅ‘ฝไปค่กŒๆ“ไฝœ:

  1. ๅฎ‰่ฃ… web ui.(้ป˜่ฎคๅนถๆฒกๆœ‰ๅฎ‰่ฃ…, ไนŸไธไผšๅฏๅŠจ web ui)
opkg update

# web ui: 192.168.1.1 ่ฎฟ้—ฎ
opkg install luci

่ทฏ็”ฑๅ™จ้ฆ–ๆฌกๅˆทๅ…ฅ openwrt ๆˆๅŠŸๅŽ

@hhstore
Copy link
Owner Author

hhstore commented Nov 11, 2024

ๅฎ‰่ฃ… openclash

ๅ‚่€ƒ:

ๅ‘ฝไปค่กŒๆ“ไฝœ:

  • ssh ่ฟ›ๅ…ฅ่ทฏ็”ฑๅ™จ, ๆ“ไฝœ:
# ๅ…ˆๅธ่ฝฝๅ†ฒ็ช็š„ๅŒ…
opkg remove dnsmasq


#iptables
opkg update
opkg install coreutils-nohup bash iptables dnsmasq-full curl ca-certificates ipset ip-full iptables-mod-tproxy iptables-mod-extra libcap libcap-bin ruby ruby-yaml kmod-tun kmod-inet-diag unzip luci-compat luci luci-base

web ui ๆ“ไฝœ:

  • ๆ›ดๆ–ฐๆ’ไปถๅˆ—่กจ:
image
  • ๆ›ดๆ–ฐ่ฝฏไปถๅˆ—่กจๅŽ็š„็ป“ๆžœ.
image

@hhstore
Copy link
Owner Author

hhstore commented Nov 11, 2024

ๅฎ‰่ฃ… AdguardHome

ๅฎ‰่ฃ…:

opkg install adguardhome

web ui ่ฎฟ้—ฎ:

image
  • ้…็ฝฎ:
image
  • ้…็ฝฎๆˆๅŠŸ, ็™ปๅฝ• admin ui:
image

ไฝฟ็”จๆ–นๆณ•:

  • ๅœจ macos, iOS, Android ็ญ‰่ฎพๅค‡ไธŠ,้…็ฝฎไธ€ไธ‹ DNS.
image

@hhstore
Copy link
Owner Author

hhstore commented Nov 11, 2024

ๅฎ‰่ฃ… luci-app-advanced-reboot

็”จ้€”:

  • ้‡ๅฏๅˆ†ๅŒบ็š„ๆ’ไปถ, ๅˆ‡ๆข ่ทฏ็”ฑๅ™จ็š„ๅˆ†ๅŒบ็ณป็ปŸ.
luci-app-advanced-reboot

ๅฎ‰่ฃ…:

opkg update
opkg install luci-app-advanced-reboot

@hhstore
Copy link
Owner Author

hhstore commented Nov 11, 2024

1

5 similar comments
@hhstore
Copy link
Owner Author

hhstore commented Nov 11, 2024

1

@hhstore
Copy link
Owner Author

hhstore commented Nov 11, 2024

1

@hhstore
Copy link
Owner Author

hhstore commented Nov 11, 2024

1

@hhstore
Copy link
Owner Author

hhstore commented Nov 11, 2024

1

@hhstore
Copy link
Owner Author

hhstore commented Nov 11, 2024

1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant