Moxa RM-1050-T — настройка Ethernet Bridging для частных сетей с OpenVPN [40/52]
Превью страниц
Страница 40 /
52
![Moxa RM-1050-T [40/52] Setup 1 ethernet bridging for private networks on different subnets](/views2/1201435/page40/bg28.png)
ioPAC RTU Software RTU Communications
4-15
Setup 1: Ethernet Bridging for Private Networks on Different Subnets
1. Set up four machines, as shown in the following diagram.
Host A (B) represents one of the machines that belongs to OpenVPN A (B). The two remote subnets are
configured for a different range of IP addresses. When this setup is moved to a public network, the external
interfaces of the OpenVPN machines should be configured for static IPs, or connect to another device (such as
a firewall or DSL box) first.
# openvpn --genkey --secret secrouter.key
Copy the file that is generated to the OpenVPN machine.
2. Create link symbols to enable this script at boot time:
# ln -s /etc/openvpn/openvpn-bridge /etc/rc.d/rc3.d/S32vpn-br # for example
# ln -s /etc/openvpn/openvpn-bridge /etc/rc.d/rc6.d/K32vpn-br # for example
3. Create a configuration file named A-tap0-br.conf and an executable script file named A-tap0-br.sh on
OpenVPN A.
# point to the peer
remote 192.168.8.174
dev tap0
secret /etc/openvpn/secrouter.key
cipher DES-EDE3-CBC
auth MD5
tun-mtu 1500
tun-mtu-extra 64
ping 40
up /etc/openvpn/A-tap0-br.sh
#----------------------------------Start------------------------------
#!/bin/sh
# value after “-net” is the subnet behind the remote peer
route add -net 192.168.4.0 netmask 255.255.255.0 dev br0
#---------------------------------- end ------------------------------
Create a configuration file named B-tap0-br.conf and an executable script file named B-tap0-br.sh on
OpenVPN B.
# point to the peer
remote 192.168.8.173
dev tap0
secret /etc/openvpn/secrouter.key
Содержание
150- Www moxa com product
- Iopac rtu software user s manual
- First edition july 2013
- Www moxa com support
- Trademarks
- Technical support contact information
- Iopac rtu software user s manual
- Disclaimer
- Copyright notice
- Table of contents
- Introduction
- Supported products
- Software architecture
- Related documents
- Overview
- Iopac rtu software introduction
- Journaling flash file system jffs2
- Iopac rtu software introduction
- Software package
- Iopac rtu software introduction
- Getting started
- Modifying network settings with the serial console
- Iopac rtu software getting started
- Hardware and software requirements
- Development procedure
- Developing the first program
- Configuring the ethernet interface
- Modifying network settings over the network
- Iopac rtu software getting started
- Connect an rtu to a linux pc
- Install the toolchain onto the pc
- Develop code compile the program
- Set cross compiler glibc environment variables
- Root localhost telnet 192 68 27 54 trying 192 68 27 54 connected to 192 68 27 54 escape character is moxa login
- Root localhost telnet 192 68 27 54
- Root localhost path usr local arm linux bin path
- Root localhost mount dev cdrom mnt cdrom root localhost sh mnt cdrom software toolchain arm linux_vx x sh
- Root localhost cd tmp root localhost tmp mkdir example root localhost tmp cp r mnt cdrom software sample hello_world tmp example
- Root localhost cd tmp example hello_world root localhost tmp example hello_world make
- Iopac rtu software getting started
- Upload run the program
- Root moxa home chmod x hello_world root moxa home hello_world
- Root moxa df h
- Root localhost tmp example hello_world make usr local arm linux bin arm linux gcc i usr local arm linux include i usr local arm linux include rtu o hello_world hello_world o l usr local arm linux lib lpthread lmxml l usr local arm linux lib rtu lmoxa_rtu lrtu_common ltag wl rpath lib rtu wl allow shlib undefined
- Root localhost tmp example hello_world ftp 192 68 27 54
- Root localhost telnet 192 68 27 54
- Put hello_world
- Iopac rtu software getting started
- Rtu management
- Upgrading the firmware
- System information
- Iopac rtu software rtu management
- Firmware upgrade and default settings
- Attention
- Iopac rtu software rtu management
- Recovering the firmware
- Iopac rtu software rtu management
- Loading factory defaults
- Iopac rtu software rtu management
- Enabling and disabling daemons
- Iopac rtu software rtu management
- Run level settings
- Iopac rtu software rtu management
- Iopac rtu software rtu management
- System time setting
- Setting the time manually
- Updating the time with ntp client
- Updating the time automatically
- Iopac rtu software rtu management
- Ntp server setting
- Iopac rtu software rtu management
- Executing scheduled commands with cron daemon
- Software lock
- Iopac rtu software rtu management
- Rtu communications
- Modbus tcp master and slave
- Iopac rtu software rtu communications
- Internet configuration
- Enabling the telnet ftp server
- Disabling the telnet ftp server
- Telnet ftp
- Iptables
- Iopac rtu software rtu communications
- Iopac rtu software rtu communications
- Observe and erase chain rules
- Iopac rtu software rtu communications
- Examples
- Iopac rtu software rtu communications
- Examples
- Define policy for chain rules
- Append or delete rules
- Nat snat
- Iopac rtu software rtu communications
- Iopac rtu software rtu communications
- Enabling nat at bootup
- Iopac rtu software rtu communications
- Ppp dial up service
- Port forwarding dnat
- Iopac rtu software rtu communications
- Example 1 connecting to a ppp server over a simple dial up connection
- Iopac rtu software rtu communications
- How to check the connection
- Example 2 connecting to a ppp server over a hard wired link
- Setting up a machine for incoming ppp connections
- Iopac rtu software rtu communications
- Iopac rtu software rtu communications
- Setting up the iopac rtu controller as an nfs client
- Sending mail
- Openvpn
- Nfs network file system client
- Iopac rtu software rtu communications
- Example
- Setup 1 ethernet bridging for private networks on different subnets
- Iopac rtu software rtu communications
- Setup 2 ethernet bridging for private networks on the same subnet
- Iopac rtu software rtu communications
- Setup 3 routed ip
- Iopac rtu software rtu communications
- Ntp server client
- Iopac rtu software rtu communications
- Serial configuration
- Port trunking
- Modbus rtu master
- Iopac rtu software rtu communications
- Rtu data acquisition
- I o data access
- Battery backup sram
- Active opc server
- Millisecond timestamp
- Iopac rtu software rtu data acquisition
- Rtu programming
- Using c c
- Steps for installing the linux toolchain
- Programming guide
- Memory usage
- Linux toolchain
- Iopac rtu software rtu programming
- Iopac rtu software rtu programming
- Compilation for applications
- On line debugging with gdb
- Library and apis
- Iopac rtu software rtu programming
- Editor
- A system commands
- System commands
- File manager
- Process
- Network
- Moxa special utilities
- Iopac rtu software system commands
Похожие устройства
-
Moxa ioPAC 5542-HSPA-IEC-TТехнические характеристики -
Moxa ioPAC 5542-HSPA-IEC-TРуководство по аппаратной части -
Moxa ioPAC 5542-HSPA-IEC-TИнструкция по эксплуатации -
Moxa ioPAC 5542-IEC-TТехнические характеристики -
Moxa ioPAC 5542-IEC-TРуководство по аппаратной части -
Moxa ioPAC 5542-IEC-TИнструкция по эксплуатации -
Moxa ioPAC 5542-HSPA-C-TРуководство по аппаратной части -
Moxa ioPAC 5542-HSPA-C-TТехнические характеристики -
Moxa ioPAC 5542-HSPA-C-TИнструкция по эксплуатации -
Moxa ioPAC 5542-C-TРуководство по аппаратной части -
Moxa ioPAC 5542-C-TТехнические характеристики -
Moxa ioPAC 5542-C-TИнструкция по эксплуатации
Узнайте, как настроить Ethernet Bridging для частных сетей с использованием OpenVPN. Подробные шаги по конфигурации и созданию необходимых файлов.