linux运维

https://jia.je
列出其中的文章如下:
1)搭建 FTP server behind NAT https://jia.je/networking/2018/05/08/ftp-behind-nat/ 涉及pyftpdlib
2)使用 iptables 和策略路由进行带源地址的 forwarding https://jia.je/networking/2018/05/06/nat-forwarding-with-src-address/ 涉及socat的使用

①、其中所有的相关配置都在nat router上进行操作,nat router上应该存在多个网关,默认的网关(网关1)应该比从外网(网关2) 2222端口 要高。
②、内部的出问题的服务器(client 1)的默认网关应该是网关2。
③、
其他外网上pc可以通过网关2的ssh 2222端口来访问client1 ;此时nat router记录登陆client 1 ssh 2222端口服务源地址的是外部的公网地址。
内部的机器(和client1同一个内网网段)即可以通过外网的方式(通过网关2的外网ip的 2222端口)来访问client1 通过socat来转移了
也可以直接通过client 1的内网地址的22端口来访问。
3)

https://www.haiyun.me

https://blog.clanzx.net/software/supervisor.html 其中有superivisor等等的使用方法

https://www.dwhd.org/category/router-sw/routeos/

posted @ 2020-10-27 22:05  helloweifa  阅读(85)  评论(0)    收藏  举报