Moxa W321-LX [60/80] Setup 2 ethernet bridging for private networks on the same subnet

Moxa W321-LX [60/80] Setup 2 ethernet bridging for private networks on the same subnet
W321/341 Linux
-21
To create an indirect connection to Host A from Host B, you need to add the following routing item:
route add –net 192.168.2.0 netmask 255.255.255.0 dev eth0
Now ping Host B from Host A by typing:
ping 192.168.4.174
A successful ping indicates that you have created a VPN system that only allows authorized users from one
internal network to access users at the remote site. For this system, all data is transmitted by UDP packets
on port 5000 between OpenVPN peers.
7. To shut down OpenVPN programs, type the command:
# killall -TERM openvpn
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”.

Содержание

Похожие устройства

Скачать
Случайные обсуждения