Basic Squid Proxy Server Tutorial Part 3 of 3

This entry was posted by admin on Sunday, 25 September, 2011 at

Final step to configure and share Internet connection with Squid Proxy on a server with 2 NIC’s. We explain a little about iptables so it can jump and masquerade the workstations. Also, 2 things I forgot to mention which I added an annotation at the end of the video 1. Pls. don’t forget to edit your /etc/squid/squid.conf and put: http_port 3128 transparent 3128 is the Squid’s port number. Transparent means you don’t have to manually specify the proxy server on each workstation so that if you have 20 clients you don’t have to go to each one of them. 2. Pls. also make sure that your client’s /etc/resolv.conf is pointing to your router or dns-nameserver that is add this line anywhere in that file. nameserver 192.168.0.254 192.168.0.254 – is the router’s IP address. Good luck!

Related Information

5 Responses to “Basic Squid Proxy Server Tutorial Part 3 of 3”

  1. betterfuture09

    Good tutorials, I got squid up working but I want to make it a anonymous server but Im having some problems with doing that but Ill google more and check out forums :)

  2. MasterBot300

    I cant ping from wrokstacion :( Here are my configuration
    Internet >> moden[10.0.0.138] >> wlan[10.0.0.66]-Server-eth0[10.0.1.50]- [bridge-to-eth0] [10.0.1.51] Virtualmachine(XP)
    I cant ping from virtualMachine(XP) to the 10.0.1.50 :(

    Server config
    eth0
    IP 10.0.1.50
    NETWORK 10.0.1.0
    NETMASK 255.255.255.0

    VirtualMachine(XP)
    IP 10.0.1.51
    Netmask 255.255.255.0
    Default Gateway 255.255.255.0

    im trying to test on virtual machine first then to steup to my xbox

  3. BugsVHumans

    @MasterBot300 – Hi, do you have a firewall on your server? Make sure to TURN IT OFF for now. Also, without even talking about Squid Proxy Server, can you share files between your “host” and your virtualbox “guest” machine? Make sure you build these structures first before touching those interfaces. Constantly ping the machines, every step of the way to “isolate” where things are getting wrong.

  4. trayemily

    hey any one know how i can share my buddys connection he lives in another state is it any way i can surf on his internet

  5. BugsVHumans

    @trayemily – Yes you can do that, but I doubt it will be fast, I don’t know how to do it, but learning about Bypassing Firewalls and Connecting To Your Private Proxy Server is the place to start. I saw a lot of good tutorials about these in both Windows and Ubuntu.


Leave a Reply