Skip to content

Using tinyPortMapper to implement a reverse proxy based on DDNS+IPv6.

Notifications You must be signed in to change notification settings

deadlinefen/tinyPortMapper-manager-ipv6

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tinyPortMapper-manager

English

使用tinyPortMapper来实现基于DDNS+IPv6的反向代理。

tinyPortMapper-manager主要负责以下内容:

  1. 对域名进行解析并监控IPv6地址的变化。
  2. 根据配置文件中的任务信息批量启动与监控tinyPortManager进程。

为什么使用tinyPortMapper?

因为易用又可靠,比如我在使用socat配置幻兽帕鲁的ipv6到ipv4的映射时就始终没有成功: (,但是使用tinyPortMapper时就没有这个问题。

编译与使用

本项目使用make进行编译,通过指定config.toml配置文件来运行。

编译

go mod tidy
make manager

以上指令会在 build/bin下生成可执行文件 pmmanager

注:当前版本可能由于没有正确使用miekg/dns库的缘故,在编译时会比较慢,请耐心等待,但该问题不会影响使用性能。

使用

  1. 下载或编译tinyPortMapper
  2. 填写配置文件config.toml,详见模板说明
  3. 使用以下命令行启动tinyPortMapper-manager:
/path/to/pmmanager -c /path/to/config/config.toml

About

Using tinyPortMapper to implement a reverse proxy based on DDNS+IPv6.

Resources

Stars

Watchers

Forks

Packages

No packages published