bedefaced / vpn-install Goto Github PK
View Code? Open in Web Editor NEWSimple PPTP, L2TP/IPsec, OpenVPN installers
License: GNU General Public License v3.0
Simple PPTP, L2TP/IPsec, OpenVPN installers
License: GNU General Public License v3.0
Thanks a lot for this amazing tool. It helps me saving a lot of time to build up the VPN server. But I have a question, do you have any plans to support IKEv2 protocol VPN? This type of VPN has a great feature that the client can reconnect to the server automatically. Especially for the mobile device, it will be really helpful.
Thanks again for your tool. ^_^
hi
i tried your script and its awesome
but when i changed the DNS to something else i cant browse internet!
i also checked and all the DNS servers are functioning and working!
DNS servers are "85.15.1.15" and "85.15.1.14"
Im working hard to try to set up VPN on my server!But my knowledge about that is so poor that I can
t do it. I always believe that expert does the professional events. nice!
when firewall start l2tp is not working!
I have mikrotik router. And i cant connect to server with md5(ipsec). What and in what config to me to change what would work?
How can i restrict users to just connect with (for example) one ip!
Configuring DNS parameters...
Preffered DNS resolver #1: 8.8.8.8
Preffered DNS resolver #2: 8.8.4.4
/etc/openvpn/openvpn-server.conf updated!
Creating server keys...
/etc/openvpn/easy-rsa exists. Aborting.
Usage: /usr/bin/make-cadir DIRECTORY
Creates a new directory and prepares it to be used as a (CA) key management directory (to create and store keys and certificates).
cp: cannot stat '/etc/openvpn/easy-rsa/openssl-1.0.0.cnf': No such file or directory
You appear to be sourcing an Easy-RSA 'vars' file.
This is no longer necessary and is disallowed. See the section called
'How to use this file' near the top comments for more details.
./vpn-install/openvpn/install.sh: line 62: ./clean-all: No such file or directory
./vpn-install/openvpn/install.sh: line 63: ./build-ca: No such file or directory
./vpn-install/openvpn/install.sh: line 64: ./build-key-server: No such file or directory
./vpn-install/openvpn/install.sh: line 65: ./build-dh: No such file or directory
./vpn-install/openvpn/install.sh: line 69: ./build-key: No such file or directory
You appear to be sourcing an Easy-RSA 'vars' file.
This is no longer necessary and is disallowed. See the section called
'How to use this file' near the top comments for more details.
/root/vpn-install/openvpn/deluser.sh: line 23: ./revoke-full: No such file or directory
cp: cannot stat '/etc/openvpn/easy-rsa/keys/crl.pem': No such file or directory
chown: cannot access '/etc/openvpn/crl.pem': No such file or directory
Adding cron jobs...
Configuring VPN users...
You appear to be sourcing an Easy-RSA 'vars' file.
This is no longer necessary and is disallowed. See the section called
'How to use this file' near the top comments for more details.
Enter name: pc
ls: cannot access '/etc/openvpn/easy-rsa/keys': No such file or directory
/root/vpn-install/openvpn/adduser.sh: line 32: ./build-key: No such file or directory
There is no way to edit the external IP detected during the install of each VPN.
On a VPS, it's detecting the internal IP as the external IP.
when i use this script. not return at all. how it work and what the function anyway?
root@localhost:~/bedefaced_vpn-install/vpn-install/ipsec# ./adduser.sh
Enter name: bagus
Enter password: bagus
/etc/ppp/chap-secrets has been updated!
Directory /root/bedefaced_vpn-install/vpn-install/ipsec/bagus with client-side installation script has been created.
Would you want to add another user? [no]
root@localhost:~/bedefaced_vpn-install/vpn-install/ipsec# ./checkuser.sh
Enter name: bagus
root@localhost:~/bedefaced_vpn-install/vpn-install/ipsec#
Hiwhen a client atemp to connect in pptpd status i get:
LCP: timeout sending Config-Requests
Connection terminated.
Modem hangup
Exit.
hi
thx for sharing your script
i have a problem
i config my server as pptp vpn server
pptp service is running well and my firewall is off but clients can't connect to server
thx for your help
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.