Today I will install a squid server on server 192.168.0.5 
and use client 192.168.0.6 to visit internet through web proxy on 192.168.0.5
1. I will install a bridged network card on server 192.168.0.5, and start it up, 
since it is bridged with physical one, it can get the internet access from my physic network card.
2. I will install a squid server on 192.168.0.5 and configure following lines
acl mynet ser 192.168.0.0/255.255.255.0  
(this one set up mynet as a local network name, 
and use it in the following lines)
http_access allow mynet (this one enable 192.168.0.0/24 network )
http_access deny all(this one disable all visitors from the other networks)
iptables -I INPUT -s 192.168.0.6 -p tcp 杁port 8080 -j ACCEPT

 

About Lei

I am an IT specialist with over 10 year experience - years on Automation, on-Premise or Azure.

I am happy to develop however never want be a full time developer. Only do what I have to do. If it has to be PowerShell,HTML, PHP, CSS, C#, VBS or JS, front end or backend, so be it, doesn't matter!

Spent years with Windows, SCCM, SharePoint, SQL and Exchange servers. For last several years, I have been actively working under On Premise > Azure environment.

THERE IS NO WAY BACK!!!

Current Certificates:
    Microsoft® Certified-
  • -Enterprise Administrator
  • -Database Administrator
  • -SharePoint Administrator
  • -Administering and Deploying SCCM 2012
Red Hat Certified Technician
ITIL V3 Foundation - Practitioner

Working on Azure Certificates now and hopefully they can stop upgrading their questions one day! GIVE ME A BREAK!

Contact Lei

Name *
Email *
Comments *

Traffic since 10/08/2016

Today47
Yesterday83
This week671
This month1967
Total416327

Visitor Info

  • IP: 54.227.51.103
  • Browser: Unknown
  • Browser Version:
  • Operating System: Unknown

Who Is Online

1
Online

2017-12-17

Login