Moxa ioPAC 8500-5-M12-C-T [56/69] Setup 2 ethernet bridging for private networks on the same subnet

Moxa ioPAC 8020-5-M12-C-T [56/69] Setup 2 ethernet bridging for private networks on the same subnet
Moxa C Programmable RTU Controllers Managing Communications
4-19
Setup 2: Ethernet Bridging for Private Networks on the Same Subnet
1. Set up four machines as shown in the following diagram:
2. The configuration procedure is almost the same as for the previous example. The only difference is that you
will need to comment out the parameter “up” in “/etc/openvpn/A-tap0-br.conf” and
“/etc/openvpn/B-tap0-br.conf”.
Setup 3: Routed IP
1. Set up four machines as shown in the following diagram:
2. Create a configuration file named “A-tun.conf” and an executable script file named “A-tun. sh”.
# point to the peer
remote 192.168.8.174
dev tun
secret /etc/openvpn/secrouter.key
cipher DES-EDE3-CBC
auth MD5
tun-mtu 1500
tun-mtu-extra 64
ping 40
ifconfig 192.168.2.173 192.168.4.174
up /etc/openvpn/A-tun.sh
#----------------------------------Start------------------------------
#!/bin/sh
# value after-net” is the subnet behind the remote peer

Содержание

Скачать