Download source code
#for centos or fedora sudo yum -y install golang export GOPATH=path/to/your/gopath #for mac brew install golang export GOPATH=path/to/your/gopath #download source code go get github.com/wjybluse/fproxy #compile mv $GOPATH/src/github.com/wjybluse $GOPATH/src/github.com/elians cp $GOPATH/src/github.com/elians/build/build.sh $GOPATH sh ./build.sh
Download binary
wget https://github.com/wjybluse/fproxy/tree/master/binary/fproxy_<linux/mac>.tar.gz
Change local config file and server config file Example
//server {
"name":"vps1",
"host":"0.0.0.0",
"port":5000,
"password":"123456",
"timeout":5,
"encrypt":"base64",
"protocol":"socks5",
"is_ssl":true,
"is_compress":true
}
//local config { "servers":[ { "name":"vps1", "host":"127.0.0.1", "port":5000, "password":"123456", "timeout":5, "encrypt":"base64", "protocol":"socks5", "is_ssl":true, "is_compress":true } ], "local":"127.0.0.1", "local_port":6000 , "protocol":"http", "auth":false, "proxy_username":"", "proxy_password":"" }
//config white list facebook google twitter youtube wikipedia blogspot wordpress flickr rapidshare orkut imageshack instagram akamaihd fbcdn netflix hulu twimg google-analytics
1.Start service
nohup ./local & >fproxy.log 2>&12.Stop service
#for mac lsof -i :<your_local_port or server_port> kill -9 <pid> #for linux ps -ef|grep local/server kill -9 <pid>