This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
user_guide:openvpn_bridges_prep_openvpn [2016/09/27 04:28] – [OpenVPN Bridges => Prepare OpenVPN] admin | user_guide:openvpn_bridges_prep_openvpn [2020/08/12 14:16] (current) – [Prepare OpenVPN] admin | ||
---|---|---|---|
Line 2: | Line 2: | ||
===== Prepare OpenVPN ===== | ===== Prepare OpenVPN ===== | ||
* Rather than repeating the already excellent documentationf from Ubuntu, we are just going to give you the URL with the instructions to follow in order to get a OpenVPN server installed and configured. | * Rather than repeating the already excellent documentationf from Ubuntu, we are just going to give you the URL with the instructions to follow in order to get a OpenVPN server installed and configured. | ||
- | * [[https:// | + | * [[https:// |
* You can complete the steps up to and including **Simple Server Configuration**. | * You can complete the steps up to and including **Simple Server Configuration**. | ||
* After this we will remove the **/ | * After this we will remove the **/ | ||
Line 11: | Line 11: | ||
* We are compressing the data | * We are compressing the data | ||
* We are using a username and password given by the client and pass it onto a script to verify if the client is valid. | * We are using a username and password given by the client and pass it onto a script to verify if the client is valid. | ||
- | | + | |
<code bash> | <code bash> | ||
sudo rm / | sudo rm / | ||
Line 20: | Line 20: | ||
===== OpenVPN server config for br0.101 ===== | ===== OpenVPN server config for br0.101 ===== | ||
* Create a file called **/ | * Create a file called **/ | ||
+ | * Be sure to check the correct value for eth0.101. It might be eth1.101 with your config. (up "/ | ||
<code bash> | <code bash> | ||
mode server | mode server | ||
Line 60: | Line 61: | ||
===== OpenVPN server config for br0.102 ===== | ===== OpenVPN server config for br0.102 ===== | ||
* Create a file called **/ | * Create a file called **/ | ||
+ | * Be sure to check the correct value for eth0.102. It might be eth1.102 with your config. (up "/ | ||
<code bash> | <code bash> | ||
mode server | mode server | ||
Line 100: | Line 102: | ||
===== OpenVPN server config for br0.103 ===== | ===== OpenVPN server config for br0.103 ===== | ||
* Create a file called **/ | * Create a file called **/ | ||
+ | * Be sure to check the correct value for eth0.103. It might be eth1.103 with your config. (up "/ | ||
<code bash> | <code bash> | ||
mode server | mode server | ||
Line 161: | Line 164: | ||
* Make it executable | * Make it executable | ||
<code bash> | <code bash> | ||
- | sudo chmod 755 etc/ | + | sudo chmod 755 /etc/ |
</ | </ | ||
Line 197: | Line 200: | ||
===== Check the bridges ===== | ===== Check the bridges ===== | ||
- | * The bridges | + | * Confirm that the bridges each have a tap interface included: |
<code bash> | <code bash> | ||
brctl show | brctl show | ||
Line 236: | Line 239: | ||
</ | </ | ||
+ | |||
+ | <WRAP center round tip 90%> | ||
+ | * If your server | ||
+ | |||
+ | <code bash> | ||
+ | /sbin/brctl addif br0.103 eth1.103 | ||
+ | /sbin/ip addr add 10.103.0.1/ | ||
+ | /sbin/ip link set dev br0.103 up | ||
+ | |||
+ | #Add the startup of OpenVPN | ||
+ | / | ||
+ | |||
+ | exit 0 | ||
+ | |||
+ | </ | ||
+ | |||
+ | </ | ||
+ | |||
* We are making good progress. Next we will install and configure **Coova Chilli** so that it runs an instance on each VLAN. | * We are making good progress. Next we will install and configure **Coova Chilli** so that it runs an instance on each VLAN. |