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

Help config. #73

Open
ghost opened this issue May 27, 2022 · 3 comments
Open

Help config. #73

ghost opened this issue May 27, 2022 · 3 comments

Comments

@ghost
Copy link

ghost commented May 27, 2022

hi,

is this correct?

default http://0.0.0.0:80 http://127.0.0.1:80 no 200 no No
kiwi.puntochat.net http://0.0.0.0:80 http://127.0.0.1:80 no 200 no No
default http://0.0.0.0:443 http://127.0.0.1:443 yes 307 /vddos/conf.d/ssl/kiwi.puntochat.net.pri /vddos/conf.d/ssl/kiwi.puntochat.net.crt
kiwi.puntochat.net https://0.0.0.0:443 http://127.0.0.1:443 yes captcha /vddos/conf.d/ssl/kiwi.puntochat.net.pri /vddos/conf.d/ssl/kiwi.puntochat.net.crt

i dont feel like is working. And on logs is empty.

@duy13
Copy link
Owner

duy13 commented May 27, 2022

it is wrong, because you are calling vddos listen at 0.0.0.0:80 i.e. it will also listen at 127.0.0.1:80, so it has duplicate port, replace 0.0.0.0 with 1 specific WAN IP

default http://1.2.3.4:80 http://127.0.0.1:80 no 200 no No

@ghost
Copy link
Author

ghost commented May 27, 2022

hi,
2022/05/27 12:52:45 [notice] 218553#218553: signal process started
2022/05/27 12:52:45 [error] 218553#218553: open() "/var/run/vddos.pid" failed (2: No such file or directory)
2022/05/27 12:52:48 [emerg] 218556#218556: bind() to 178.170.40.99:443 failed (98: Address already in use)
2022/05/27 12:52:48 [emerg] 218556#218556: bind() to 178.170.40.99:80 failed (98: Address already in use)
2022/05/27 12:52:48 [emerg] 218556#218556: bind() to 178.170.40.99:443 failed (98: Address already in use)
2022/05/27 12:52:48 [emerg] 218556#218556: bind() to 178.170.40.99:80 failed (98: Address already in use)
2022/05/27 12:52:48 [emerg] 218556#218556: bind() to 178.170.40.99:443 failed (98: Address already in use)
2022/05/27 12:52:48 [emerg] 218556#218556: bind() to 178.170.40.99:80 failed (98: Address already in use)
2022/05/27 12:52:48 [emerg] 218556#218556: bind() to 178.170.40.99:443 failed (98: Address already in use)
2022/05/27 12:52:48 [emerg] 218556#218556: bind() to 178.170.40.99:80 failed (98: Address already in use)
2022/05/27 12:52:48 [emerg] 218556#218556: bind() to 178.170.40.99:443 failed (98: Address already in use)
2022/05/27 12:52:48 [emerg] 218556#218556: bind() to 178.170.40.99:80 failed (98: Address already in use)
2022/05/27 12:52:48 [emerg] 218556#218556: still could not bind()
I use nginx on 80 and 443 don't really understand why is trying to bind on tose.

@duy13
Copy link
Owner

duy13 commented May 27, 2022

change port your nginx to other port and use vddos proxy to them

https://www.youtube.com/playlist?list=PL16uFXhfbHsQqen5Zm6MxTOLpjnyTdpG9

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

1 participant