Skip to content

VitaliySh/freesub

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

freesub

The aim of this project is to provide a simple stdin/stdout to/from tcp forwarding tool. The main use case is to "proxy" the data through SSH and the target daemon via SSH subsystem.

Installation

Prerequisites

Because of OpenWrt origins we are using libubox - a small utility library developed for OpenWrt containing a event loop, linked lists, blobmsg, stream buffer management, and other. The sources can be found here.

Installation

For most users it will be much easier to use already made packages. At the moment packages can be found for OpenWrt and Arch.

freesub can also be easily compiled and installed from source:

cmake CMakeLists.txt DCMAKE_INSTALL_PREFIX=/usr
make
sudo make install

Configuration

In case you are using freesub for OpenSSH managed NETCONF subsystem and want to use freenetconfd NETCONF server make sure that you add the following to your /etc/ssh/sshd_config:

Subsystem netconf /usr/bin/freesub -H 127.0.0.1 -P 1831

You can also make symbolic link called netconf:

sudo ln -s /usr/bin/freesub /usr/bin/netconf

After that this will work as well:

Subsystem netconf /usr/bin/netconf

Releases

No releases published

Packages

No packages published

Languages

  • C 77.2%
  • CMake 22.8%