Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multi output >> *.xml #1

Open
GuangLightman opened this issue Dec 30, 2016 · 0 comments
Open

multi output >> *.xml #1

GuangLightman opened this issue Dec 30, 2016 · 0 comments

Comments

@GuangLightman
Copy link

There are several lines like this:
cat >> /usr/lib/firewalld/services/pptpd.xml
This will output to xml file many times when you run the script several times.

PS:
It is handy to show how to add multiple vpn users in chap-secrets file.

Also: .
Based on my experience I encountered several issues.

  • Please refer to this blog, http://leijingwei.com/post/87.html, CentOS 7.3 安装 xl2tpd 失败,Requires: kmod(l2tp_ppp.ko).
    Due to xl2tpd-1.3.8-1.el7.x86_64 与 CentOS 7.3不兼容
    I solved by:
wget http://dl.fedoraproject.org/pub/epel/testing/7/x86_64/x/xl2tpd-1.3.8-2.el7.x86_64.rpm 
rpm -ivh xl2tpd-1.3.8-2.el7.x86_64.rpm
firewall-cmd --permanent --zone=public --add-port=500/udp
firewall-cmd --permanent --zone=public --add-port=4500/tcp

Thanks for your contributions for this nice script.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant