go-softether is a minimal proof of concept(poc) SoftEther macOS client written in Golang. It is a minimal client since,
clone the repository
git clone https://github.com/march1993/go-softether.git
copy the magic feth golang api to goroot
make darwin_hack
# make darwin_unhack
or you can do it yourself
ln -s `pwd`/hack/darwin_syscall/syscall_darwin_hack.go $(GOROOT)/src/syscall
make yourself a configuration file
cd cmd/vpnclient
cp config.example.json config.json
cmd/genpwdhash
false
5e
(SE) as the prefixrun
go build .
sudo ./vpnclient
If you encounter problem related with SSL communication, please try add the following line in session.go
,
s.WTFWriteRaw([]byte{0, 1, 2, 3, 4})
I don't why I need it to operate on my machine, maybe it is openssl version related since there is no problem when I build softether on my own debian machine with openssl 1.1.1.