How to use ncat or socat to map the remote port to local server
Introduction
ncat和socat都是linux的網路工具
這次主題要達成的目標用這兩個都能達成
他們可以做到: 只要是能夠訪問到的port都可以把它映射到本機的port上
寫這篇也是要介紹之前寫reverse proxy的文章的額外補充
那篇是以frp做到內網穿透,而另一個方法是結合ncat和zerotier達到相同效果
目標都是把遠端的port映射到本機的port