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.
Before compile xfrp, please install
json-c in your system.
git clone https://github.com/KunTengRom/xfrp.git cd xfrp cmake . make
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
Configure ftp in frpc.ini
[common] server_addr = 220.127.116.11 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.
-p (PASV Mode) of
ftp command to connect to proxy ftp server:
ftp -p 18.104.22.168 30621
See CONTRIBUTING for details on submitting patches and the contribution workflow.
QQ群 ： 331230369