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] My friend cant access my server even tho i have added his ip to the access controll #558

Open
Zekhap opened this issue Feb 25, 2025 · 3 comments
Labels
help wanted Extra attention is needed inbound networking issue Issues related to network or routing before it reaches Zoraxy

Comments

@Zekhap
Copy link

Zekhap commented Feb 25, 2025

Describe the bug
I added my friend to the access control whitelist ip, but when he tries to connect he gets 403 - Forbidden.
But the funny thing i added my ip also and are able to access that page.
So what i would like is a log of people trying to access my pages (like how i can in ngnix)
then i would be able to see what ip that person is trying to connect with.

Portainer Docker: Yes
Zoraxy version: 3.1.6

I have no clue under

Host Environment (please complete following information, DO NOT REMOVE ANY FIELD(S)):

  • Arch:
  • Device: [e.g. Bananapi R2 PRO]
  • OS: [e.g. Armbian]
  • Version [e.g. 23.02 Bullseye ]
  • Are you using Docker? yes
  • Docker Version (fill in "N/A" for native deployment): [e.g. 3.0.4]
@Zekhap Zekhap added the bug Something isn't working label Feb 25, 2025
@tobychui tobychui added help wanted Extra attention is needed inbound networking issue Issues related to network or routing before it reaches Zoraxy and removed bug Something isn't working labels Feb 25, 2025
@tobychui
Copy link
Owner

Hey @Zekhap ,

You can first disable whitelist, ask you friend to connect over and see what IP shows up in the quick ban list / log file. Then you proceed to add the shown ip to your whitelist.

There might be a lot of reasons which might have caused this issue, including incorrect setup of inbound network route (do you got something in between Zoraxy and the internet?) or your friend's IP changed or he is accessing through a proxy of some sort. Sometime ISP might provide floating IP for your friend and in which case you should whitelist the whole block of IPs (e.g. a.b.c.*) to cope with that.

@tobychui tobychui changed the title [BUG] My friend cant access my server even tho i have added his ip to the access controll [HELP] My friend cant access my server even tho i have added his ip to the access controll Feb 25, 2025
@Zekhap
Copy link
Author

Zekhap commented Feb 26, 2025

I do have ha proxy before it hits my server where zoraxy is. I do not have access to haproxy. But my IP works and not my friend. I tried to remove my IP and then i get 403(as it should)

Ok I will try that quickban idea.
But more logs would be nice for the future
Should include path, ip. Prob some more but idk right now.

@Zekhap
Copy link
Author

Zekhap commented Feb 26, 2025

@tobychui Okay, for some reason i dont even get anything in the quickban.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed inbound networking issue Issues related to network or routing before it reaches Zoraxy
Projects
None yet
Development

No branches or pull requests

2 participants