I’ve got a fly VM running a daemon that’s trying to connect to a DB I’ve got running on a VPS on some dedicated hosting.
I’ve set up wireguard with
fly wireguard create <org_name> lhr <vps_peer_name>
wg-quick up <vps_peer_name>
[#] ip link add <vps_peer_name> type wireguard [#] wg setconf <vps_peer_name> /dev/fd/63 [#] ip -6 address add <ipv6_addr>/120 dev <vps_peer_name> [#] ip link set mtu 1420 up dev <vps_peer_name> [#] resolvconf -a tun.<vps_peer_name> -m 0 -x [#] ip -6 route add <dns_server?>/48 dev <vps_peer_name>
Interestingly I was getting two “Too few arguments” messages after the resolvconf line, I had openresolv installed. So I installed resolvconf as well, and that seems to have removed those messages.
On the fly VM I can
which shows some traffic if I
tcpdump port 51280
on the vps
But I can’t cURL a local server by that ipv6, I can’t either connect to a postgres DB. The connections just time out. Again this traffic is showing in TCPDUMP, but there’s no logs of attempted connections in NGINX or Postgres
Any ideas please? How to troubleshoot this?