Comments (7)
Ok, @tobychui i reboot the virtual machine and it's ok now (no config modify) strange :(
from zoraxy.
@barto95100 Just to make sure you setup everything correctly, you have enabled TCP port forward / mapping thing in docker right? Have you click "Refresh" to check if your service is actually running and not exited after running for a few seconds?Can I have your docker config and your wireshark capture?
Updates
After some testing the TCP proxy function indeed working and issue above cannot be reproduced. Check your docker networking config and seek for professional IT support if needed.
from zoraxy.
@tobychui this is my config docker:
version: '3.3'
services:
zoraxy-docker:
image: zoraxydocker/zoraxy:latest
container_name: zoraxy
ports:
- 80:80
- 443:443
- 25:25
#- 8008:8000/tcp
volumes:
- /home/docker/zoraxy:/opt/zoraxy/config/
environment:
ARGS: '-fastgeoip=true'
the tcpdump: (zoraxy host)
10:09:31.824616 IP 209.85.128.179.54692 > 192.168.99.10.25: Flags [S], seq 1479559046, win 64240, options [mss 1460,sackOK,TS val 3894682929 ecr 0,nop,wscale 7], length 0
10:09:31.824766 IP 192.168.99.10.25 > 209.85.128.179.54692: Flags [R.], seq 0, ack 1479559047, win 0, length 0
^C
2 packets captured
2 packets received by filter
0 packets dropped by kernel
and i check i check the service, is started:
from zoraxy.
@barto95100 Have you try to change the listening address to your docker container WAN address instead?
Sorry I am not experience in docker, but when I test Zoraxy outside of docker it works perfectly fine. If you need further help, you can tag PassiveLemon and ask for some new ideas.
from zoraxy.
I don't understand:
Have you try to change the listening address to your docker container WAN address instead?
My container zoraxy have 172.23.0.2
this is the tcpdump on interface network used by zoraxy on docker network:
tcpdump -i br-5ea7e450a6d3 port 25
tcpdump: verbose output suppressed, use -v[v]... for full protocol decode
listening on br-5ea7e450a6d3, link-type EN10MB (Ethernet), snapshot length 262144 bytes
15:15:41.046509 IP mail-wm1-f51.google.com.42474 > 172.23.0.2.smtp: Flags [S], seq 857561589, win 64240, options [mss 1460,sackOK,TS val 421145845 ecr 0,nop,wscale 7], length 0
15:15:41.046559 IP 172.23.0.2.smtp > mail-wm1-f51.google.com.42474: Flags [R.], seq 0, ack 857561590, win 0, length 0
^C
2 packets captured
2 packets received by filter
0 packets dropped by kernel
I don't know why the zoraxy dont forward the packet..
Log possible in specify file in container ?
@PassiveLemon maybe idea ?
thank's
from zoraxy.
Maybe I can give a bit of context on how that listening address works.
This is the code that parse the listening address before it enters the TCP / UDP connection copy go routines
listenerStartingAddr := allowPort
if isValidPort(allowPort) {
//number only, e.g. 8080
listenerStartingAddr = "0.0.0.0:" + allowPort
} else if strings.HasPrefix(allowPort, ":") && isValidPort(allowPort[1:]) {
//port number starting with :, e.g. :8080
listenerStartingAddr = "0.0.0.0" + allowPort
}
So if you are only filling in :port
, then it defaults to 0.0.0.0:port
. I am not sure if docker don't like it or not and causes the above issues.
from zoraxy.
Uhhh ok, please close this if your problem has been resolved.
from zoraxy.
Related Issues (20)
- [HELP] How do I proxy a single location? HOT 3
- Reverse Proxy internal domain to another external port HOT 8
- Getting TLS Handshake Error When Accessing the Proxy Host [HELP] HOT 2
- [ENHANCEMENTS] Add Strato dns challenge HOT 1
- [ENHANCEMENTS] Cluster capability? HOT 3
- [ENHANCEMENTS] Add Rate Limits and Bandwidth Limits to Zoraxy HOT 14
- Reverse proxy appears 404[HELP] HOT 6
- [BUG] Headscale does not seem to work with Zoraxy HOT 2
- [BUG] letsencrypt too many registrations for this ip HOT 7
- [ENHANCEMENTS] ACL add multi range ip one step
- [BUG] Unable to keep activation state for Redirect - Regular Expression HOT 2
- Network Status Graphs don't render [HELP] HOT 4
- [ENHANCEMENTS] Statistic how often each proxy host/site has been requested HOT 2
- [HELP] Proxy destination does not seem to change when edited HOT 2
- [HELP] certificat ssl on stream proxy HOT 1
- [BUG] ACL on standalone installation (no docker) HOT 1
- [ENHANCEMENTS] Disable X-Real-IP HOT 1
- [HELP] Multiple ARGS in docker-compose.yml not working HOT 7
- [HELP] Jellyfin Android TV won't connect HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zoraxy.