good day everyone!
Have two servers with tow external IP.
Install on them two WGDashboard servers configurations, and one by server peer, place on /etc/wireguard/ two files with peer conigs on third server-vpnchainer.
run
sudo vpn-chainer 2
[HOOK] No pre-spin-up script found. Skipping.
[DEBUG] Checking directory: /etc/wireguard
[DEBUG] Directory exists: True
[DEBUG] Directory is readable: True
[DEBUG] Found 2 config files
[SETUP] Establishing VPN Chain...
[INFO] Saved original default route: default via b.b.b.b dev ens3 proto static
[INFO] Parsed gateway: b.b.b.b, interface: ens3
[INFO] VPN Chain Order: vpn-n -> vpn-k
[INFO] Endpoint IPs: x.x.x.x -> y.y.y.y
- Setting up VPN [vpn-n] at 10.7.0.19/32...
net.ipv4.conf.vpn-n.forwarding = 1
[INFO] Waiting for WireGuard handshake...
[ROUTE] Setting up first VPN vpn-n
[ROUTE] Adding endpoint route for x.x.x.x via original gateway
- Setting up VPN [vpn-k] at 10.11.0.1/32...
and get this...
RTNETLINK answers: Address already in use
Traceback (most recent call last):
File "/usr/local/bin/vpn-chainer", line 6, in
sys.exit(main())
^^^^^^
File "/home/ubuntu/.local/share/pipx/venvs/vpn-chainer/lib/python3.12/site-packages/vpn_chainer/vpn_chainer.py", line 526, in main
setup_vpn()
File "/home/ubuntu/.local/share/pipx/venvs/vpn-chainer/lib/python3.12/site-packages/vpn_chainer/vpn_chainer.py", line 264, in setup_vpn
subprocess.run(['ip', 'link', 'set', vpn_name, 'up'], check=True)
File "/usr/lib/python3.12/subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['ip', 'link', 'set', 'vpn-k', 'up']' returned non-zero exit status 2.
what i do wrong?
good day everyone!
Have two servers with tow external IP.
Install on them two WGDashboard servers configurations, and one by server peer, place on /etc/wireguard/ two files with peer conigs on third server-vpnchainer.
run
sudo vpn-chainer 2
[HOOK] No pre-spin-up script found. Skipping.
[DEBUG] Checking directory: /etc/wireguard
[DEBUG] Directory exists: True
[DEBUG] Directory is readable: True
[DEBUG] Found 2 config files
[SETUP] Establishing VPN Chain...
[INFO] Saved original default route: default via b.b.b.b dev ens3 proto static
[INFO] Parsed gateway: b.b.b.b, interface: ens3
[INFO] VPN Chain Order: vpn-n -> vpn-k
[INFO] Endpoint IPs: x.x.x.x -> y.y.y.y
net.ipv4.conf.vpn-n.forwarding = 1
[INFO] Waiting for WireGuard handshake...
[ROUTE] Setting up first VPN vpn-n
[ROUTE] Adding endpoint route for x.x.x.x via original gateway
and get this...
RTNETLINK answers: Address already in use
Traceback (most recent call last):
File "/usr/local/bin/vpn-chainer", line 6, in
sys.exit(main())
^^^^^^
File "/home/ubuntu/.local/share/pipx/venvs/vpn-chainer/lib/python3.12/site-packages/vpn_chainer/vpn_chainer.py", line 526, in main
setup_vpn()
File "/home/ubuntu/.local/share/pipx/venvs/vpn-chainer/lib/python3.12/site-packages/vpn_chainer/vpn_chainer.py", line 264, in setup_vpn
subprocess.run(['ip', 'link', 'set', vpn_name, 'up'], check=True)
File "/usr/lib/python3.12/subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['ip', 'link', 'set', 'vpn-k', 'up']' returned non-zero exit status 2.
what i do wrong?