Results 1 to 2 of 2

Thread: Howto: Share your Internet Connection

  1. #1

    Howto: Share your Internet Connection

    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

  2. #2
    Join Date
    Jul 2006
    Location
    Guilderland, NY
    Beans
    22
    Distro
    Ubuntu 6.06

    Re: Howto: Share your Internet Connection

    I didn't have to do anything to get Ubuntu to share the connection.

    I installed in dual-boot mode to a Windows 98SE box that was connected to a cable modem via cable router. Ubuntu recognized whatever it needed to see for the RoadRunner connection and the computer shares it with the other computers in my apartment in exactly the same way as it does under Windows.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •