Moxa Technologies 331 User Manual Page 51

  • Download
  • Add to my manuals
  • Print
  • Page
    / 69
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 50
Moxa C Programmable RTU Controllers Managing Communications
4-17
Mail
smtpclient is a minimal SMTP client that takes an email message body and passes it on to an SMTP server. It
is suitable for applications that use email to send alert messages or important logs to a specific user.
NOTE
Click on the following link for more information about smtpclient:
http://www.engelschall.com/sw/smtpclient/
To send an email message, use the ‘smtpclient’ utility, which uses SMTP protocol. Type #smtpclient help to
see the help message.
Example:
smtpclient s test f sender@company.com S IP_address receiver@company.com
< mail-body-message
-s: The mail subject.
-f: Sender’s mail address
-S: SMTP server IP address
The last mail address receiver@company.com is the receiver’s e-mail address. mail-body-message is the
mail content. The last line of the body of the message should contain ONLY the period ‘.’ character.
You will need to add your hostname to the file /etc/hosts.
OpenVPN
OpenVPN provides two types of tunnels for users to implement VPNS: Routed IP Tunnels and Bridged
Ethernet Tunnels. To begin with, make sure that the system has a virtual device /dev/net/tun. If not, issue
the following command:
# mknod /dev/net/tun c 10 200
An Ethernet bridge is used to connect different Ethernet networks together. The Ethernets are bundled into one
bigger, “logical” Ethernet. Each Ethernet corresponds to one physical interface (or port) that is connected to the
bridge.
On each OpenVPN machine, you should generate a working directory, such as /etc/openvpn, where script
files and key files reside. Once established, all operations will be performed in that directory.
NOTE
Network interface definition may be different in in different product lines. For ioLogik W5348 series, eth0 =
ppp0(WAN)
eth1 = eth0(LAN)
In the following examples, the OpenVPN A and B represent two Moxa RTU controllers. Note the network
interface definition may be different in different product lines. For ioLogik W5348 series, eth0in the example
will be ppp0(cellular WAN), and the eth1in the example will be the eth0(LAN)
Page view 50
1 2 ... 46 47 48 49 50 51 52 53 54 55 56 ... 68 69

Comments to this Manuals

No comments