kingToolbox / kingToolbox/WindTerm

port forwarding support bind 127.x.x.x

Open
#741 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
32.3k
Forks
2.5k
PR merge metrics
No merged PRs in 30d

Description

https://kingtoolbox.github.io/2020/07/21/port_forwarding/

Direct/Local port forwarding

listen port only support port now.

user.sessions:
ssh.tunnels like '192.168.100.100:22-10022:Local(localhost),10022,192.168.100.100:22;'

that will bind local port 10022 forward 192.168.100.100:22

can you support bind 127.168.100.100:22 forward 192.168.100.100:22 ?

i modify user.sessions not working, like:

127.168.100.100:22-22:Local(127.168.100.100),22,192.168.100.100:22;

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the requested direct/local port forwarding with the shown user.sessions syntax and compare it with the working localhost example. Trace the port-forwarding entry point to determine where the local bind address is parsed and applied. Done means a forwarding rule can bind to 127.168.100.100 while forwarding to 192.168.100.100:22.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
networking
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.