Bark
8
Please bear with me, not trying to sound like a douche. Just trying to help.
We have 50 private WG servers worldwide using KVM VPS servers. (FYI Mullvad keeps logs, not good.)
We also have many AR3300m and a few AR750s for work/travel. It’s too hard to continually re-add the WG servers into each version’s update, so we make backup copies of the ‘wireguard’ and ‘shadowsocks’ files before updating to the next version
For us, SFTP is the easiest way., it’s super fast and you can just overwrite the default files in seconds. If you don’t have the saved files, you can also just add your keys and info manually there. Did I say fast?
Just for drill if you don’t have this.
-Create an SFTP server:
SSH into the router, then
opkg update
opkg install openssh-sftp-server
Then, SFTP into the router. Go to /etc/config/.wireguard. Simply overwrite wireguard with your saved wireguard file, or you can manually add each entry into it like this:
config peers ‘wg_peer_a-name’
option name ‘ANY NAME’
option address ‘aaa.bbb.ccc.ddd’
option listen_port ‘yyyyyy’
option private_key ‘your-privatekey=’
option allowed_ips ‘0.0.0.0/0’
option persistent_keepalive ‘25’
option public_key ‘your-publickey=’
option dns ‘1.1.1.1’
option end_point ‘xxx.xxx.xxx.xxx:yyyyyy’
Separate each peer with a line space.
Takes seconds. No head scratching either.
Or, just wait for them to fix the GUI. Should be very soon.
2 Likes