Compare commits
3 Commits
Author | SHA1 | Date |
---|---|---|
Abanoub Hany | 49823b5ec7 | |
Abanoub Hany | 54ba2644f4 | |
Abanoub Hany | ab0cd9a093 |
|
@ -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
|
||||||
```
|
```
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue