Closed ghost closed 2 years ago
Have you changed the system's DNS or server in dnsmasq configuration to this DNS service? Linux requires change the DNS servers by yourself
I have done it according to your suggestion, but it happens with error like this and exits.
sudo ./phantomsocks -device wlan0 -dns 8.8.8.8:53 -vaddrprefix 6 -redir 0.0.0.0:6 -log 5
method=w-ack,w-time,w-md5
server=udp://8.8.8.8:53
ttl=15
method=ttl,w-ack,w-time,w-md5,w-seq,s-seg,https
method=ttl,w-ack,w-time,w-md5,w-seq,s-seg,https
method=ttl,mode2,https
default.conf
Redirect: 0.0.0.0:6
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0x649d3d]
goroutine 18 [running]:
github.com/macronut/phantomsocks/phantomtcp.RedirectProxy({0x7570e8?, 0xc00009e008?})
/home/gan/Documents/phantomsocks/phantomtcp/proxy.go:436 +0x13d
created by main.ListenAndServe
/home/gan/Documents/phantomsocks/main.go:58 +0x9b
~/Documents/phantomsocks master !3 ?3 ❯
The code you are using is obsolete and it is not convenient to locate the problem.
I followed your steps, but it seems can't access, do I need to do anything else? the following is my configure and detailed process.the platform is ArchLinux.