Flux rss
Bookmark Bookmark & Share
Condividere una connessione Internet con Jana server Partilhar uma ligação Internet com Jana Server Mit Jana server eine Internetverbindung gemeinsam nutzen Partager une connexion Internet avec Jana Server Cómo compartir una conexión a Internet con el servidor Jana

Advantages

If you have a local area network (two or more computers connected in a network, that is, each having a network card) with one computer connected to the Internet (via a modem, using a cable, etc.), it may be useful to make the Internet accessible to the other computers on the network (the clients) by installing a software program that will serve as a proxy server.

proxy server

A proxy makes it possible to share a connection, that is, it gives the network's computers access by proxy, by redirecting information (generally web pages requested by the LAN's computers).

However, the more users there are, the lower the bandwidth for each of them will be, since the users share the proxy's bandwidth with each other... For example, if 8 people are connected to a modem at 56,000 bauds, only 7,000 bauds will be left per person, or...not much: no point for 8 people to be surfing the Web...

Setting up the server

The server will be the computer on the local area network that is connected to the Internet. To be able to use the Jana server, you need to make sure the TCP/IP protocol is correctly installed on the computer that will be used as server (Control panel/Network).

If the server is connected to the Internet via a modem, the following two protocols should appear in the control panel/network window:

  • TCP/IP -> NE2000 compatible card (or the name of the network card connected to the local area network)
  • TCP/IP -> Remote access card

network properties

You need to make sure the IP address (click the name of your card then go to the properties tab) of the NE2000 compatible card is 192.168.0.1 (it may be different but this is the address that is usually given to the proxy). The properties of the remote access card's TCP/IP protocol are provided by your Internet service provider, so there is no point in modifying them!

If the computer is connected to the Internet via a network card (cable, ADSL or other), there are two possibilities:

  • The server has two network cards (one connected to the internet - via a cable modem for example - and the other connected to the local area network); the TCP/IP protocol needs to be defined for the two cards. In this case the following two protocols should appear in the control panel/network window:
    • TCP/IP -> NE2000 compatible card (or the name of the network card connected to the local area network)
    • TCP/IP -> NE2000 compatible card (or the name of the network card connected to the Internet)
  • The server has only one network card. In this case you need to use a hub by connecting all of the LAN's computers to the hub with a straight-through cable, and the modem with a cross-over cable.

The next step is to modify the IP address in the TCP/IP properties of the Internet-connected card (you will assign it the address 10.0.0.10 if it is an ADSL connection, and 192.168.0.1 otherwise).

Then configure the subnet mask to 255.255.255.0

Setting up clients

Each of the machines on the local area network is connected via a network card (using a BNC or RJ45 cable). As in the case with the server, you need to set up the TCP/IP protocol on all of the machines connected to the server (the clients) and assign them a unique IP address.

  • in the case of an ADSL connection, you need to assign them the addresses 10.0.0.X (X being a unique value from 11 to 255 for each client)
  • otherwise, you need to assign them the addresses 192.168.0.X, 192.168.0.3 (X being a unique value from 2 to 255 for each client)

Installing the proxy server

The next step involves retrieving the proxy server (software). We will use Jana Server, a free and efficient proxy server you can download from CCM:
Download here! (size 300KB)

Once the download has finished, double-click the executable file then follow the instructions (the first messages are merely warnings, of no use if you correctly followed the previous steps).

Configuring the server

