Skip to content

wjybluse/fproxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FPrxoy

1.Download

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

2.Configuration

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

3.Enjoy it

1.Start service

 nohup ./local & >fproxy.log 2>&1

2.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>	

4.Example

1.Youtube Youtube 2.Twitter and Facebook Twitter

Facebook

3.Baidu badu.com

About

Simple proxy

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published