Coder Social home page Coder Social logo

xfrp-1's Introduction

xfrp

Build Status license Supported PRs Welcome Issue Welcome OpenWRT

What is xfrp and why start xfrp

xfrp is xfrps client implemented by c for OpenWRT and LEDE system

The motivation to start xfrp project is that we are OpenWRTer, and openwrt usually ran in device which has little ROM and RAM space, however golang always need more space and memory; therefore we start xfrp project.

Compile

xfrp need libevent openssl-dev and json-c support

Before compile xfrp, please install libevent openssl-dev and json-c in your system.

git clone https://github.com/cooboyno111/xfrp.git
cd xfrp
cmake .
make

Quick start

before using xfrp, you should have built the proxy server: xfrps, It's no difference with frp at usage, but support FTP and more embedded-client-friendly for linux.

Run in debug mode :

xfrpc -c frpc_mini.ini -f -d 7 

Run in release mode :

xfrpc -c frpc_mini.ini -d 0

FTP support

xfrp support ftp proxy after version 0.07.451. Hypothesize you have built xfrps succeed!

Configure ftp in frpc.ini

[common]
server_addr = 111.112.113.114
server_port = 7001

[router_ftp_example]
type = ftp
local_port = 21
remote_port = 30621
remote_data_port = 30622

remote_port is the reporxy port of FTP command tunnel, and remote_data_port is FTP-DATA port reporxy.

Use -p (PASV Mode) of ftp command to connect to proxy ftp server:

ftp -p 111.112.113.114 30621

In Master version server_addr can use domain name intead of IP address in FTP proxy. Issue #4 and Issue #5.


Todo list

  • support compression
  • support encrypt

How to contribute our project

See CONTRIBUTING for details on submitting patches and the contribution workflow.

Contact

QQ群 : 331230369

Please support us and star our project

xfrp-1's People

Contributors

cooboyno111 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.