Compare commits

...

3 Commits
master ... main

3 changed files with 8 additions and 2 deletions

View File

@ -9,7 +9,7 @@
## To Full Install L2tp Server With Configurations And Gui ## To Full Install L2tp Server With Configurations And Gui
#### ❌❌ Careful Running This Script Will Remove All Old Configs and l2tp users if they exits
``` ```
curl -sL https://raw.githubusercontent.com/h4775346/l2tp-manager/master/sas4-l2tp-full-installer.sh | sudo bash curl -sL https://raw.githubusercontent.com/h4775346/l2tp-manager/master/sas4-l2tp-full-installer.sh | sudo bash
``` ```

View File

@ -15,8 +15,8 @@ if [ ! -d "$TARGET_DIR" ]; then
git clone $REPO_URL $TARGET_DIR git clone $REPO_URL $TARGET_DIR
else else
echo "Directory $TARGET_DIR already exists. Stashing local changes and pulling the latest changes." echo "Directory $TARGET_DIR already exists. Stashing local changes and pulling the latest changes."
cd $TARGET_DIR
git config --global --add safe.directory $TARGET_DIR git config --global --add safe.directory $TARGET_DIR
cd $TARGET_DIR
git stash git stash
git pull git pull
fi fi

View File

@ -73,6 +73,12 @@ sudo bash -c 'cat > /etc/ppp/chap-secrets <<EOF
# Secrets for authentication using CHAP # Secrets for authentication using CHAP
# client server secret IP addresses # client server secret IP addresses
user1 * ikasgfiuasgf 10.255.10.11 user1 * ikasgfiuasgf 10.255.10.11
user2 * segheregtyeb 10.255.10.12
user3 * ba35rtyegbas 10.255.10.13
user4 * rtyasergbrge 10.255.10.14
user5 * vwehyaevwgfw 10.255.10.15
user6 * bwrvwefbtbwf 10.255.10.16
user7 * wlihfqbeuihf 10.255.10.17
EOF' EOF'
# Enable IP forwarding # Enable IP forwarding