strongSwan.conf報錯syntax error, unexpected ., expecting : or '{' or '=' [.] 解決辦法

版本更新舊的配置文件失效

解決辦法:

charon {
        load_modular=yes
        duplicheck.enable=no
        compress = yes
        plugins {
                include strongswan.d/charon/*.conf
        }
        dns1 = 8.8.8.8
        dns2 = 8.8.4.4
        nbns1 = 8.8.8.8
        nbns2 = 8.8.4.4
}
include strongswan.d/*.conf


改爲

charon {
        load_modular=yes
        duplicheck{ #這裏
                enable=no
        }
        compress = yes
        plugins {
                include strongswan.d/charon/*.conf
        }
        dns1 = 8.8.8.8
        dns2 = 8.8.4.4
        nbns1 = 8.8.8.8
        nbns2 = 8.8.4.4
}
include strongswan.d/*.conf

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章