Coder Social home page Coder Social logo

Comments (12)

jack1902 avatar jack1902 commented on August 22, 2024 1

@Xosten pull down #71 and build locally then run. Issue should be resolved

from subspace.

alex-savin avatar alex-savin commented on August 22, 2024

Same here

from subspace.

jack1902 avatar jack1902 commented on August 22, 2024

We should add a check to see if ip6tables are available when IPV6 information is passed on the command line. If no IPV6 is passed but ip6tables is availble then we still ensure that DNS Leak protection is implemented

from subspace.

viggy96 avatar viggy96 commented on August 22, 2024

Same issue here. We should have a variable to disable IPV6 altogether.

from subspace.

gavinelder avatar gavinelder commented on August 22, 2024

@viggy96 @alex-savin @joe-shockman-vineti thanks for raising this issue.

I have raised #71 as a quick fix , feel free to test / run this on AWS.

from subspace.

Xosten avatar Xosten commented on August 22, 2024

Same issue here on a Debian 10 VPS

from subspace.

Xosten avatar Xosten commented on August 22, 2024

@jack1902 Ok I'll try it. I'm kinda noob when it comes to GitHub things haha. I keep you updated

from subspace.

Xosten avatar Xosten commented on August 22, 2024

The error seems to be gone but now I have /usr/local/bin/entrypoint.sh: line 148: wg: not found :/

from subspace.

jack1902 avatar jack1902 commented on August 22, 2024

@Xosten https://www.wireguard.com/install/

from subspace.

Xosten avatar Xosten commented on August 22, 2024

@Xosten https://www.wireguard.com/install/

Just did a clean reinstallation of it. Still got the error. If it can help here are the logs of docker-compose up and my docker-compose.yml

Logs of docker-compose up

subspace    | + '[' -z xxxx.hidendomain.ovh ]
subspace    | + '[' -z  ]
subspace    | + export 'SUBSPACE_BACKLINK='
subspace    | + '[' -z  ]
subspace    | + export 'SUBSPACE_IPV4_POOL=10.99.97.0/24'
subspace    | + '[' -z  ]
subspace    | + export 'SUBSPACE_IPV6_POOL=fd00::10:97:0/112'
subspace    | + '[' -z 1.1.1.1 ]
subspace    | + '[' -z true ]
subspace    | + '[' -z '":80"' ]
subspace    | + '[' -z  ]
subspace    | + export 'SUBSPACE_LISTENPORT=51820'
subspace    | + '[' -z false ]
subspace    | + export 'DEBIAN_FRONTEND=noninteractive'
subspace    | + '[' -z  ]
subspace    | + echo 10.99.97.0/24
subspace    | + cut -d / -f1
subspace    | + sed 's/.0$/./g'
subspace    | + export 'SUBSPACE_IPV4_PREF=10.99.97.'
subspace    | + echo 10.99.97.1
subspace    | + export 'SUBSPACE_IPV4_GW=10.99.97.1'
subspace    | + '[' -z  ]
subspace    | + echo fd00::10:97:0/112
subspace    | + cut -d / -f1
subspace    | + sed 's/:0$/:/g'
subspace    | + export 'SUBSPACE_IPV6_PREF=fd00::10:97:'
subspace    | + echo fd00::10:97:1
subspace    | + export 'SUBSPACE_IPV6_GW=fd00::10:97:1'
subspace    | + '[' -z 0 ]
subspace    | + echo 'nameserver 1.1.1.1'
subspace    | + '[' -n  ]
subspace    | + '[' -x /sbin/iptables ]
subspace    | + /sbin/iptables -t nat --check OUTPUT -s 10.99.97.0/24 -p udp --dport 53 -j DNAT --to 10.99.97.1:53
subspace    | + /sbin/iptables -t nat --check OUTPUT -s 10.99.97.0/24 -p tcp --dport 53 -j DNAT --to 10.99.97.1:53
subspace    | + '[' -x /sbin/ip6tables ]
subspace    | + test -d /data/wireguard
subspace    | + cat
subspace    | + cat /data/wireguard/server.private
subspace    | + cat /data/wireguard/peers/null.conf
subspace    | + ip link show wg0
subspace    | 190: wg0: <POINTOPOINT,NOARP> mtu 1420 qdisc noop state DOWN mode DEFAULT group default qlen 1000
subspace    |     link/none 
subspace    | + ip link del wg0
subspace    | + ip link add wg0 type wireguard
subspace    | + echo 10.99.97.0/24
subspace    | + cut -d / -f2
subspace    | + export 'SUBSPACE_IPV4_CIDR=24'
subspace    | + ip addr add 10.99.97.1/24 dev wg0
subspace    | + cut -d / -f2
subspace    | + echo fd00::10:97:0/112
subspace    | + export 'SUBSPACE_IPV6_CIDR=112'
subspace    | + ip addr add fd00::10:97:1/112 dev wg0
subspace    | + wg setconf wg0 /data/wireguard/server.conf
subspace    | /usr/local/bin/entrypoint.sh: line 148: wg: not found
subspace exited with code 127

docker-compose.yml

version: "3.3"
services:
  subspace:
   image: subspacefix:latest
   container_name: subspace
   volumes:
    - /usr/bin/wg:/usr/bin/wg
    - /opt/docker/subspace:/data
   restart: always
   environment:
    - SUBSPACE_HTTP_HOST=xxxx.hiddendomain.ovh
    - SUBSPACE_LETSENCRYPT=true
    - SUBSPACE_HTTP_INSECURE=false
    - SUBSPACE_HTTP_ADDR=":80"
    - SUBSPACE_NAMESERVER=1.1.1.1
    - SUBSPACE_IPV6_NAT_ENABLED=0
   cap_add:
    - NET_ADMIN
   network_mode: "host"

domain has been hidden

from subspace.

gavinelder avatar gavinelder commented on August 22, 2024

@Xosten this is another issue , sorry about this Going to add a fix on top of that branch.

from subspace.

Basti-Fantasti avatar Basti-Fantasti commented on August 22, 2024

this error stated above should be gone when you comment out the /usr/bin/wg volume from your docker-compose file

I have the same issue here on debian buster

from subspace.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.