Connecting Branch Offices to Home Office WWAN Network

There is no Web Mangement Utility interface for configuring this solution. These steps outline steps from the console.

1. Copy openvpn configuration template for branch office.

cp /etc/openvpn/branchofficetap.conf /conf/openvpn/

2. Copy the shared static key. Note: Generate once and copy to each system.

openvpn --genkey --secret /conf/openvpn/static.key

(cp /etc/openvpn/static.key /conf/openvpn/)

3. Start the script to act as a branch office connection.

/bin/openvpnoffice.sh branch

4. To override any of these variables, create a file /conf/vpnoffice.conf

XWIREAPP=TRUE
#INTERNET="wlan0"
#INTERNET="eth0"
#OFFICE="wlan1"
INTERNET=$WAN_IF
OFFICE=$WWAN_IF
BRIDGE="br0"
HOMEVPNPORTS="1194 1195 1196 1197"
BRANCHVPNPORTS="1194"
# Change this subnet to correspond to your private
# ethernet subnet.
# XXX - Can this be formed from sysconfig -p -s wwan -v v4mask ????
#OFFICE_MASK=169.254.0.0/16

so for example /conf/vpnoffice.conf

BRANCHVPNPORTS="1195"

to override the port to connect to.