Nazaretyan's blog blog about everthing ….

20Dec/110

enable mod_cache in apache2

if you're using debian linux and want to activate mod_cache by apache remeber not only to type

a2enmod mem_cache (or disk_cache)

but also

24Nov/090

Routing for multiple uplinks/providers

A common configuration is the following, in which there are two providers that connect a local network (or even a single machine) to the big Internet.

                                                                 ________
                                          +------------+        /
                                          |            |       |
                            +-------------+ Provider 1 +-------
        __                  |             |            |     /
    ___/  \_         +------+-------+     +------------+    |
  _/        \__      |     if1      |                      /
 /             \     |              |                      |
| Local network -----+ Linux router |                      |     Internet
 \_           __/    |              |                      |
   \__     __/       |     if2      |                      \
      \___/          +------+-------+     +------------+    |
                            |             |            |     \
                            +-------------+ Provider 2 +-------
                                          |            |       |
                                          +------------+        \________

There are usually two questions given this setup.

6Nov/093

PPTP client

how to configure PPTP client under linux :) ?

here is a site http://pptpclient.sourceforge.net/documentation.phtml where you can find very good documantation regarding your version of linux :)

for me its Debian and i post here how to config :P

26Oct/090

Lesson 2. FreeRADIUS – ntlm_auth

Once you have verified that Samba is installed and working correctly, and that the ntlm_auth program works, you can proceed with configuring FreeRADIUS to use ntlm_auth. For initial testing, we will be using the exec module, and will run the exact command line used above.

In the radiusd.conf file, add the following text to the modules section:

22Oct/091

squid 2.6 – how to fast config

This post is about squid and how to configure it really fast, I’m putting here my config file of squid that works on core2duo 2 GB ram machine with 500GB hard drive.

First of all we need to install squid ( debian gnu linux)

apt-get install squid

Ok, after we need to go to /etc/squid and edit there few files.

First of all we need to create file flood.txt

Page 1 of 11
Get Adobe Flash playerPlugin by wpburn.com wordpress themes