Serveis de xarxa

This screen and the one for Sharing are only visible if the drakwizard package is installed. You can choose between several tools to set up different servers. Click on a link below or on “Compartició”to learn more.

Configura DHCP

drakwizard dhcp

Nota

This tool is broken in Mageia 4 because of new naming scheme for the Net interfaces

This tool[7] can help you to set up a DHCP server. It is a component of drakwizard which should be installed before you can access to it.

What is DHCP?

The Dynamic Host Configuration Protocol (DHCP) is a standardized networking protocol used on IP networks that dynamically configures IP addresses and other information that is needed for Internet communication. (From Wikipedia)

Setting up a DHCP server with drakwizard dhcp

Benvingut/da a l'auxiliar del servidor DHCP.

  1. Introducció

    The first page is just an introduction, click Next.

  2. Selecting Adaptor

    Choose the network interface, which is connected to the subnet, and for which DHCP will assign IP addresses, and then click Next.

  3. Select IP range

    Select the beginning and ending IP addresses of the range of IPs you want the server to offer, along with the IP of the gateway machine connecting to some place outside the local network, hopefully close to the Internet, then click Next.

  4. Resum

    Take a second to check these options, then click Next.

  5. Hold on...

    This can be fixed. Click Previous a few times and change things around.

  6. Hours later...

What is done

  • Instal·lació del paquet dhcp-server, si cal;

  • Saving /etc/dhcpd.conf in /etc/dhcpd.conf.orig;

  • Creating a new dhcpd.conf starting from /usr/share/wizards/dhcp_wizard/scripts/dhcpd.conf.default and adding the new parameters:

    • hname

    • dns

    • net

    • ip

    • mask

    • rng1

    • rng2

    • dname

    • gateway

    • tftpserverip

    • dhcpd_interface

  • Also modifying Webmin configuration file /etc/webmin/dhcpd/config

  • Restarting dhcpd.

Configura DNS

drakwizard bind

This page hasn't been written yet for lack of resources. If you think you can write this help, please contact the Doc team. Thanking you in advance.

You can start this tool from the command line, by typing drakwizard bind as root.

Configura el servidor intermediari

drakwizard squid

This tool[8] can help you to set up a proxy server. It is a component of drakwizard which should be installed before you can access to it.

What is a proxy server?

A proxy server is a server (a computer system or an application) that acts as an intermediary for requests from clients seeking resources from other servers. A client connects to the proxy server, requesting some service, such as a file, connection, web page, or other resource available from a different server and the proxy server evaluates the request as a way to simplify and control its complexity. (From Wikipedia)

Setting up a proxy server with drakwizard squid

Benvingut/da a l'auxiliar del servidor intermediari.

  1. Introducció

    The first page is just an introduction, click Next.

  2. Selecting the proxy port

    Select the proxy port browsers will connect through, then click Next.

  3. Set Memory and Disk Usage

    Set memory and disk cache limits, then click Next.

  4. Select Network Access Control

    Set visibility to local network or world, then click Next.

  5. Grant Network Access

    Grant access to local networks, then click Next.

  6. Use Upper Level Proxy Server?

    Cascade through another proxy server? If no, skip next step.

  7. Upper Level Proxy URL and Port

    Provide upper level proxy hostname and port, then click Next.

  8. Resum

    Take a second to check these options, then click Next.

  9. Start during boot?

    Choose if the proxy server should be started during the boot time, then click Next.

  10. Fi

    You're done! Click Finish.

What is done

  • Instal·lació del paquet squid, si cal;

  • Saving /etc/squid/squid.conf in /etc/squid/squid.conf.orig;

  • Creating a new squid.conf starting from squid.conf.default and adding the new parameters:

    • cache_dir

    • localnet

    • cache_mem

    • http_port

    • level 1, 2 or 3 and http_access according to level

    • cache_peer

    • visible_hostname

  • Restarting squid.

Configura l'hora

drakwizard ntp

This tool[9] purpose is to set the time of your server synchronised with an external server. It isn't installed by default and you have to also install the drakwizard and drakwizard-base packages.

Setup a NTP server with drakwizard ntp

  1. After a welcome screen (see above), the second one ask you to choose three time servers in the drop down lists and suggests to use pool.ntp.org twice because this server always points to available time servers.

  2. The following screens allows to choose the region and the city and then, you arrive on a summary. If something is wrong, you can obviously change it using the Previousbutton. If everything is right, click on the Next button to proceed to the test. It may take a while and you finally get this screen below:

  3. Click on the Finish button to close the tool

What is done

This tool executes the following steps:

  • Instal·lació del paquet ntp, si cal.

  • Saving the files /etc/sysconfig/clock to /etc/sysconfig/clock.orig and /etc/ntp/step-tickers to /etc/ntp/step-tickers.orig;

  • Writing a new file /etc/ntp/step-tickers with the list of servers;

  • Modifying the file /etc/ntp.conf by inserting the first server name;

  • Stopping and starting crond, atd and ntpd services;

  • Setting the hardware clock to the current system time with UTC reference.

Configuració del dimoni OpenSSH

drakwizard sshd

This tool[10] can help you to set up an SSH daemon.

What is SSH?

Secure Shell (SSH) is a cryptographic network protocol for secure data communication, remote command-line login, remote command execution, and other secure network services between two networked computers that connects, via a secure channel over an insecure network, a server and a client (running SSH server and SSH client programs, respectively). (From Wikipedia)

Setting up an SSH daemon with drakwizard sshd

Benvingut/da a l'auxiliar d'Open SSH.

  1. Select Type of Configure Options

    Choose Expert for all options or Newbie to skip steps 3-7, click Next.

  2. Opcions generals

    Sets visibility and root access options. Port 22 is the standard SSH port.

  3. Authentication Methods

    Allow a variety of authentication methods users can use while connecting, then click Next.

  4. Logging

    Choose logging facility and level of output, then click Next.

  5. Login Options

    Configure per-login settings, then click Next.

  6. User Login Options

    Configure the user access settings, then click Next.

  7. Compression and Forwarding

    Configure X11 forwarding and compression during transfer, then click Next.

  8. Resum

    Take a second to check these options, then click Next.

  9. Fi

    You're done! Click Finish.



[7] You can start this tool from the command line, by typing drakwizard dhcp as root.

[8] You can start this tool from the command line, by typing drakwizard squid as root.

[9] You can start this tool from the command line, by typing drakwizard ntp as root.

[10] You can start this tool from the command line, by typing drakwizard sshd as root.


CC BY-SA 3.0
Uploaded on 11/03/2021
loading table of contents...