mirror of
https://github.com/xor-gate/go-socks5-ssh-proxy
synced 2026-03-23 06:16:35 +01:00
Initial working version
This commit is contained in:
16
config_template.go
Normal file
16
config_template.go
Normal file
@ -0,0 +1,16 @@
|
||||
//go:build !release
|
||||
// +build !release
|
||||
package main
|
||||
|
||||
import "strings"
|
||||
|
||||
var cfg config = config{
|
||||
SSHServerUserName: "username",
|
||||
SSHPrivateKeyFile: "path/to/id_ecdsa",
|
||||
SSHServerURL: "myhost.org:22",
|
||||
SOCKS5ListenPort: 13376,
|
||||
SSHVerifyValidSSHFP: false,
|
||||
DNSServersResolvConf: strings.NewReader(`nameserver 8.8.8.8
|
||||
nameserver 8.8.4.4
|
||||
`),
|
||||
}
|
||||
Reference in New Issue
Block a user