travislee89 / ocserv-auto

Auto Install Ocserv Server for CentOS/RedHat 7
324 stars 190 forks source link

当iptables服务为inactive时客户端用不了 #11

Open xdeng opened 7 years ago

xdeng commented 7 years ago

systemctl is-active iptables.service 返回 inactive 时 你这脚本就有问题了。可以尝试把iptables激活啊。。。

travislee89 commented 7 years ago

鉴于各种环境的不同,所以不直接启动iptables或者firewalld。 应该自己先配置好防火墙。 比如改了SSH端口,但没有改iptables只是直接禁止iptables。如果脚本直接启用iptables,那就连不上SSH了。

On Mon, 31 Jul 2017 at 16:31 XD notifications@github.com wrote:

systemctl is-active iptables.service 返回 inactive 时 你这脚本就有问题了。可以尝试把iptables激活啊。。。

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/travislee8964/ocserv-auto/issues/11, or mute the thread https://github.com/notifications/unsubscribe-auth/ADfPDIWtLiLkXjChxol0TdMEjExuKwJsks5sTZDsgaJpZM4OoDtJ .

xdeng commented 7 years ago

@travislee8964 确实你说的对 ,我被我自己坑了 发现启动后 其他服务连不上 高了半天才想起开了防火墙。。。