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

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

  •  
  •   bismall · 2015 年 6 月 8 日 · 2148 次点击
    这是一个创建于 3877 天前的主题,其中的信息可能已经有所发展或是发生改变。

    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 年 6 月 8 日 via Android
    RTFM & STFW
    coolcfan
        2
    coolcfan  
       2015 年 6 月 8 日
    为何不足1G无法运行CentOS 7?
    我在512M上面都用过7啊……
    bismall
        3
    bismall  
    OP
       2015 年 6 月 8 日
    @coolcfan
    可以了,之前以为不行.
    关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   5078 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 01:18 · PVG 09:18 · LAX 17:18 · JFK 20:18
    ♥ Do have faith in what you're doing.