1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192 |
- #!/bin/bash
- # Proxy For Edukasi & Imclass
- # SL
- # ==========================================
- # Link Hosting Kalian
- akbarvpn="raw.githubusercontent.com/fisabiliyusri/Mantap/main/websocket"
- # Getting Proxy Template
- wget -q -O /usr/local/bin/ws-nontls https://${akbarvpn}/websocket.py
- chmod +x /usr/local/bin/ws-nontls
- # Installing Service
- cat > /etc/systemd/system/ws-nontls.service << END
- [Unit]
- Description=Python Proxy Mod By Akbar Maulana
- Documentation=https://nekopi.care
- After=network.target nss-lookup.target
- [Service]
- Type=simple
- User=root
- CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE
- AmbientCapabilities=CAP_NET_ADMIN CAP_NET_BIND_SERVICE
- NoNewPrivileges=true
- ExecStart=/usr/bin/python -O /usr/local/bin/ws-nontls 8880
- Restart=on-failure
- [Install]
- WantedBy=multi-user.target
- END
- systemctl daemon-reload
- systemctl enable ws-nontls
- systemctl restart ws-nontls
- # Getting Proxy Template
- wget -q -O /usr/local/bin/ws-ovpn https://${akbarvpn}/ws-ovpn.py
- chmod +x /usr/local/bin/ws-ovpn
- # Installing Service
- cat > /etc/systemd/system/ws-ovpn.service << END
- [Unit]
- Description=Python Proxy Mod By LamVpn
- Documentation=https://nekopoi.care
- After=network.target nss-lookup.target
- [Service]
- Type=simple
- User=root
- CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE
- AmbientCapabilities=CAP_NET_ADMIN CAP_NET_BIND_SERVICE
- NoNewPrivileges=true
- ExecStart=/usr/bin/python -O /usr/local/bin/ws-ovpn 2086
- Restart=on-failure
- [Install]
- WantedBy=multi-user.target
- END
- systemctl daemon-reload
- systemctl enable ws-ovpn
- systemctl restart ws-ovpn
- # Getting Proxy Template
- wget -q -O /usr/local/bin/ws-tls https://${akbarvpn}/ws-tls
- chmod +x /usr/local/bin/ws-tls
- # Installing Service
- cat > /etc/systemd/system/ws-tls.service << END
- [Unit]
- Description=Python Proxy Mod By geovpn
- Documentation=https://nekopoi.care
- After=network.target nss-lookup.target
- [Service]
- Type=simple
- User=root
- CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE
- AmbientCapabilities=CAP_NET_ADMIN CAP_NET_BIND_SERVICE
- NoNewPrivileges=true
- ExecStart=/usr/bin/python -O /usr/local/bin/ws-tls 443
- Restart=on-failure
- [Install]
- WantedBy=multi-user.target
- END
- systemctl daemon-reload
- systemctl enable ws-tls
- systemctl restart ws-tls
|