Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

端口转发工具 #24

Open
cutepig123 opened this issue May 17, 2023 · 5 comments
Open

端口转发工具 #24

cutepig123 opened this issue May 17, 2023 · 5 comments

Comments

@cutepig123
Copy link
Owner

cutepig123 commented May 17, 2023

端口转发工具

要求

  • 根据客户端协议类型,动态转发到不同地址
    • rdp
    • socks
    • 可配置
  • 高性能
  • 尽可能小

我的用法

  • 服务端只能被访问某一端口,假设为ports
  • 但我需要对服务端做一下事情
    • 远程调试
    • vnc
    • 双向拷贝资料,ssh?http??

设置流程

  • 服务端,假设ip为ips,端口为ports
    • 打开端口转发工具xxx?
    • [for 远程调试] 打开vs remote debug sever,关闭认证
    • [for vnc] 打开 vnc server
    • [for vnc] 打开 jsocks, or ??
    • [for copy data] ??
  • 客户端
    • [for 远程调试] 打开 vs,设置debug的地址为ips:ports
    • [for vnc] 打开vnc,设置代理

Ref

文章

@cutepig123
Copy link
Owner Author

ssr一句话安装
参考https://xtrojan.org/bgfw/shadowsocksr/step-by-step-to-build-shadowlocksr-ssr-server-graphic-tutorial.html
wget -N –no-check-certificate https://raw.githubusercontent.com/ToyoDAdoubi/doubi/master/ssr.sh && chmod +x ssr.sh && bash ssr.sh

@cutepig123
Copy link
Owner Author

@cutepig123
Copy link
Owner Author

https://bobqu.cyou/2021/12/03/56.html
Shadowsocks-rust 一键安装
wget -O ss-rust.sh --no-check-certificate https://git.io/Shadowsocks-Rust.sh && chmod +x ss-rust.sh && ./ss-rust.sh

@cutepig123
Copy link
Owner Author

linux is there a tui program that can show list pf commands and let me choose to execute
Install Midnight Commander by running the following command:

sudo apt update
sudo apt install mc

@cutepig123
Copy link
Owner Author

python version manager
https://docs.anaconda.com/free/miniconda/index.html
download and install
nano ~/.bashrc
export PATH="/home/admin/miniconda3/bin:$PATH"
source ~/.bashrc
echo $PATH

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant