您可以在与预期的不同的端口上运行守护进程,前提是您可以将这一变更传递给客户端。
You can run daemons on different ports other than what is expected as long as you can communicate this change to the clients.
注意,当这个守护进程停止运行时,系统是安全的;所有端口关闭,不可访问。
Note that in the case of a crash, your system will be safe; all ports will be closed and unaccessible.
现在,使用sudo /etc/init.d/knockd start 或 sudo knockd -d启动端口敲门守护进程(这两个命令是等效的),然后再试一下;
Now try that again after starting the port-knocking daemon by using sudo /etc/init.
为这个守护进程选择大于 1000的端口号,用户可以把这个范围的端口号分配给任何应用程序。
Similarly, the port chosen for the daemon is above 1000, which users can claim for any application.
服务通常由守护程序控制,简单来说守护程序就是一种正在运行的后台进程,侦听客户机对特定端口上的特定服务提出的请求。
Services are typically controlled by a daemon, which is simply a background process running, listening for a client to request a specific service on a specific port.
这个命令启动了守护进程,并显示了所使用的端口号,例如37476。
This command starts the daemon process and shows the port number used — for example, 37476.
例如,这种方法仅仅使用数KB就能在不同容器的22端口上运行多个ssh守护进程(参考资料中提供了一个例子)。
For example, this method USES mere kilobytes to enable running multiple SSH daemons on port 22 of different containers (see Resources for an example).
例如,这种方法仅仅使用数KB就能在不同容器的22端口上运行多个ssh守护进程(参考资料中提供了一个例子)。
For example, this method USES mere kilobytes to enable running multiple SSH daemons on port 22 of different containers (see Resources for an example).
应用推荐