Red Hat LINUX VIRTUAL SERVER 4.7 - ADMINISTRATION Guia de Instalação Página 36

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 59
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 35
servers that IPVS does not know about:
/sbin/iptables -t nat -A POSTROUTING -p tcp -s n.n.n.0/24 --sport 20 -j
MASQUERADE
In the iptables command, n.n.n should be replaced with the first three values for the floating IP for
the NAT interface's internal network interface defined in the GLOBAL SETTINGS panel of Piranha
Configurat ion Tool.
3.5.3.2. Rules for Passive Connect ions
The rules for passive connections assign the appropriate firewall mark to connections coming in from
the Internet to the floating IP for the service on a wide range of ports 10,000 to 20,000.
Warning
If you are limiting the port range for passive connections, you must also configure the VSFT P
server to use a matching port range. This can be accomplished by adding the following lines to
/etc/vsftpd.conf:
pasv_m in_port=10000
pasv_m ax_port=20000
You must also control the address that the server displays to the client for passive FTP
connections. In a NAT routed LVS system, add the following line to /etc/vsftpd.conf to
override the real server IP address to the VIP, which is what the client sees upon connection. For
example:
pasv_address=n.n.n.n
Replace n.n.n.n with the VIP address of the LVS system.
For configuration of other FT P servers, consult the respective documentation.
This range should be a wide enough for most situations; however, you can increase this number to
include all available non-secured ports by changing 10000:20000 in the commands below to
1024 :65535.
The following iptables commands have the net effect of assigning any traffic addressed to the
floating IP on the appropriate ports a firewall mark of 21, which is in turn recognized by IPVS and
forwarded appropriately:
/sbin/iptables -t m angle -A PREROUTING -p tcp -d n.n.n.n/32 --dport 21 -j
MARK --set-m ark 21
/sbin/iptables -t m angle -A PREROUTING -p tcp -d n.n.n.n/32 --dport
10000:20000 -j MARK --set-m ark 21
In the iptables commands, n.n.n.n should be replaced with the floating IP for the FTP virtual server
defined in the VIRTUAL SERVER subsection of Piranha Configurat ion Tool.
Warning
The commands above take effect immediately, but do not persist through a reboot of the system.
To ensure network packet filter settings are restored after a reboot, see Section 3.6, Saving
Network Packet Filter Settings
Chapter 3. Setting Up LVS
33
Vista de página 35
1 2 ... 31 32 33 34 35 36 37 38 39 40 41 ... 58 59

Comentários a estes Manuais

Sem comentários

Electrolux IF53X manuals

Owner’s manuals and user’s guides for Unknown Electrolux IF53X.
We providing 1 pdf manuals Electrolux IF53X for download free by document types: User Manual






More products and manuals for Unknown Electrolux

Models Document Type
ESL67040R User Manual   Electrolux ESL67040R Manuale utente [fr] , 20 pages
EGS6648NOX User Manual     Electrolux EGS6648NOX User Manual [en] , 56 pages
ERB36098X User Manual   Electrolux ERB36098X Руководство пользователя, 23 pages
ERB2945 User Manual     Electrolux ERB2945 Uživatelský manuál, 68 pages
FEH60G3100 User Manual    Electrolux FEH60G3100 User Manual [sq] , 36 pages
EWI1235 User Manual   Electrolux EWI1235 Uživatelský manuál, 27 pages
ESF67060XR User Manual   Electrolux ESF67060WR Brugermanual, 68 pages
ESI67070XR User Manual   Electrolux ESI67070XR Manuel utilisateur, 20 pages
EDC46130W User Manual   Electrolux EDC46130W Ohjekirja, 51 pages
EKV5601 User Manual   Electrolux EKV5601 User Manual, 20 pages
ESL6601RA User Manual     Electrolux ESL6601RA Kasutusjuhend, 48 pages
EON3430AOX User Manual    Electrolux EON3430AOX User Manual [en] , 64 pages
EWT832 User Manual   Electrolux EWT832 Uživatelský manuál, 21 pages
EVY0841BAX User Manual   Electrolux EVY0841BAX User Manual [sv] , 68 pages
EFC9650X User Manual   Electrolux EFC9650X User Manual [lv] , 12 pages
76BS - LÂMINA Information Sheet   Electrolux 76BS - LÂMINA Information Sheet [pt] , 1 pages
EW1232F User Manual   Electrolux EW1232F Руководство пользователя, 20 pages
EHGL3SP User Manual   Electrolux EHGL3SP User Manual, 36 pages
GA60SXV500 User Manual   Electrolux GA60SXV500 Benutzerhandbuch, 48 pages
ENB3269S User Manual   Electrolux ENB3269S User Manual [he] , 13 pages