After the installation and launch, a red "J" should appear in your taskbar. Simply double-click on it, then select "configuration" (you will be asked for a password. Enter the password of your choice and make sure you'll remember it :).

By default, Jana is configured to manage only connections from the web (HTTP protocol).

  • To surf the net, check Behave as Https, Ftp, gopher proxy
  • If no other similar service is launched, you can check all the services that interest you

The number of threads represents the maximum number of users that can simultaneously connect via the proxy, whereas the maximum number of connections represents the total number of sessions the users can open (a user can open several sessions at the same time)

Moreover, the Proxy,Socks page defines the ports that are assigned to each of the services. By default, the HTTP port will be 8080, the SOCKS port will be 1080 (SOCKS4 and 5), and the port assigned to RealAudio will be 1090/554.

Configuring clients

To make it possible for clients to access the Internet, it is necessary to configure each application to specify that the connection is being made via the proxy.

All recent Internet-related applications (browsers, FTP clients, ICQ, etc.) have a "proxy server" option sometimes mistakenly called a firewall; this option may look like this:

In the address field, you need to enter the address of the machine being used as server (that is, 192.168.0.1 in general) as well as the port associated with the application (8080 by default).

Configuring the Internet browser

To configure your internet browser, simply go to preferences (options, configuration...) and find the option "connect using a proxy server".
In the first field, enter the proxy's address (192.168.0.1) and in the second enter the port (8080). Some browsers will ask you for proxy addresses for each service, the two main services being http and ftp, for which you will complete the field as described above.

To configure IE4

  • Select View/Internet Options/Connections
  • Under proxy server check Access the Internet using a proxy server and click Advanced
  • Under proxy server/address, enter the server's IP address (192.168.0.1 in theory)
  • Under proxy server/port, enter the port you assigned to the server (by default, 8080)

To configure IE5

  • Select Tools/Internet Options/Connections/LAN settings...
  • Under proxy server check use a proxy server and click Advanced
  • Under server/proxy address to use, enter the server's IP address (192.168.0.1 in theory)
  • Under server/port, enter the port you assigned to the server (by default, 8080)

To configure Netscape

  • Select Edit/Preferences/Advanced/Proxies
  • Check Manual configuration, then click view
  • Under server/proxy address to use, enter the server's IP address (192.168.0.1 in theory)
  • Under server/port, enter the port you assigned to the server (by default, 8080)

Configuring an FTP client

Programs such as CuteFTP, WS_FTP, etc. generally have an option in the preferences that lets you specify the address of a proxy server; in this case enter the address of the computer running Jana server (192.168.0.1) then enter port 21.
You have the option of entering a password if you restricted access on Jana server by assigning passwords to the local area network's users.

This process will give the network's computers access to FTP sites on port 21. To be able to access FTP sites on other ports, you will need to use FTP clients that accept the SOCKS service. SOCKS is a service that makes it possible to dynamically open ports on the proxy, and is the only way to be able to use applications whose port is variable (FTP on ports other than 21, IRC, etc.)

Configuring a messaging client

Messaging or e-mail is the most widely used service on the Internet; it is therefore essential that you be able to use it when sharing a connection on a local area network. The e-mail service includes two main functions:

  • e-mail sending (SMTP)
  • e-mail receiving (POP3)

Configuring e-mail involves

  • defining real configuration options (those provided by your ISP) on the machine being used as proxy
  • defining virtual users (corresponding to users of the local area network) in Jana server
  • configuring messaging clients on the local network's other machines by providing them with the address of the machine being used as proxy server).

The first operation involves configuring each user in the email users tab in Jana Server, then adding as many users as there are machines connected to the local area network.

The local settings field will contain a name, an e-mail address, a login and a virtual password for the user (settings the user will enter in its messaging client).

The name of the SMTP server will be that of the machine connected to the internet, and the e-mail will be that of the user.

The settings of the POP3 account will be those of the user, as if it were his machine.

configuring a messaging client Each user must configure his messaging client with the items entered in the Local Settings field of Jana Server.

Appendix

The software program Jana Server as well as similar free software programs are available in the downloading area of this section. The configuration of network computers follows the same procedure with the other software programs. For more details, refer to the help guides for these programs.

If you have questions, feel free to ask them in the forum!


Previous page Next page

Last update on Thursday October 16, 2008 02:43:21 PM.This document entitled « Sharing an Internet connection with Jana Server » from Kioskea (en.kioskea.net) is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the licence, as this note appears clearly.
Sharing Internet connection using bridge mode Sharing Internet connection using bridge mode Sharing via bridge mode Installing bridge-utils Notes Internet connection can be shared with another computer if you have a free Ethernet port Sharing via bridge mode When using a box,... en.kioskea.net/faq/sujet-1089-sharing-internet-connection-using-bridge-mode
Unable to share internet connection 2pc Hello, I have mobile jasjam, I connect throught my mobile internet but i want to share internet connection another pc with Lancard, but i cannot able to share, pls help me. en.kioskea.net/forum/affich-24064-unable-to-share-internet-connection-2pc
Sharing internet connection using router Hello, I wish to share an internet connection btw a laptop (host computer:o/s Windows Vista) that has a wireless connection and a pc (o/s Windows XP) that will be connected via wire to Linksys router. The internet connection is working fine on the... en.kioskea.net/forum/affich-42202-sharing-internet-connection-using-router
FAILED TO CONNECT TO SERVER – Opening portsFAILED TO CONNECT TO SERVER – Opening ports To access your computer from outside via VNC, you should open ports 5800,5801,5900 and 5901 on your firewall (Zone Alarm, Norton Internet Security, etc.). en.kioskea.net/faq/sujet-1385-failed-to-connect-to-server-a-opening-ports
LAN, Internet connection: choosing your routerLAN,Internet connection:Choosing your Router Intro Case 1 Case 2 Case 3 Options and features to consider Standards required for a WiFi router New Standards Intro A router comes in the shape of a box connected to your computer.... en.kioskea.net/faq/sujet-1845-lan-internet-connection-choosing-your-router
Disable IPv6 will speed internet connectionsDisable IPv6 will speed internet connections Myth Reality Explanation Conclusion Disabling the IPv6 support. Myth Disable IPv6 will speed internet connections. Reality True, only under certain circumstances Explanation Internet... en.kioskea.net/faq/sujet-758-disable-ipv6-will-speed-internet-connections
Share internet connection winxp and VistaHello, Hello, Guys need help with my computer internet configuration I have a connection with LAN connected to internet all of that is Windows XP Operating system its all sharing printer, and folder then we have a Toshiba laptop with Windows Vista... en.kioskea.net/forum/affich-21280-share-internet-connection-winxp-and-vista
Sharing file and internet between 2 computersHello, i've connected 2 com through LAN connection. also i have shared internet. it was working properly. Sometimes after i restart any one of the computers, they couldn't share anyfile each other. I tried ping . but 'request time out' seems. I really... en.kioskea.net/forum/affich-11601-sharing-file-and-internet-between-2-computers
Sharing wimax reliance internet connectionHello, please tell me how to share wimax internet connection using router and and without using router en.kioskea.net/forum/affich-55907-sharing-wimax-reliance-internet-connection
Sharing an Internet connection with Jana ServerAdvantagesIf you have a LAN (two or more computers connected in a network, i.e., each has a network card), of which one is connected to the Internet (via a modem, cable, etc.), it may be worthwhile to make the Internet accessible to the other... en.kioskea.net/contents/pratique/partage2.php3
Sharing an Internet connectionAdvantages If you have a local area network (two or more computers connected in a network) with one computer connected to the Internet (via a modem, using a cable, etc.), it may be useful to make the connection accessible to the other computers on... en.kioskea.net/contents/configuration-reseau/partage-connexion-internet.php3
Sharing an Internet connection in Windows XPAdvantages If you have a local area network (two or more computers connected in a network) with one computer connected to the Internet (via a modem, using a cable, etc.), it may be useful to make the Internet accessible to the other computers on... en.kioskea.net/contents/configuration-reseau/partage-xp.php3