Web Analytics
 Membuat Running Socat di Systemd agar Otomatis

Membuat Running Socat di Systemd agar Otomatis


Buat file unit systemd dengan nama socat.service:


[Unit]
Description=Socat TCP-to-TCP Relay
After=network.target

[Service]
Type=simple
User=root
ExecStart=/usr/bin/socat tcp-listen:80,reuseaddr,fork tcp:10.8.0.2:80
Restart=on-failure

[Install]
WantedBy=multi-user.target

 


 


Simpan file ke /etc/systemd/system/socat.service. Kemudian, jalankan perintah berikut:


Bash
sudo systemctl enable socat.service
sudo systemctl start socat.service

 


Lanjut Part : 1
Jam : 17:03:27
Durasi Part : 0:0:1
Durasi Total : 0:0:1

Punya Pertanyaan , Silahkan Whatsapp Langsung
Muhammad Ullil Fahri
WA : 089696380422
Tautan WA : https://wa.me/message/SG4YA2XQP5FPE1
Theme Customizer

Theme Styles