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

3proxy host not found or connection failed #963

Open
publittos opened this issue Jul 25, 2023 · 5 comments
Open

3proxy host not found or connection failed #963

publittos opened this issue Jul 25, 2023 · 5 comments
Labels

Comments

@publittos
Copy link

3proxy 0.9.3 стоит на Win7 32 как служба.
комп win7 - ip 192.168.88.233
модем e3372 - ip 192.168.8.100(шлюз 192.168.8.1)
правила в фаервол добавлены
запрос по http - 502 Bad Gateway Host Not Found or connection failed
запрос по https - Unable to connect An error occurred during a connection to google.com
при обращении на 192.168.8.1 открывается админка модема.

@z3APA3A
Copy link
Collaborator

z3APA3A commented Jul 25, 2023

А что в логах?
https://3proxy.ru/howtor.asp

@publittos
Copy link
Author

1690268654.211 PROXY.8851 00000 - 192.168.88.223:50814 192.168.8.1:80 488 1448 0 GET http://192.168.8.1/api/monitoring/status HTTP/1.1
1690268654.241 PROXY.8851 00000 - 192.168.88.223:50814 192.168.8.1:80 501 531 0 GET http://192.168.8.1/api/monitoring/check-notifications HTTP/1.1
1690268654.281 PROXY.8851 00000 - 192.168.88.223:50814 192.168.8.1:80 500 777 0 GET http://192.168.8.1/api/monitoring/traffic-statistics HTTP/1.1
1690268654.281 PROXY.8851 00000 - 192.168.88.223:50816 192.168.8.1:80 495 435 0 GET http://192.168.8.1/api/dialup/mobile-dataswitch HTTP/1.1
1690268654.311 PROXY.8851 00000 - 192.168.88.223:50814 192.168.8.1:80 500 777 0 GET http://192.168.8.1/api/monitoring/traffic-statistics HTTP/1.1
1690268654.451 PROXY.8851 00000 - 192.168.88.223:50816 192.168.8.1:80 487 538 0 GET http://192.168.8.1/api/net/current-plmn HTTP/1.1
1690268657.201 PROXY.8851 00000 - 192.168.88.223:50814 192.168.8.1:80 488 1448 0 GET http://192.168.8.1/api/monitoring/status HTTP/1.1
1690268657.231 PROXY.8851 00000 - 192.168.88.223:50814 192.168.8.1:80 501 531 0 GET http://192.168.8.1/api/monitoring/check-notifications HTTP/1.1
1690268657.261 PROXY.8851 00000 - 192.168.88.223:50816 192.168.8.1:80 495 435 0 GET http://192.168.8.1/api/dialup/mobile-dataswitch HTTP/1.1
1690268657.261 PROXY.8851 00000 - 192.168.88.223:50814 192.168.8.1:80 500 777 0 GET http://192.168.8.1/api/monitoring/traffic-statistics HTTP/1.1
1690268657.301 PROXY.8851 00000 - 192.168.88.223:50814 192.168.8.1:80 500 777 0 GET http://192.168.8.1/api/monitoring/traffic-statistics HTTP/1.1
1690268657.421 PROXY.8851 00000 - 192.168.88.223:50816 192.168.8.1:80 487 538 0 GET http://192.168.8.1/api/net/current-plmn HTTP/1.1
1690268660.291 PROXY.8851 00000 - 192.168.88.223:50814 192.168.8.1:80 498 518 0 GET http://192.168.8.1/api/monitoring/converged-status HTTP/1.1
1690268661.191 PROXY.8851 00000 - 192.168.88.223:50814 192.168.8.1:80 488 1448 0 GET http://192.168.8.1/api/monitoring/status HTTP/1.1
1690268661.231 PROXY.8851 00000 - 192.168.88.223:50814 192.168.8.1:80 501 531 0 GET http://192.168.8.1/api/monitoring/check-notifications HTTP/1.1
1690268661.261 PROXY.8851 00000 - 192.168.88.223:50816 192.168.8.1:80 495 435 0 GET http://192.168.8.1/api/dialup/mobile-dataswitch HTTP/1.1
1690268661.261 PROXY.8851 00000 - 192.168.88.223:50814 192.168.8.1:80 500 777 0 GET http://192.168.8.1/api/monitoring/traffic-statistics HTTP/1.1
1690268661.351 PROXY.8851 00000 - 192.168.88.223:50814 192.168.8.1:80 500 777 0 GET http://192.168.8.1/api/monitoring/traffic-statistics HTTP/1.1
1690268661.481 PROXY.8851 00000 - 192.168.88.223:50816 192.168.8.1:80 487 538 0 GET http://192.168.8.1/api/net/current-plmn HTTP/1.1
1690268664.211 PROXY.8851 00000 - 192.168.88.223:50814 192.168.8.1:80 488 1448 0 GET http://192.168.8.1/api/monitoring/status HTTP/1.1
1690268664.251 PROXY.8851 00000 - 192.168.88.223:50814 192.168.8.1:80 501 531 0 GET http://192.168.8.1/api/monitoring/check-notifications HTTP/1.1
1690268664.281 PROXY.8851 00000 - 192.168.88.223:50816 192.168.8.1:80 495 435 0 GET http://192.168.8.1/api/dialup/mobile-dataswitch HTTP/1.1
1690268664.281 PROXY.8851 00000 - 192.168.88.223:50814 192.168.8.1:80 500 777 0 GET http://192.168.8.1/api/monitoring/traffic-statistics HTTP/1.1
1690268664.341 PROXY.8851 00000 - 192.168.88.223:50814 192.168.8.1:80 500 777 0 GET http://192.168.8.1/api/monitoring/traffic-statistics HTTP/1.1
1690268664.471 PROXY.8851 00000 - 192.168.88.223:50816 192.168.8.1:80 487 538 0 GET http://192.168.8.1/api/net/current-plmn HTTP/1.1
1690268667.211 PROXY.8851 00000 - 192.168.88.223:50814 192.168.8.1:80 488 1448 0 GET http://192.168.8.1/api/monitoring/status HTTP/1.1
1690268667.241 PROXY.8851 00000 - 192.168.88.223:50814 192.168.8.1:80 501 531 0 GET http://192.168.8.1/api/monitoring/check-notifications HTTP/1.1
1690268667.271 PROXY.8851 00000 - 192.168.88.223:50816 192.168.8.1:80 495 435 0 GET http://192.168.8.1/api/dialup/mobile-dataswitch HTTP/1.1
1690268667.271 PROXY.8851 00000 - 192.168.88.223:50814 192.168.8.1:80 500 777 0 GET http://192.168.8.1/api/monitoring/traffic-statistics

