V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
bismall
V2EX  ›  问与答

把下列 CentOS 7 "firewall-cmd"命令转换成 CentOS 6 格式...

  •  
  •   bismall · 2015-06-08 15:10:17 +08:00 · 1744 次点击
    这是一个创建于 3258 天前的主题,其中的信息可能已经有所发展或是发生改变。

    firewall-cmd --permanent --add-service="ipsec"
    firewall-cmd --permanent --add-port=4500/udp
    firewall-cmd --permanent --add-masquerade
    firewall-cmd --reload

    PS.

    手上VPS内存不足1G无法运行CentOS 7,打算架设IPSec...
    https://www.vultr.com/docs/using-strongswan-for-ipsec-vpn-on-centos-7

    另外问下那种VPN适合国情??

    ...

    3 条回复    2015-06-08 18:56:04 +08:00
    ryd994
        1
    ryd994  
       2015-06-08 17:23:26 +08:00 via Android
    RTFM & STFW
    coolcfan
        2
    coolcfan  
       2015-06-08 17:27:09 +08:00
    为何不足1G无法运行CentOS 7?
    我在512M上面都用过7啊……
    bismall
        3
    bismall  
    OP
       2015-06-08 18:56:04 +08:00
    @coolcfan
    可以了,之前以为不行.
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3184 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 14:40 · PVG 22:40 · LAX 07:40 · JFK 10:40
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.