Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I can't connect. #70

Open
Kuzz007 opened this issue Jan 15, 2025 · 19 comments
Open

I can't connect. #70

Kuzz007 opened this issue Jan 15, 2025 · 19 comments

Comments

@Kuzz007
Copy link

Kuzz007 commented Jan 15, 2025

Hello everyone!
Why can't I connect to the panel by IP address and port by default, if I understand correctly 8000
Or can I only connect as a localhost?

And in the manual as a whole nothing is written what and how

@NOXCIS
Copy link
Owner

NOXCIS commented Jan 15, 2025

Did you deploy via quick installer or Docker-Compose?

@Kuzz007
Copy link
Author

Kuzz007 commented Jan 15, 2025

Yes, Docker Compose installation.
With the usual installation, nothing is clear at all because there is no normal description, but this did not work either.

@Kuzz007
Copy link
Author

Kuzz007 commented Jan 15, 2025

Вы выполнили развертывание с помощью быстрого установщика или Docker-Compose?

It also hangs the server )))

@NOXCIS
Copy link
Owner

NOXCIS commented Jan 15, 2025

@Kuzz007
I set up a demo. couldnt replicate the issue
http://104.236.227.170:8000/#/signin
username: admin password: admin1234
git clone and the repo, cd into it and use the main.docker.compose.yml

#Configure To YOUR Enviornment and RUN
networks:
  private_network:
    driver: bridge
    driver_opts:
      com.docker.network.bridge.enable_icc: "true"
    attachable: true
    internal: false
    ipam:
      config:
        - subnet: 10.2.0.0/24


services:
  dnscrypt:
    depends_on: [wiregate]
    image: "noxcis/dnscrypt:latest"
    restart: unless-stopped
    container_name: dnscrypt
    volumes:
      - ./configs/dnscrypt:/config
    networks:
      private_network:
        ipv4_address: 10.2.0.42

  unbound:
    depends_on: [dnscrypt]
    image: "noxcis/unbound:latest"
    container_name: unbound
    restart: unless-stopped
    hostname: "unbound"
    cap_add:
      - NET_ADMIN
    healthcheck:
      test: ["CMD", "drill", "@127.0.0.1", "dnssec.works"]
      interval: 30s
      timeout: 30s
      retries: 3
      start_period: 30s 
    networks:
      private_network:
        ipv4_address: 10.2.0.200
  

  
  adguard:
    depends_on: [unbound]
    container_name: adguard
    image: adguard/adguardhome
    restart: unless-stopped
    hostname: adguard
    # Volumes store your data between container upgrades
    volumes:
      - "./configs/adguard/Data:/opt/adguardhome/work"
      - "./configs/adguard:/opt/adguardhome/conf"
    networks:
      private_network:
        ipv4_address: 10.2.0.100   

  wiregate:
      image: noxcis/wiregate:jiaotu-beta-dev-v0.2.3
      container_name: wiregate
      hostname: wiregate
      cap_add:
        - NET_ADMIN
      devices:
        - /dev/net/tun:/dev/net/tun  
      restart: unless-stopped
      volumes:
        - pf_conf:/WireGate/iptable-rules/
        - conf:/etc/wireguard 
        - db:/WireGate/db
        - ./configs/dnscrypt:/WireGate/dnscrypt
        - ./configs/tor:/etc/tor/
        - ./configs/logs:/WireGate/log/
        - ./configs/master-key:/WireGate/master-key

      environment:
      #Config Path Optional
        #- WGDCONF_PATH=/etc/wireguard
      #Use Ofuscated Wireguard (AmneziaWG)
        - AMNEZIA_WG=true
      #Set Timezone
        - TZ=America/New_York

      #Tor Settings
      ##########################################################
        - WGD_TOR_PROXY=false          #Enable Tor
        - WGD_TOR_EXIT_NODES={ch}     #Ex. {gb},{fr}
        - WGD_TOR_DNS_EXIT_NODES={us}
        - WGD_TOR_BRIDGES=true        #Enable Tor Bridges
        - WGD_TOR_PLUGIN=webtunnel    #OPTIONS webtunnel, obfs4, snowflake
      #WGDashboard Global Settings
      ##########################################################
        - WGD_WELCOME_SESSION=true
        - WGD_AUTH_REQ=true
        - WGD_USER=admin
        - WGD_PASS=admin
        - WGD_REMOTE_ENDPOINT=0.0.0.0
        - WGD_REMOTE_ENDPOINT_PORT=80
        - WGD_PEER_ENDPOINT_ALLOWED_IP=0.0.0.0/0, ::/0
        - WGD_KEEP_ALIVE=21
        - WGD_MTU=1420
        - WGD_PORT_RANGE_STARTPORT=4430
      #DNS Setiings (Set To use Containers Above) You can use your own DNS
      ##########################################################
        - WGD_DNS=10.2.0.100
        - WGD_IPTABLES_DNS=10.2.0.100
      ports:
        - "4430-4433:4430-4433/udp" #UDP Interface Listen Ports For Zones
        - 8000:80/tcp #Comment Out for full network lockdown, I.E only Accessible via VPN conttenction at http://wire.gate using config in generated master-key folder
      sysctls:        #Otherwise access the dashboard @ your-sever-ip/domain:6060
        - net.ipv4.ip_forward=1
        - net.ipv4.conf.all.src_valid_mark=1
        - net.ipv6.conf.all.forwarding=1
        - net.ipv6.conf.default.forwarding=1
      networks:
        private_network:
          ipv4_address: 10.2.0.3
    


volumes:
    db:
    conf:
    pf_conf:

@Kuzz007
Copy link
Author

Kuzz007 commented Jan 15, 2025

The demo opened immediately
I'll try again.

