SlideShare a Scribd company logo
PC ROUTING
Set IP FORWARDING
- nano /etc/sysctl.conf
- #hapustandapagarpada ipv4 dan ipv6 forward=1
Set NAT
- nano /etc/rc.local
- #ketik di atas “exit0”
iptables –t nat –A POSTROUTING –o eth0 –j MASQUERADE
CONFIGURATION SQUID
Installing Squid
- apt-get install squid
backup squid.conf
- cp /etc/squid3/squid.conf /etc/squid/squid.conf.bak
configure squid.conf
- nano /etc/squid3/squid.conf
make directory for cache squid proxy
- mkdir /cache
- chownproxy:proxy /cache
- chownproxy:proxy /etc/squid3/squid.conf
make directory for blokir file
- mkdir /etc/squid3/blokir/
- chmod 777 –R /etc/squid3/blokir/blokir.txt
input keyword for forbidden site
- nano /etc/squid3/blokir/blokir.txt
- type any keyword, example : 4shared
- save & exit
reload configuration
- squid3 –k reconfigure
- /etc/init.d/squid3 restart
Set NAT for transparent redirect destination port 80 to 3128
- Nano /etc/rc.local
- type up side exit0
- iptables –t nat –A PREROUTING –p tcp –m tcp –dport 80 –j
REDIRECT –-to-port 3128
- save & exit
- rebootchownproxy:proxy /

More Related Content

PDF
3 manual installation of open vpn
PDF
How to train your L3DSR with PBR - MEMO -
PDF
OSS AWS 핸즈온 강의
PPT
Linux Server Start
PPTX
От sysV к systemd
TXT
Cluster setup multinode_aws
PDF
How to install OpenStack MITAKA --allinone - cheat sheet -
PDF
How to twist a IPv6 over Bluetooth (6lowpan)
3 manual installation of open vpn
How to train your L3DSR with PBR - MEMO -
OSS AWS 핸즈온 강의
Linux Server Start
От sysV к systemd
Cluster setup multinode_aws
How to install OpenStack MITAKA --allinone - cheat sheet -
How to twist a IPv6 over Bluetooth (6lowpan)

What's hot (20)

PDF
PDF
RabbitMQ Server - cheat sheet -
PDF
Год в Github bugbounty, опыт участия
PPTX
Tutorial to make sure of nginx files starterpack.
ODP
testing-nfs
PDF
Learn Python
PDF
nouka inventry manager
ODP
Redmine on amazon ec2
PPTX
Great Hiroshima with Python 170830
PDF
Openstack kilo installation using rdo
RTF
1. openvpn simple
ODP
LSA2 - 02 Control Groups
PDF
Openstack installation using rdo
PDF
Openstack installation using rdo multi node
PDF
Creación de máquinas virtuales basada en kernel usando qemu y virsh
PDF
仮想化環境におけるバイナリー・ポータビリティの考察 (WebAssemblyの場合)
PDF
using Virtualbox NAT and shared folder
ODP
Triangle OpenStack meetup 09 2013
PDF
How to ride a 100GbE LAN -MEMO-
RabbitMQ Server - cheat sheet -
Год в Github bugbounty, опыт участия
Tutorial to make sure of nginx files starterpack.
testing-nfs
Learn Python
nouka inventry manager
Redmine on amazon ec2
Great Hiroshima with Python 170830
Openstack kilo installation using rdo
1. openvpn simple
LSA2 - 02 Control Groups
Openstack installation using rdo
Openstack installation using rdo multi node
Creación de máquinas virtuales basada en kernel usando qemu y virsh
仮想化環境におけるバイナリー・ポータビリティの考察 (WebAssemblyの場合)
using Virtualbox NAT and shared folder
Triangle OpenStack meetup 09 2013
How to ride a 100GbE LAN -MEMO-
Ad

Viewers also liked (8)

PDF
Vo ip rt-rw-net
DOCX
Tutorial instalasi ubuntu server 12.04, setting DNS server dan Web server
PDF
Pcq rt-rw-net
PPT
Instalasi RT/RW Net
PDF
Tutorial Lengkap Instalasi ubuntu server 12.04 [sigernetwork.com]
PDF
Rencana pembuatan rt rw net
PDF
Tutorial membangun server jaringan
DOCX
Perancangan rt rw net
Vo ip rt-rw-net
Tutorial instalasi ubuntu server 12.04, setting DNS server dan Web server
Pcq rt-rw-net
Instalasi RT/RW Net
Tutorial Lengkap Instalasi ubuntu server 12.04 [sigernetwork.com]
Rencana pembuatan rt rw net
Tutorial membangun server jaringan
Perancangan rt rw net
Ad

