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

FreeBSD port .. cannot use dns? #1011

Open
bcookatpcsd opened this issue Feb 7, 2024 · 1 comment
Open

FreeBSD port .. cannot use dns? #1011

bcookatpcsd opened this issue Feb 7, 2024 · 1 comment

Comments

@bcookatpcsd
Copy link

# ./gost-freebsd-amd64-2.11.5 -L=http://10.20.245.10:3127
2024/02/07 13:48:42 route.go:695: http://10.20.245.10:3127 on 10.20.245.10:3127
^C
# ./gost-freebsd-amd64-2.11.5 -L=10.20.245.10:3127
2024/02/07 13:48:46 route.go:695: auto://10.20.245.10:3127 on 10.20.245.10:3127
^C
 # drill www.google.com @10.20.48.247
;; ->>HEADER<<- opcode: QUERY, rcode: NOERROR, id: 36690
;; flags: qr rd ra ; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;; www.google.com.      IN      A

;; ANSWER SECTION:
www.google.com. 300     IN      A       216.239.38.120

;; AUTHORITY SECTION:

;; ADDITIONAL SECTION:

;; Query time: 0 msec
;; SERVER: 10.20.48.247
;; WHEN: Wed Feb  7 13:49:17 2024
;; MSG SIZE  rcvd: 48
# ./gost-freebsd-amd64-2.11.5 -L=10.20.245.10:3127?dns=172.16.48.247
./gost-freebsd-amd64-2.11.5: No match.
# ./gost-freebsd-amd64-2.11.5 -L=10.20.245.10:3127?dns=172.16.48.247:53
./gost-freebsd-amd64-2.11.5: No match.
# ./gost-freebsd-amd64-2.11.5 -L=10.20.245.10:3127?dns=172.16.48.247:53/udp
./gost-freebsd-amd64-2.11.5: No match.
@bcookatpcsd
Copy link
Author

https://gost.run/en/reference/configuration/cmd/

Handle special characters in command line scheme

Zsh in macOS does not support ? and &, you have to use "" to quote them,otherwise you'll get warnings in Terminal: "zsh: no matches found: ..."。

./gost-freebsd-amd64-2.11.5 -L "http://10.20.245.10:3128?dns=172.16.48.247"

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