@Kuzz007
Copy link
Author

Kuzz007 commented Jan 15, 2025

Демо открылось сразу . Попробую еще раз.

[+] Running 4/4
✔ Container wiregate Started 2.4s
✔ Container dnscrypt Started 2.6s
✔ Container unbound Started 3.7s
✔ Container adguard Started 4.6s

Unfortunately it won't start.

@Kuzz007
Copy link
Author

Kuzz007 commented Jan 15, 2025

Okay, God bless him, I'll continue using him wg easy.

I can't get it working with either your panel or wgdashboard

@NOXCIS
Copy link
Owner

NOXCIS commented Jan 15, 2025

Check the url and make sure it's http not https. Otherwise no clue I spun that demo up with digital ocean VPS.

@Kuzz007
Copy link
Author

Kuzz007 commented Jan 15, 2025

Проверьте URL и убедитесь, что это http, а не https. В противном случае нет никаких сведений. Я запустил эту демо-версию с помощью Digital Ocean VPS.

Yes, it's a regular, unprotected one. It seems to me that the elementary is very difficult. ))))

@NOXCIS
Copy link
Owner

NOXCIS commented Jan 15, 2025

@Kuzz007 Hmm no worries there a tutorial video in the docs folder on the awg-patch branch
heres the link
download and watch
https://github.com/NOXCIS/Wiregate/blob/awg-patch/Docs/Ubuntu-Demo-Compressed.mp4

@NOXCIS
Copy link
Owner

NOXCIS commented Jan 15, 2025

@Kuzz007 Also if you get it working would you be willing to contribute russian instructions/ Readme ? To the project?
Также, если у вас все получится, не могли бы вы предоставить для проекта русскую инструкцию/файл Readme?

@Kuzz007
Copy link
Author

Kuzz007 commented Jan 15, 2025

@Kuzz007Хм, не волнуйтесь, в папке docs в ветке awg-patch есть обучающее видео. Вот ссылка для скачивания и просмотра https://github.com/NOXCIS/Wiregate/blob/awg-patch/Docs/Ubuntu-Demo-Compressed.mp4

I did everything according to the instructions and connected with the master config. When I go to the address, it just hangs loading. It says the name of the tab and that's it. The host is bad, hmm, what am I doing wrong?

@Kuzz007
Copy link
Author

Kuzz007 commented Jan 15, 2025

@Kuzz007Кроме того, если у вас все заработает, не могли бы вы предоставить русские инструкции/Readme? В проект? Кроме того, если у вас все получится, не могли бы вы рассчитать для проекта русскую процедуру/файл Readme?

I want to defeat this panel at least first)

@NOXCIS
Copy link
Owner

NOXCIS commented Jan 15, 2025

@Kuzz007Хм, не волнуйтесь, в папке docs в ветке awg-patch есть обучающее видео. Вот ссылка для скачивания и просмотра https://github.com/NOXCIS/Wiregate/blob/awg-patch/Docs/Ubuntu-Demo-Compressed.mp4

I did everything according to the instructions and connected with the master config. When I go to the address, it just hangs loading. It says the name of the tab and that's it. The host is bad, hmm, what am I doing wrong?

Yeah it's most definitely your host at this point. They may be blocking alpine repos, though I'm not sure. Try a Digital Ocean, Linode or Vulutr host.

Use this affiliate link for free trial on digital ocean.

https://www.digitalocean.com/?refcode=a84cb9aac585&utm_campaign=Referral_Invite&utm_medium=Referral_Program&utm_source=badge

@Kuzz007
Copy link
Author

Kuzz007 commented Jan 16, 2025

Unfortunately, I don't have a foreign card to try.

I deleted everything, installed it again from scratch, the picture hasn't changed, I haven't moved beyond the title in the tab name )

Although with the master config I can connect to my other projects at the address.

Should there be Internet on the master config, i.e. access to sites etc. in general? If so, then I don't have it, I can only connect to my projects on the same server.

@Kuzz007
Copy link
Author

Kuzz007 commented Jan 16, 2025

[+] Running 8/8
✔ Network wiregate_private_network Created 0.2s
✔ Volume "wiregate_conf" Created 0.0s
✔ Volume "wiregate_db" Created 0.0s
✔ Volume "wiregate_pf_conf" Created 0.0s
✔ Container wiregate Started 1.6s
✔ Container dnscrypt Started 2.6s
✔ Container unbound Started 3.5s
✔ Container adguard Started 4.2s

@NOXCIS
Copy link
Owner

NOXCIS commented Jan 17, 2025

@Kuzz007 i think its the default alpine repo mirrors. However there other russian users that dont seem to have this issue. Ill push an image later that has an extened list of alpine repos to test. Also who is your host so i can test on their servers?

run this cmd in the mean time, docker logs wiregate and send me the output.

@Kuzz007
Copy link
Author

Kuzz007 commented Jan 17, 2025

[TOR] Sending Signal for New Circuits...

[TOR] New circuit in 387 seconds...


[2025-01-17 11:03:43] [TOR-FLUX] Starting Tor circuit refresh...
[2025-01-17 11:03:53] [TOR-FLUX] Tor circuit refresh completed.

The whole log is in a loop

@Kuzz007
Copy link
Author

Kuzz007 commented Jan 20, 2025

@n

@Kuzz007Я думаю, что это зеркала репозитория Alpine по умолчанию. Однако есть и другие российские пользователи, у которых, похоже, нет этой проблемы. Позже я выложу образ с расширенным списком репозиториев Alpine для тестирования. Также кто ваш хостер, чтобы я мог протестировать на их серверах?

А пока запустите эту команду docker logs wiregateи пришлите мне вывод.

Any thoughts? Is there an alternative installation method?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants