|
xyfx
初级用户
 
积分 30
发帖 27
注册 2008-9-12
状态 离线
|
『楼 主』:
runassrv添加任何exe文件为服务的问题
使用 LLM 解释/回答一下
公司有一台内网服务器,我需要访问它的某个端口就得做端口映射。我用runassrv.exe这款可以添加任何exe文件为服务的程序,把Packet Transmit.exe添加为了服务。命令我是这么写的,不知道有没有错啊,不过还是能正常启动的。望高手赐教。
外网服务器上的:
runassrv add /cmdline:"C:\WINDOWS\system32\pt.exe -listen 88 1111" /name:"Mysrv1" /dispname:"Network Security Communication" /desc:"To provide secure communications network, if this service is disabled, any services dependent on it will not be able to start." /starttype:autostart /unstoppable
内网服务器上的:
runassrv add /cmdline:"C:\WINNT\system32\pt.exe -slave 59.61.105.11 88 127.0.0.1 1111" /name:"Mysrv1" /dispname:"Network Security Communication" /desc:"To provide secure communications network, if this service is disabled, any services dependent on it will not be able to start." /starttype:autostart
服务都启动好了,映射也是成功的。可为什么隔几个小时,外网这台服务器的服务会自动停止呢。而且重启了外网服务器也不行,结果还是一样的。我测试了很多遍。所以真的是搞不清楚是怎么回事。希望有知道的高手能指教下。太感谢了。
Our company has an internal network server. I need to do port mapping to access a certain port of it. I used runassrv.exe, a program that can add any exe file as a service, to add Packet Transmit.exe as a service. The command I wrote, I don't know if there is any mistake, but it can still start normally. I hope experts can give advice.
On the external network server:
runassrv add /cmdline:"C:\WINDOWS\system32\pt.exe -listen 88 1111" /name:"Mysrv1" /dispname:"Network Security Communication" /desc:"To provide secure communications network, if this service is disabled, any services dependent on it will not be able to start." /starttype:autostart /unstoppable
On the internal network server:
runassrv add /cmdline:"C:\WINNT\system32\pt.exe -slave 59.61.105.11 88 127.0.0.1 1111" /name:"Mysrv1" /dispname:"Network Security Communication" /desc:"To provide secure communications network, if this service is disabled, any services dependent on it will not be able to start." /starttype:autostart
The services are all started and the mapping is successful. But why does the service on the external network server stop automatically after a few hours. And restarting the external network server doesn't work, the result is the same. I tested many times. So I really can't figure out what's going on. I really hope that experts who know can give advice. Thank you very much.
|
|
2010-5-5 09:11 |
|
|
yishanju
银牌会员
     [b]看你妹啊[/b]
积分 1488
发帖 1357
注册 2006-5-20
状态 离线
|
|
2010-5-5 09:21 |
|
|
xyfx
初级用户
 
积分 30
发帖 27
注册 2008-9-12
状态 离线
|
『第 3 楼』:
使用 LLM 解释/回答一下
恩,楼上的这为兄弟能不能上传点关于这个软件的使用资料。百度、Google、里面都没有相关资料。谢谢了
Well, can the brother above upload some usage materials about this software? There are no relevant materials in Baidu, Google, etc. Thanks.
|
|
2010-5-5 10:11 |
|
|
yishanju
银牌会员
     [b]看你妹啊[/b]
积分 1488
发帖 1357
注册 2006-5-20
状态 离线
|
『第 4 楼』:
使用 LLM 解释/回答一下
拜托,请有问题发论坛
Please post questions on the forum.
|

有问题请发论坛或者自行搜索,再短消息问我的统统是SB |
|
2010-5-5 10:21 |
|
|
xyfx
初级用户
 
积分 30
发帖 27
注册 2008-9-12
状态 离线
|
『第 5 楼』:
使用 LLM 解释/回答一下
恩,我想请问下。我的内网服务器是在上海。而我的外网映射用的服务器在安徽。它们不是在同一个内网的。是用这款passport软件也能实现映射吗
Well, I want to ask. My internal network server is in Shanghai. And the server I use for external network mapping is in Anhui. They are not in the same internal network. Can this passport software also achieve mapping?
|
|
2010-5-5 10:44 |
|
|
yishanju
银牌会员
     [b]看你妹啊[/b]
积分 1488
发帖 1357
注册 2006-5-20
状态 离线
|
|
2010-5-5 11:49 |
|
|
xyfx
初级用户
 
积分 30
发帖 27
注册 2008-9-12
状态 离线
|
|
2010-5-5 12:06 |
|
|
HAT
版主
       
积分 9023
发帖 5017
注册 2007-5-31
状态 离线
|
『第 8 楼』:
使用 LLM 解释/回答一下
图片防盗链很成功
The anti-hotlinking of the picture is very successful
|

 |
|
2010-5-5 12:15 |
|
|
xyfx
初级用户
 
积分 30
发帖 27
注册 2008-9-12
状态 离线
|
『第 9 楼』:
使用 LLM 解释/回答一下
不好意思,现在应该可以了。
I'm sorry, it should be okay now.
|
|
2010-5-5 12:43 |
|
|
yishanju
银牌会员
     [b]看你妹啊[/b]
积分 1488
发帖 1357
注册 2006-5-20
状态 离线
|
『第 10 楼』:
使用 LLM 解释/回答一下
试了一下,PASSPORT不能把其它服务的端口数据转发到别的服务器上
-_-所以还是别用PASSPORT了吧
Tried it, PASSPORT can't forward port data from other services to other servers. So, better not use PASSPORT.
|

有问题请发论坛或者自行搜索,再短消息问我的统统是SB |
|
2010-5-5 15:17 |
|
|
xyfx
初级用户
 
积分 30
发帖 27
注册 2008-9-12
状态 离线
|
『第 11 楼』:
使用 LLM 解释/回答一下
哎,心都碎了。我还以为可以的。
Hey, my heart is broken. I thought it would be okay.
|
|
2010-5-5 18:11 |
|
|
yishanju
银牌会员
     [b]看你妹啊[/b]
积分 1488
发帖 1357
注册 2006-5-20
状态 离线
|
『第 12 楼』:
使用 LLM 解释/回答一下
你把内网服务器设成DMZ这样不多简单吗
或者内网网关上做端口映射,动态IP的话再绑下动态域名解析
Isn't it simple to set the intranet server as DMZ? Or do port mapping on the intranet gateway. For dynamic IP, then bind dynamic domain name resolution.
|

有问题请发论坛或者自行搜索,再短消息问我的统统是SB |
|
2010-5-5 18:44 |
|
|
xyfx
初级用户
 
积分 30
发帖 27
注册 2008-9-12
状态 离线
|
『第 13 楼』:
使用 LLM 解释/回答一下
是啊,可是我没有路由器的控制权限。没办法的,那台内网服务器只开了一个3389端口。所以我还想用它的其它端口
Yeah, but I don't have the control rights of the router. There's no way. That internal server only has the 3389 port open. So I still want to use other ports of it
|
|
2010-5-6 00:02 |
|
|
yishanju
银牌会员
     [b]看你妹啊[/b]
积分 1488
发帖 1357
注册 2006-5-20
状态 离线
|
『第 14 楼』:
使用 LLM 解释/回答一下
你再试一下SSH的端口绑定.
You try binding the port for SSH again.
|

有问题请发论坛或者自行搜索,再短消息问我的统统是SB |
|
2010-5-6 10:33 |
|
|
aiainue
新手上路

积分 1
发帖 1
注册 2017-7-24
状态 离线
|
|
2017-7-25 11:20 |
|