@publittos
Copy link
Author

когфиг

monitor D:\3proxy\bin\3proxy.txt

log c:\3proxy\logs\3proxy.log D
logformat "L%t.%. %N.%p %E %U %C:%c %R:%r %O %I %h %T"
timeouts 1 5 30 60 180 1800 15 60
proxy -n -a -p8851 -i192.168.88.223 -e192.168.8.100
flush

@z3APA3A
Copy link
Collaborator

z3APA3A commented Jul 25, 2023

По этим логам у тебя все в порядке, но в них у тебя только доступ на 192.168.8.1, ищи логи по проблемным запросам

@IAISI
Copy link

IAISI commented Jul 28, 2023

когфиг

monitor D:\3proxy\bin\3proxy.txt

log c:\3proxy\logs\3proxy.log D logformat "L%t.%. %N.%p %E %U %C:%c %R:%r %O %I %h %T" timeouts 1 5 30 60 180 1800 15 60 proxy -n -a -p8851 -i192.168.88.223 -e192.168.8.100 flush

That is if you have only one huawei modem, 2 or more you need proper routes and probably use interfaces...

If you're jsut using php/curl to make 192.168.8.100 requests you're better of just setting interface as param, ie curl --interface eth0 to access 192.168.8.100 on modem interface, etc

If you're trying to proxy modem interface then... well I'd probably still use interfaces instead of IPs, tho ubuntu can change them if you bring up/down modems so you gotta keep track of that too and update 3proxy configs...

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

No branches or pull requests

3 participants