Unicom's naked cat was changed to bridge, and the original gateway was changed from 192. 168. 1 to 192. 168.5.6438+0.
K2P routing dialing, the original gateway192.168.123.1changed to 192.6438+068. 1.
One: Install Openwrt
1. First, ssh logs in to N 1 and pulls the docker image.
2.ip settings
Step 3 Deploy Mirrors
Two: Configure Openwrt
1. Open the graphical interface of docker and set openwrt.
2. Enter vi /etc/config/network in the command configuration interface to change the information of openwrt network card.
Please press the letter I before entering the text.
Change 192. 168.50. To 192.438+068.6438+0.
Press Esc: w q in turn.
3. Modify the Openwrt login password and enter it on the configuration page.
Reintroduction
Enter a new password and repeat it.
4. Enter the configured openwrt address and log in to 192. 168.438+0.2.