This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
user_guide:openvpn_bridges_prep_coova [2016/09/26 08:53] – admin | user_guide:openvpn_bridges_prep_coova [2016/10/06 06:18] (current) – [Making things permanent] admin | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== OpenVPN Bridges => Prepare Coova Chilli ====== | + | ====== OpenVPN Bridges ====== |
+ | ===== | ||
+ | |||
===== Building and Installing Coova Chilli ===== | ===== Building and Installing Coova Chilli ===== | ||
* Download the latest release of Coova Chilli. (Version 1.3.1.4 at the time of this writing) | * Download the latest release of Coova Chilli. (Version 1.3.1.4 at the time of this writing) | ||
Line 22: | Line 24: | ||
sudo apt install devscripts debhelper gengetopt libtool automake | sudo apt install devscripts debhelper gengetopt libtool automake | ||
</ | </ | ||
- | * Build the package: | + | * Build and install |
<code bash> | <code bash> | ||
cd coova-chilli-1.3.1.4/ | cd coova-chilli-1.3.1.4/ | ||
Line 87: | Line 89: | ||
HS_DYNIP=10.101.1.1 | HS_DYNIP=10.101.1.1 | ||
HS_DYNIP_MASK=255.255.0.0 | HS_DYNIP_MASK=255.255.0.0 | ||
- | HS_STATIP=10.101.0.2 | + | HS_STATIP=10.101.0.1 |
- | HS_STATIP_MASK=255.255.0.0 | + | HS_STATIP_MASK=255.255.255.0 |
# HS_DNS_DOMAIN= | # HS_DNS_DOMAIN= | ||
Line 107: | Line 109: | ||
HS_DYNIP=10.102.1.1 | HS_DYNIP=10.102.1.1 | ||
HS_DYNIP_MASK=255.255.0.0 | HS_DYNIP_MASK=255.255.0.0 | ||
- | HS_STATIP=10.102.0.2 | + | HS_STATIP=10.102.0.1 |
- | HS_STATIP_MASK=255.255.0.0 | + | HS_STATIP_MASK=255.255.255.0 |
# HS_DNS_DOMAIN= | # HS_DNS_DOMAIN= | ||
Line 128: | Line 130: | ||
HS_DYNIP=10.103.1.1 | HS_DYNIP=10.103.1.1 | ||
HS_DYNIP_MASK=255.255.0.0 | HS_DYNIP_MASK=255.255.0.0 | ||
- | HS_STATIP=10.103.0.2 | + | HS_STATIP=10.103.0.1 |
- | HS_STATIP_MASK=255.255.0.0 | + | HS_STATIP_MASK=255.255.255.0 |
# HS_DNS_DOMAIN= | # HS_DNS_DOMAIN= | ||
Line 173: | Line 175: | ||
===== Making things permanent ===== | ===== Making things permanent ===== | ||
* Ensure that CoovaChilli will start up after reboots. | * Ensure that CoovaChilli will start up after reboots. | ||
+ | * If your server only has one interface card, add this line to the **/ | ||
+ | <code bash> | ||
+ | #Add the startup of OpenVPN | ||
+ | / | ||
+ | |||
+ | #Start up Chill | ||
+ | / | ||
+ | |||
+ | exit 0 | ||
+ | |||
+ | </ | ||
+ | * If your server has two interface cards, issue the following command: | ||
<code bash> | <code bash> | ||
sudo update-rc.d chilli start 99 2 3 4 5 . stop 20 0 1 6 . | sudo update-rc.d chilli start 99 2 3 4 5 . stop 20 0 1 6 . |