Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Aug 25, 2022
1 parent 8882ef9 commit a5a57e4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ fi
mkdir /var/lib/akbarstorevpn;
echo "IP=" >> /var/lib/akbarstorevpn/ipvps.conf
wget https://${akbarvpn}/cf.sh && chmod +x cf.sh && ./cf.sh
sleep 1
#install v2ray
wget https://${akbarvpnnnnnn}/ins-xray.sh && chmod +x ins-xray.sh && screen -S xray ./ins-xray.sh
#install ssh ovpn
Expand All @@ -81,6 +82,7 @@ wget https://${akbarvpnnnnnnnnnn}/ohp.sh && chmod +x ohp.sh && ./ohp.sh
#Setting Backup
wget https://${akbarvpnnnnnnnn}/set-br.sh && chmod +x set-br.sh && ./set-br.sh

restart

rm -f /root/cf.sh
rm -f /root/ssh-vpn.sh
Expand Down
6 changes: 3 additions & 3 deletions ssh/cf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ RESULT=$(curl -sLX PUT "https://api.cloudflare.com/client/v4/zones/${ZONE}/dns_r
-H "Content-Type: application/json" \
--data '{"type":"A","name":"'${WILD_DOMAIN}'","content":"'${IP}'","ttl":120,"proxied":false}')
echo "Host : $SUB_DOMAIN"
echo $SUB_DOMAIN > /etc/xray/domain
echo $SUB_DOMAIN > /root/domain
echo "IP=$SUB_DOMAIN" >>/var/lib/akbarstorevpn/ipvps.conf
echo $SUB_DOMAIN >> /etc/xray/domain
echo $SUB_DOMAIN >> /root/domain
echo "IP=$SUB_DOMAIN" >> /var/lib/akbarstorevpn/ipvps.conf
sleep 3

0 comments on commit a5a57e4

Please sign in to comment.