Moxa Technologies UC-7420/7410 User Manual

Page 76

Advertising
background image

UC-7420/7410 User’s Manual

Managing Communication

4-24

Note that the parameter “ifconfig” defines the first argument as the local internal interface and
the second argument as the internal interface at the remote peer.

Note that $5 is the argument that the OpenVPN program passes to the script file. Its value is
the second argument of ifconfig in the configuration file.

3. Check the routing table after you run the OpenVPN programs, by typing the command:

# route

Destination Gateway

Genmsk Flags

Metric

Ref Use

Iface

192.168.4.174 * 255.255.255.255

UH 0 0

0

tun0

192.168.4.0 192.168.4.174 255.255.255.0 UG

0

0 0 tun0

192.168.2.0 *

255.255.255.0

U

0

0

0

ixp1

192.168.8.0 *

255.255.255.0

U

0

0

0

ixp0

Advertising