Ok, this is how I did it, the most simple way:
I used tinyproxy as a simple to use, lightweight and small proxy solution
Code:
apt-get install tinyproxy
It's in the Universe package list, so it should be easy
Then:
Assuming you have got an internet connection available and you want to share with a network thet connects through one of the network cards on your computer.
First, do an ifconfig and see the IP on which you want to put your proxy to listen to.
In my case it's 192.168.147.1 , set on a second card in my computer.
Edit your /etc/tinyproxy.tinyproxy.conf:
Code:
sudo nano /etc/tinyproxy/tinyproxy.conf
Do this:
Choose a port to listen on
Code:
#
# Port to listen on.
#
Port 2000
Bind to a certain interface in your computer
Code:
#
# If you have multiple interfaces this allows you to bind to only one. If
# this is commented out, tinyproxy will bind to all interfaces present.
#
Listen 192.168.147.1
Allow certain network computers to connect: ad their IP-s one by one:
Code:
# Also the order of the controls are important. The incoming connections
# are tested against the controls based on order.
#
Allow 127.0.0.1
Allow 192.168.1.0/25
Allow 192.168.147.2
Add yahoo messenger connection possibility:
Code:
# This is a list of ports allowed by tinyproxy when the CONNECT method
# is used. To disable the CONNECT method altogether, set the value to 0.
# If no ConnectPort line is found, all ports are allowed (which is not
# very secure.)
ConnectPort 5050
Then restart (or start) tinyproxy
Code:
$sudo /etc/init.d/tinyproxy restart
Bookmarks