1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-vps.git synced 2025-03-09 15:50:00 +00:00

Update dsvpn repository

This commit is contained in:
Jorge Fuentes 2023-04-01 17:05:13 +02:00 committed by GitHub
parent dfdfaa2487
commit a606833b7d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1180,11 +1180,9 @@ if [ "$DSVPN" = "yes" ]; then
apt-get install -y --no-install-recommends build-essential git ca-certificates apt-get install -y --no-install-recommends build-essential git ca-certificates
rm -rf /tmp/dsvpn rm -rf /tmp/dsvpn
cd /tmp cd /tmp
git clone https://github.com/jedisct1/dsvpn.git /tmp/dsvpn git clone https://github.com/Ysurac/dsvpn.git /tmp/dsvpn
cd /tmp/dsvpn cd /tmp/dsvpn
git checkout ${DSVPN_VERSION} git checkout ${DSVPN_VERSION}
wget https://github.com/Ysurac/openmptcprouter-feeds/raw/develop/dsvpn/patches/nofirewall.patch
patch -p1 < nofirewall.patch
make CFLAGS='-DNO_DEFAULT_ROUTES -DNO_DEFAULT_FIREWALL' make CFLAGS='-DNO_DEFAULT_ROUTES -DNO_DEFAULT_FIREWALL'
make install make install
rm -f /lib/systemd/system/dsvpn/* rm -f /lib/systemd/system/dsvpn/*