banner
毅种循环

毅种循环

头顶铁锅接收宇宙能量

Infrastructure Construction - Redmi AX6000 OpenWrt

Cause

618 is here, a friend wants to flash openwrt, and it happens to be at the company, with a separate line for regular work.

I checked the best hardware routers now, and saw the recommendation of Redmi's ax6000 online. After looking at the reviews, it's really good, so I bought it for 411 yuan on JD.com.

Flashing process:

  1. https://qust.me/post/ax6000-openwrt/
  2. https://post.smzdm.com/p/ad996w7x/

The flashing process is roughly based on the above two articles, and the online articles are written very clearly and in detail, so I won't repeat them here.

Implementation

The original intention of flashing it is to use transparent proxy as the traffic exit, to avoid situations where the VPN disconnects or there are abnormal situations with the airport.

Therefore, from the beginning of the setup, my idea is to use warp+ as a proxy.
The specific process is also very simple, I don't need to use split routing, nor do I need anything else.
I just need an anonymous and concealed exit, and warp+ itself perfectly meets my needs.
It also prevents the leakage of the total exit IP address caused by unexpected situations.
In extreme cases, you can also connect to a different proxy as a second-layer proxy after the router.
In actual use, my warp+clash two-layer proxy is not particularly slow, and it is completely acceptable.

Extraction

Because WARP is based on the WireGuard protocol, you can use a script to extract WARP nodes for use in other apps or clients that support the WireGuard protocol.
You can find projects by searching on GitHub, such as warp wireguard extraction.

The extracted format looks like this:

warp-wireguard (api) configuration information is as follows
[Interface]
PrivateKey = 
Address = 
DNS = 1.1.1.1
MTU = 1280
[Peer]
PublicKey = 
AllowedIPs = 0.0.0.0/0, ::/0
Endpoint = 

So how do you make the router run this proxy node? It's also very simple. After switching the openclash on the router to the meta kernel, just fill in the subscription conversion.
https://github.com/MetaCubeX/Clash.Meta

The meta kernel supports the wg protocol.

At this point, if there are no problems, curl cip.cc should show the IP of cf.

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.