Moxa V2401-CE Руководство по программной части (Linux) онлайн [59/108] 170746

Moxa V2401-CE Руководство по программной части (Linux) онлайн [59/108] 170746
V2401/2402 Series Linux User’s Manual Managing Communications
3-32
And then configure the bridge interface in /etc/openvpn/bridge.
Start the bridge script file to configure the bridge interface.
# /etc/openvpn/bridge restart
ATTENTION
Select cipher and authentication algorithms by specifying cipher and auth. To see which
algorithms are available, type:
# openvpn --show-ciphers
# openvpn --show-auths
8. Start both OpenVPN peers on machine OpenVPN A and OpenVPN B.
# openvpn --config /etc/openvpn/tap0-br.conf&
If you see the line Peer Connection Initiated with 192.168.8.173:5000on each machine, the
connection between OpenVPN machines has been established successfully on UDP port 5000.
ATTENTION
You can create link symbols to start the OpenVPN service at boot time:
# ln -sf /etc/init.d/openvpn /etc/rc2.d/S16openvpn
To stop the service, you should create these links:
# ln -sf /etc/init.d/openvpn /etc/rc0.d/K80openvpn
# ln -sf /etc/init.d/openvpn /etc/rc6.d/K80openvpn
#!/bin/bash
# Create global variables
# Define Bridge Interface
br="br0"
# Define list of TAP interfaces to be bridged,
# for example tap="tap0 tap1 tap2".
tap="tap0"
# Define physical ethernet interface to be bridged
# with TAP interface(s) above.
eth="eth1"
eth_ip="192.168.8.174"
eth_netmask="255.255.255.0"
eth_broadcast="192.168.8.255"
#gw="192.168.8.173"
...

Содержание

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

Скачать