Similar to Proxy server ubuntu 12.04 (20)

TXT
Centos config
PDF
Salesforce at Stacki Atlanta Meetup February 2016
DOCX
NAS Botnet Revealed - Mining Bitcoin
PDF
ERP System Implementation Kubernetes Cluster with Sticky Sessions
PDF
Docker for data science
PPSX
Linux configer
PDF
StackiFest16: Stacki 1600+ Server Journey - Dave Peterson, Salesforce
PPTX
Stacki - The1600+ Server Journey
PDF
DNS (BIND) on CentOS
DOCX
How to install squid proxy on server or how to install squid proxy on centos o
DOCX
Component pack 6006 install guide
PDF
Hands-On Session Docker
PPTX
Programming OpenRISC on Altera De0_nano
PPTX
Installing odoo v8 from github
PPTX
Java App On Digital Ocean: Deploying With Gitlab CI/CD
PDF
More than Applications: (Ab)using Docker to Improve the Portability of Everyt...
PDF
RDO-Packstack Workshop
PDF
Ef09 installing-alfresco-components-1-by-1
PDF
JavaCro'15 - Conquer the Internet of Things with Java and Docker - Johan Jans...
PDF
17) 11 (may, 2003) squid master this proxy server
Centos config
Salesforce at Stacki Atlanta Meetup February 2016
NAS Botnet Revealed - Mining Bitcoin
ERP System Implementation Kubernetes Cluster with Sticky Sessions
Docker for data science
Linux configer
StackiFest16: Stacki 1600+ Server Journey - Dave Peterson, Salesforce
Stacki - The1600+ Server Journey
DNS (BIND) on CentOS
How to install squid proxy on server or how to install squid proxy on centos o
Component pack 6006 install guide
Hands-On Session Docker
Programming OpenRISC on Altera De0_nano
Installing odoo v8 from github
Java App On Digital Ocean: Deploying With Gitlab CI/CD
More than Applications: (Ab)using Docker to Improve the Portability of Everyt...
RDO-Packstack Workshop
Ef09 installing-alfresco-components-1-by-1
JavaCro'15 - Conquer the Internet of Things with Java and Docker - Johan Jans...
17) 11 (may, 2003) squid master this proxy server

Recently uploaded (20)

PDF
O7-L3 Supply Chain Operations - ICLT Program
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PDF
Basic Mud Logging Guide for educational purpose
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PPTX
Cell Structure & Organelles in detailed.
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PPTX
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
PDF
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
PDF
RMMM.pdf make it easy to upload and study
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PDF
Insiders guide to clinical Medicine.pdf
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PPTX
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
O7-L3 Supply Chain Operations - ICLT Program
Pharmacology of Heart Failure /Pharmacotherapy of CHF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
Basic Mud Logging Guide for educational purpose
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
Cell Structure & Organelles in detailed.
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
RMMM.pdf make it easy to upload and study
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
Insiders guide to clinical Medicine.pdf
2.FourierTransform-ShortQuestionswithAnswers.pdf
O5-L3 Freight Transport Ops (International) V1.pdf
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student

Proxy server ubuntu 12.04

  • 1. PC ROUTING Set IP FORWARDING - nano /etc/sysctl.conf - #hapustandapagarpada ipv4 dan ipv6 forward=1 Set NAT - nano /etc/rc.local - #ketik di atas “exit0” iptables –t nat –A POSTROUTING –o eth0 –j MASQUERADE CONFIGURATION SQUID Installing Squid - apt-get install squid backup squid.conf - cp /etc/squid3/squid.conf /etc/squid/squid.conf.bak configure squid.conf - nano /etc/squid3/squid.conf make directory for cache squid proxy - mkdir /cache - chownproxy:proxy /cache - chownproxy:proxy /etc/squid3/squid.conf make directory for blokir file - mkdir /etc/squid3/blokir/ - chmod 777 –R /etc/squid3/blokir/blokir.txt input keyword for forbidden site - nano /etc/squid3/blokir/blokir.txt - type any keyword, example : 4shared - save & exit reload configuration - squid3 –k reconfigure - /etc/init.d/squid3 restart Set NAT for transparent redirect destination port 80 to 3128 - Nano /etc/rc.local - type up side exit0 - iptables –t nat –A PREROUTING –p tcp –m tcp –dport 80 –j REDIRECT –-to-port 3128 - save & exit - rebootchownproxy:proxy /