Maximum capacity of IPTABLES rules, firewall rules.

normally 32 bit system and integer value of count of  IP rules apprx.. some millions.

BUT I tested it myself  on my SERVER.      after 56 000  , (56 Thousands)  it becomes  slower.

 

My server has SSD disk and 16 GB memory.

But this is changable.  If you do good firewall  script, You can  use  2 million IP rules with best performance.

openvpn and generating keys, and without removing old keys

 

secure ftp system IP and Protocol Diagram

SFTP im TCP/IP‑Protokollstapel:
Anwendung SFTP
SSH
Transport TCP
Internet IP (IPv4, IPv6)
Netzzugang Ethernet Token
Bus
Token
Ring
FDDI

SFTP – SSH File Transfer Protocol – usually runs over TCP port 22

FTP – plain, old file transfer protocol – usually runns over TCP port 21 (+ opens separate ports for data transfer)

FTP/SSL – FTP over TSL/SSL channel.

FTPS – same as FTP/SSL

Secure FTP – either SFTP or FTPS

More info:

 

FTP

FTP classic

  • Plain FTP
  • Clear-text password sent over the network
  • Typically runs over TCP port 21
  • Defined by RFC 959 and 1123
  • Implemented in FTP/SSL component

FTP/SSL

FTP over TLS/SSL

  • Often called ‘FTPS’
  • Often called ‘Secure FTP’
  • Plain FTP over TLS/SSL channel
  • Password is encrypted
  • Transfer is encrypted
  • Typically runs over TCP port 21 or 990
  • Defined by RFC 959, 1123, 4217 and 2228
  • Implemented in FTP/SSL component

SFTP

SSH File Transfer Protocol

  • SSH File Transfer Protocol
  • Has nothing common with original FTP
  • Often called ‘Secure FTP’
  • Password is encrypted
  • Transfer is encrypted
  • Typically runs over TCP port 22
  • RFC not yet finished
  • Implemented in SFTP component

 

 

Network Filesystems

NFS Sun’s Network Filesystem (NFS) is the preferred method of file sharing for networks of Unix or Linux computers. The Linux kernel includes both NFS client support

Coda This is an advanced network filesystem that supports features omitted from NFS. These features include better security (including encryption) and improved caching.

