Ndaj linjën e internetit me kompjuterët e tjerë vendas

drakgw

Parimet

This is useful when you have a computer (3) which has Internet (2) access and is connected also to a local network (1). You can use computer (3) as a gateway to give that access to other workstations (5) and (6) in the local network (1). For this, the gateway must have two interfaces; the first one such as an ethernet card must be connected to the local network, and the second one (4) connected to the Internet (2).

The first step is to verify that the network and the access to Internet are set up, as documented in seksioni i quajtur “Qendra Rrjetit”.

Gateway wizard

The wizard[23] offers successive steps which are shown below:

  • Nëse udhëzuesi nuk ka zbuluar të paktën dy ndërfaqe, ai paralajmëron për këtë dhe kërkon për të ndaluar rrjetin dhe konfiguro pajisjet-elektronike.

  • specifiko ndërfaqen përdorur për lidhjen e internetit. Udhëzuesi automatikisht sugjeron një nga ndërfaqet, por ju duhet të verifikoni se ajo që është propozuar është e saktë.

  • përcakto se cila ndërfaqe është përdorur për hyrjen Lan. Udhëzuesi gjithashtu propozon një, kontrolloni se kjo është e saktë.

  • Udhëzuesi propozon parametrat për rrjetin Lan, të tilla si adresa IP, maskë dhe emrin e domain. Kontrolloni se këto parametra janë në përputhje me konfigurimin aktual. Është e rekomanduar që ju të pranoni këto vlera.

  • specify if the computer has to be used as a DNS server. If yes, the wizard will check that bind is installed. Otherwise, you have to specify the address of a DNS server.

  • specify if the computer is to be used as a DHCP server. If yes, the wizard will check that dhcp-server is installed and offer to configure it, with start and end addresses in the DHCP range.

  • specify if the computer is to be used as a proxy server. If yes, the wizard will check that squid is installed and offer to configure it, with the address of the administrator (admin@mydomain.com), name of the proxy (myfirewall@mydomaincom), the port (3128) and the cache size (100 Mb).

  • The last step allows you to check if the gateway machine is connected to printers and to share them.

Ju do të paralajmëroheni në lidhje me nevojën për të kontrolluar nëse muri-mbrojtës është aktiv.

Konfiguro klientin

If you have configured the gateway machine with DHCP, you only need to specify in the network configuration tool that you get an address automatically (using DHCP). The parameters will be obtained when connecting to the network. This method is valid whatever operating system the client is using.

If you must manually specify the network parameters, you must in particular specify the gateway by entering the IP-address of the machine acting as the gateway.

Stop connection sharing

If you want to stop sharing the connection on the Mageia computer, launch the tool. It will offer to reconfigure the connection or to stop the sharing.



[23] You can start this tool from the command line, by typing drakgw as root.


CC BY-SA 3.0
Uploaded on 14/07/2017
loading table of contents...