Drop connections from banned countries #424
-
Hello, First of all: Thank you for your work tobychui! Is there a way I can drop traffic from the banned countries instead of rejecting it / blocking access? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
@TomOdellSheetMusic Zoraxy works on top of http. When the proxy resolved the country code for the request, it has already accepted the connection. Replying a few (kilo) bytes for showing the access denied page isn't that much different in load compare to directly closing the request. You should use tools that handle lower network layer like iptable you mentioned to achieve what you need is closing TCP connection directly. |
Beta Was this translation helpful? Give feedback.
@TomOdellSheetMusic Zoraxy works on top of http. When the proxy resolved the country code for the request, it has already accepted the connection. Replying a few (kilo) bytes for showing the access denied page isn't that much different in load compare to directly closing the request.
You should use tools that handle lower network layer like iptable you mentioned to achieve what you need is closing TCP connection directly.