twitchyliquid64 / subnet

Simple, auditable & elegant VPN, built with TLS mutual authentication and TUN.
MIT License
1.06k stars 79 forks source link

Can subnet client run on windows? #12

Closed Jindom closed 5 years ago

Jindom commented 5 years ago

Try to run the subnet client run on the windows. I have installed golang and git on windows. with the following command: set GOPATH=C:\Users\37406 go get -u github.com/twitchyliquid64/subnet

there goes the error message:

github.com/twitchyliquid64/subnet/subnet

src\github.com\twitchyliquid64\subnet\subnet\client.go:111:12: undefined: SetDevIP src\github.com\twitchyliquid64\subnet\subnet\client.go:118:29: undefined: GetNetGateway src\github.com\twitchyliquid64\subnet\subnet\client.go:126:13: undefined: AddRoute src\github.com\twitchyliquid64\subnet\subnet\client.go:143:10: undefined: SetDefaultGateway src\github.com\twitchyliquid64\subnet\subnet\client.go:150:9: undefined: SetInterfaceStatus src\github.com\twitchyliquid64\subnet\subnet\reverser.go:48:8: undefined: DelRoute src\github.com\twitchyliquid64\subnet\subnet\server.go:79:11: undefined: SetDevIP

Did i miss something or the subnet client does not design to run on windows?

twitchyliquid64 commented 5 years ago

Subnet is not supported on windows unfortunately.