SMB/CIFS The Server Message Block (SMB) protocol, which has been renamed the Core Internet Filesystem (CIFS), is the usual means of network file sharing among Microsoft OSs. The Linux kernel includes SMB/CIFS client support, so you can mount SMB/CIFS shares. You can configure your Linux computer as an SMB/CIFS server using the Samba package (http://www.samba.org). The filesystem type code for SMB/CIFS shares is smbfs.

NCP The NetWare Core Protocol (NCP) is NetWare’s file sharing protocol. As with SMB/CIFS, Linux includes basic NCP client support in the kernel, and you can add separate server packages to turn Linux into an NCP server. NCP’s filesystem type code is ncpfs.

Postfix Configuration Files and descriptions

Postfix Configuration Files
The Ubuntu Postfix mail server uses three configuration files, all of which are installed in the
directory /etc/postfix:
dynamicmaps.cf:
Identifies additional capabilities to be loaded at run time based on
the type of operation that is being performed.
main.cf:
Contains configuration information for Postfix that is used during message
processing.
master.cf:
Contains parameters used when the Postfix master program runs other
programs from /usr/lib/postfix.
Postfix can also use standard mailer configuration files such as /etc/aliases (which allows
e‐mail addressed to one user to be automatically delivered to another), but this is not a Postfix-
specific configuration file.
The main.cf configuration file is the only Postfix configuration file that most users will ever
have to modify. As installed on an Ubuntu system, the main.cf configuration file for a system
following the Internet site model looks like the following (I’ve removed some irrelevant com‐
ments and white space):

 

In order, these configuration variables do the following:
myorigin:
An option for Debian and derivative distributions (such as Ubuntu) that
enables you to use the first line of the text file /etc/mailname as the name of the
mailer. This is actually set later in the default file.
smtpd_banner:
Sets the value of the banner that is displayed when an SMTP connec‐
tion is established. In this case, the banner is constructed by using the value of other
variables set in the configuration file.
biff:
Determines whether the local e‐mail notification service (biff) should be used
for each user with new mail each time Postfix processes the incoming mail queue. In
this case, it is disabled because biff notifications can cause a performance drain, and
are relevant only on the machine that houses the mail files. Users who use local mail
files can enable this for themselves.
append_dot_mydomain:
Determines whether Postfix should append a domain name
to mail sent to user@host. Nowadays, this is usually handled by the MUA, so this is
disabled.
delay_warning_time:
Uncommenting this parameter would specify the period of
time after which users would be notified if mail that they had sent had not yet been
delivered. After all, the remote site could be using Microsoft Exchange, and might be
down.
smtpd_tls_cert_file:
Identifies the full pathname of the file on this system that
holds the certificate used by this machine when sending messages using TLS (Transport
Layer Security).
smtpd_tls_key_file:
Identifies the full pathname of the file on this system that
holds the RSA private key for the Postfix SMTP client when sending messages using TLS
(Transport Layer Security).
smtpd_use_tls:
Determines whether this Postfix server should use TLS when a
remote SMTP server announces STARTTLS support. If the remote server does not
announce STARTTLS support, the message is sent in the clear.
1045
Part III: Ubuntu for System Administrators
smtpd_tls_session_cache_database:
Identifies the organization and location of
the SMTP server TLS session cache used by the tlsmgr daemon.
smtp_tls_session_cache_database:
Identifies the organization and location of the
SMTP client TLS session cache used by the tlsmgr daemon.
myhostname:
Identifies the actual Internet hostname of this system. By default, this
value is the value returned by gethostname().
alias_maps:
Identifies the organization and full pathname of the aliases file used for
local mail delivery.
alias_database:
Identifies the organization and full pathname of the aliases file used
for local mail delivery, and which is updated using the traditional newaliases com‐
mand. This is often the same file as that identified by the alias_maps parameter, but
need not be.
myorigin:
Identifies the name of the host or domain that local mail is assumed to come
from and is sent to. On Ubuntu systems, it is the name of a file containing whatever you
specified as the mail name when installing Postfix. This is suitable for single-domain
installations, but insufficient for Postfix mail servers that support multiple domains.
mydestination:
A list of domains for which mail is delivered via local mail delivery. I
specified ubuntu.vonhagen.org as the name of my host when I installed Postfix╃—╃in
most cases, mail.domain-name (i.e., mail.vonhagen.org, in my case) would be the
standard name to use for a mail server to help keep your sysadmins sane and make it
easy to locate/identify your domain’s mail server.
relayhost:
If outgoing mail must be sent to another mail server for delivery, this
parameter identifies that mail server; otherwise, it is empty.
mynetworks:
Identifies the networks or specific hosts from which this mail server will
send mail. This information is specified in both IPv4 and IPv6 formats. In this case, the
mail server will only send mail from the loopback network, which is a problem. This is
discussed in the following section, “Identifying Trusted Hosts and Domains.”
mailbox_size_limit:
Identifies the maximum size of any mailbox on the system. In
this case, 0 means that there is no limit.
recipient_delimiter:
Identifies the separator used internally by the Postfix server
between usernames and addresses.
inet_interfaces:
Identifies the network interfaces on which the machine can receive
mail. In this case, the Postfix server will listen on all network interfaces.
html_directory:
Identifies the location of HTML files that describe how to install and
configure a Postfix server and various Postfix features.
A complete list of Postfix configuration parameters and possible values is available in the files sec‐
tion of the online reference information for the postconf command (man 5 postconf) or online
at locations such as www.postfix.org/postconf.5.html.

Index of Internet Tools

Host Name to IP Address
For a given host name this utility will use DNS to look up the IP address. If an IP address is found, an attempt will be made to locate the country in which the IP address was allocated.
IP Address to Host Name
For a given IP address this utility will interrogate the machine using that IP address to find out its host name. If the given IP address, an attempt will be made to locate the country in which the IP address was allocated.
Flushing DNS tables in Windows
Windows does not always honour the time-to-live (TTL) for DNS records. This can mean that a host than has moved from on server to another is not found as Windows continues to keep the DNS information about the old IP address of the host name. To force Windows to refresh its host name to IP address tables, the Windows DNS tables need to be flushed.
What is an ?net?
Find out the difference between an Internet, Intranet and Extranet.
Uptime
See how long a LINUX computer has been running since it was last booted.
Find
Find files on a LINUX computer
Job Control
Useful commands and techniques to control LINUX jobs
Lastlog
List last login time for all users on a LINUX system
Wtmp
List login and logouts of various users on a LINUX system
Crontab and %
How to use % in a crontab entry and for it to be used as the text character % and not a new line character
Convert Base64 Encoded Data
Convert Base64 Encoded data to ASCII and vice versa. Also convert Base64 Encoded data to EBCDIC
RSS
Syndication of data from a web site
Encryption
Understanding how modern encryption and decryption works
MSIE Download text file
How to get around the problem with MSIE downloading, and not viewing, plain text files
ISO 9001
An overview of the ISO 9001 quality management systems standard
Contracts
An overview of which party’s terms and conditions applies to a contract
Calendar
Show a calendar for any year from 1 AD to 9999 AD with interesting information about Julian and Gregorian calendars
qpsmtpd
Details of some useful qpsmtpd plugins
Yahoo! Delays E-mail
Details on why Yahoo! can delay e-mails to its customers
Other E-mail delays
An explanation of why some emails take a long time to be delivered
Obfuscate E-mail Address
How to hide an e-mail address, on a web page, from spam robots that harvest e-mail addresses
Short URLs
Convert a long URL into a much shorter URL so that it does not wrap in an e-mail message
Dreamweaver Problems
Some easily solved Dreamweaver problems
Generate a QR Code
Generate a bar code that can be read by a mobile phone with a QR Code reader app