NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io


1. eth0 & eth1
2. rm /etc/udev/rules.d/70-persistent-net-rules
3. cd /etc/ vi rc.local
iptables -t NAT -A POSTROUTING -o eth0 -j MASQUERADE
4. vi resolv.conf
5. db.domain
@ IN SOA coba.in. root.coba.in. {
.
.
.
.
.
;
@ IN NS ns.coba.in.
@ IN A (ipeth0)
@ IN MX 10 mail.coba.in
ns IN A (ipeth0)
www IN A (ipeth0)
mail IN A (ipeth0)
6. db.ip
@ IN SOA coba.in. root.coba.in. {
.
.
.
.
.
;
@ IN NS ns.coba.in.
1 IN PTR ns.coba.in.
1 IN PTR www.coba.in
1 IN PTR mail.coba.in

===========================================mysql
mysql -u root -p
create database wp;
create user 'kevin'@'localhost' identified by 'toor';
grant all on wp.* to kevin@localhost identified by 'toor';
===========================================install squid

-> apt-get install squid

2.edit squid.conf

-> nano /etc/squid.conf

3. atur http_port

-> cari tulisan http_port 3128
-> tambahi tulisan 'transparent' dibelakangnya

4. atur cache_mem
-> cari tulisan cache_mem
-> isikan cache_mem, contoh : cache_mem 16 MB

5. atur cache_mgr
->cari tulisan cache_mgr
->isi cache_mgr, contoh : cache_mgr [email protected]

6. atur visible_hostname
->cari tulisan visible_hostname
->isikan visible_hostname, contoh : visible_hostname proxy.debian.edu

7. Atur ACL CONNECT
-> cari tulisan 'ACL CONNECT' , dan ketik perintah tepat dibawahnya
-> acl url dstdomain "/etc/squid/url"
acl key url_regex -i "/etc/squid/key"
http_access deny url
http_access deny key
acl lan src 192.168.0.0/24
http_access allow lan
http_access allow all

8. buat list url yang akan diblokir
-> nano /etc/squid/url
-> pokemongo.com

9.buat list key yang akan diblokir
-> nano /etc/squid/key
-> pokemon go


10.test squid
-> squid -z

11. restart squid
-> /etc/init.d/squid restart

12.setting proxy di browser

     
 
what is notes.io
 

Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 12 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.