bismall
V2EX  ›  问与答

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

  •  
  •   bismall · Jun 8, 2015 · 2293 views
    This topic created in 3999 days ago, the information mentioned may be changed or developed.

    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 replies    2015-06-08 18:56:04 +08:00
    ryd994
        1
    ryd994  
       Jun 8, 2015 via Android
    RTFM & STFW
    coolcfan
        2
    coolcfan  
       Jun 8, 2015
    为何不足1G无法运行CentOS 7?
    我在512M上面都用过7啊……
    bismall
        3
    bismall  
    OP
       Jun 8, 2015
    @coolcfan
    可以了,之前以为不行.
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3634 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 58ms · UTC 10:23 · PVG 18:23 · LAX 03:23 · JFK 06:23
    ♥ Do have faith in what you're doing.