Ubuntu Otomatis Start Squid & Iptables Setiap Booting

Jika anda mengkonfigurasi squid dengan transparent proxy dimana untuk transparent proxy sendiri biasanya ada tambahan rules firewall yang untuk redirect port selanjutnya squid dan rules tersebut ingin anda jalankan ketika server ubuntu anda booting. Maka berikut ini adalah caranya.

Edit saja /etc/rc.local dan masukkan baris untuk menjalankan squid dan firewalnya

Contoh isi fileĀ  /etc/rc.local

/root/fw.sh
squid3 start

Selesai, coba boot server squid ubuntu anda

 

Leave a Reply

Your email address will not be published. Required fields are marked *

What is 6 + 14 ?
Please leave these two fields as-is:
IMPORTANT! To be able to proceed, you need to solve the following simple math (so we know that you are a human) :-)

 

Wordpress SEO Plugin by SEOPressor