From 36d4f908bef8e165dd98ec22701f386585cddf67 Mon Sep 17 00:00:00 2001 From: fangdingjun Date: Mon, 5 Dec 2016 16:05:55 +0800 Subject: [PATCH] update README --- obfssh_client/README.md | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/obfssh_client/README.md b/obfssh_client/README.md index 95d7d5e..cff616b 100644 --- a/obfssh_client/README.md +++ b/obfssh_client/README.md @@ -11,13 +11,13 @@ run server go get github.com/fangdingjun/obfssh/obfssh_server - cp $GOPATH/src/github.com/fangdingjun/obfssh/obfssh_server/config_example.yaml config.yaml + cp $GOPATH/src/github.com/fangdingjun/obfssh/obfssh_server/config_example.yaml server_config.yaml - vim config.yaml + vim server_config.yaml ssh-keygen -f ssh_host_rsa_key -t rsa - $GOPATH/bin/obfssh_server -c config.yaml + $GOPATH/bin/obfssh_server -c server_config.yaml run client @@ -25,5 +25,11 @@ run client go get github.com/fangdingjun/obfssh/obfssh_client $GOPATH/bin/obfssh_client -N -D :1234 -obfs_key some_keyworld -obfs_method rc4 -p 2022 -l user2 -pw user2 localhost + +or + + cp $GOPATH/src/github.com/fangdingjun/obfssh/obfssh_client/config_example.yaml client_config.yaml + + vim client_config.yaml - this will create a socks proxy on :1234 + $GOPATH/bin/obfssh_client -f client_config.yaml