subspacecommunity / subspace

A fork of the simple WireGuard VPN server GUI community maintained

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Subspace webUI not listening on IPv4 address

Dvorf opened this issue · comments

commented

Hi,
Will appreciate if anybody will help me with Subspace not listening on IPv4 address issue

root@WireGuard:~# netstat -lnp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:53 0.0.0.0:* LISTEN 10688/dnsmasq
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 580/sshd: /usr/sbin
tcp6 0 0 :::80 :::* LISTEN 10686/subspace
tcp6 0 0 :::53 :::* LISTEN 10688/dnsmasq
tcp6 0 0 :::22 :::* LISTEN 580/sshd: /usr/sbin
tcp6 0 0 :::443 :::* LISTEN 10686/subspace
udp 0 0 0.0.0.0:53 0.0.0.0:* 10688/dnsmasq
udp 0 0 65.108.93.57:68 0.0.0.0:* 490/systemd-network
udp 0 0 0.0.0.0:51820 0.0.0.0:* -
udp6 0 0 :::53 :::* 10688/dnsmasq
udp6 0 0 :::51820 :::* -
raw6 0 0 :::58 :::* 7 490/systemd-network
Active UNIX domain sockets (only servers)

So WG is listening on both IPv4 and IPv6, while Subspace itself only waiting for connection on IPv6 address.
Does anybody know ho to fix this?

This in docker or direct on a Linux box?

I have same issue.....
seems like if ipv6 binds first ip4 will be ignored....
so I add my local IP address (IPv4) to docker-compose.yaml:

  • SUBSPACE_HTTP_ADDR=IPv4_your_address:80 instead - SUBSPACE_HTTP_ADDR=":80"

that helped me....