FreeSBC Configuration Files:Remote Workers

From TBwiki
(Difference between revisions)
Jump to: navigation, search
(Modifying configuration file)
 
(19 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{DISPLAYTITLE:FreeSBC Configuration Files for Remote Office/Workers Scenario}}
+
{{DISPLAYTITLE:ProSBC Configuration Files for Remote Office/Workers Scenario}}
  
 
__NOTOC__
 
__NOTOC__
 
=Introduction=
 
=Introduction=
FreeSBC Configuration Files for Remote Office/Workers Scenario Tutorial provides you with a scenario-based approach to configuring of [[FreeSBC|FreeSbc]] systems, using sample configuration files. Complete general installation configuration steps, before you begin configuring your specific application.
+
ProSBC Configuration Files for Remote Office/Workers Scenario Tutorial provides you with a scenario-based approach to configuring [[ProSBC|ProSbc]] systems, using sample configuration files. Complete general installation configuration steps, before you begin configuring your specific application.
  
 
==Prerequisites==
 
==Prerequisites==
[[FreeSBC|FreeSbc]] devices must be installed as described in their respective [[Product_Installation|installation guides]].
+
[[ProSBC|ProSBC]] devices must be installed as described in their respective [[Product_Installation_SBC|installation guides]].
  
== Typical Remote Workers Sample without NAT ==
+
== Typical Remote Office/Workers Sample without NAT ==
  
 
[[Image:Remote-workers-sample-config.png|800px| ]]
 
[[Image:Remote-workers-sample-config.png|800px| ]]
 +
 +
== Typical Remote Office/Workers Sample with NAT ==
 +
 +
[[Image:Remote-workers-sample-config_NAT.png|800px| ]]
  
 
==Modifying configuration file==
 
==Modifying configuration file==
Line 16: Line 20:
 
You can download sample configuration for Remote Office/Workers scenario from below;
 
You can download sample configuration for Remote Office/Workers scenario from below;
  
[[Media:RMT_main_config.json‎|Remote Office/Workers Sample Configuration without NAT]] <br>
+
[[Media:Rmt_main_config.json‎|Remote Office/Workers Sample Configuration without NAT]] <br>
[[Media:RMT_main_config_nat.json‎|Remote Office/Workers Sample Configuration with NAT]]
+
[[Media:Rmt_main_config_nat.json‎|Remote Office/Workers Sample Configuration with NAT]]
  
 
* Open the json file with a text editor
 
* Open the json file with a text editor
 
* Replace following parameters in the file
 
* Replace following parameters in the file
** WAN_00_IP and LAN_00_IP with IP addresses
+
** [tbsbc] with the hostname that you gave on installation stage
** WAN_00_Subnet and LAN_00_Subnet with IP subnets
+
** [WAN_00_IP] and [LAN_00_IP] with IP addresses for WAN and LAN
** WAN_00_Gateway and LAN_00_Gateway with Gateway IP addresses
+
** [WAN_00_Subnet] and [LAN_00_Subnet] with IP subnets for both networks (format: 255.x.x.x)
** Registrar_Domain_Name with Registrar Domain (IPPBX Domain)
+
** [WAN_00_Gateway] and [LAN_00_Gateway] with Gateway IP addresses
** All Registrar_IP with Registrar IP Address (IPPBX IP Address)
+
** [WAN_00] and [LAN_00] with currently configured IP interfaces (for example voip0 and voip1)
*If you downloaded Remote Office/Workers Sample Configuration with NAT file please change the following parameter too
+
** [Registrar_Domain_Name] with Registrar Domain (IPPBX Domain - must be IP address in version 3.0)
**Replace NAT_IP_Address with External IP
+
** [All Registrar_IP] with Registrar IP Address (IPPBX IP Address)
 +
*If you downloaded Remote Office/Workers Sample Configuration with NAT file please replace the following parameter too
 +
**[NAT_IP_Address] with your External IP (Public IP of the NAT device)
 
* Save the file
 
* Save the file
  
 
==Uploading and activating the sample configuration==
 
==Uploading and activating the sample configuration==
* You need to use an SFTP client to upload the configuration file to FreeSBC
+
* You need to use an SFTP client to upload the configuration file to ProSBC
* After upload use following commands from CLI
+
* After upload the file using the following commands from CLI  
   tbconfig -u root -p root -C /configurations main_config.json name="main_config" -u root -p root
+
*For Remote Office/Workers Sample Configuration without NAT (Change user/password for web interface)
   tbconfig -U /systems/system_1/target_configuration="main_config"
+
   tbconfig -u root -p root -C /configurations Rmt_main_config.json name="main_config"
 +
  tbconfig -u root -p root -U /systems/system_1/target_configuration="main_config"
 +
*For Remote Office/Workers Sample Configuration with NAT
 +
   tbconfig -u root -p root -C /configurations Rmt_main_config_nat.json name="main_config"
 +
  tbconfig -u root -p root -U /systems/system_1/target_configuration="main_config"

Latest revision as of 08:09, 22 January 2021


Introduction

ProSBC Configuration Files for Remote Office/Workers Scenario Tutorial provides you with a scenario-based approach to configuring ProSbc systems, using sample configuration files. Complete general installation configuration steps, before you begin configuring your specific application.

Prerequisites

ProSBC devices must be installed as described in their respective installation guides.

Typical Remote Office/Workers Sample without NAT

Remote-workers-sample-config.png

Typical Remote Office/Workers Sample with NAT

Remote-workers-sample-config NAT.png

Modifying configuration file

You can download sample configuration for Remote Office/Workers scenario from below;

Remote Office/Workers Sample Configuration without NAT
Remote Office/Workers Sample Configuration with NAT

  • Open the json file with a text editor
  • Replace following parameters in the file
    • [tbsbc] with the hostname that you gave on installation stage
    • [WAN_00_IP] and [LAN_00_IP] with IP addresses for WAN and LAN
    • [WAN_00_Subnet] and [LAN_00_Subnet] with IP subnets for both networks (format: 255.x.x.x)
    • [WAN_00_Gateway] and [LAN_00_Gateway] with Gateway IP addresses
    • [WAN_00] and [LAN_00] with currently configured IP interfaces (for example voip0 and voip1)
    • [Registrar_Domain_Name] with Registrar Domain (IPPBX Domain - must be IP address in version 3.0)
    • [All Registrar_IP] with Registrar IP Address (IPPBX IP Address)
  • If you downloaded Remote Office/Workers Sample Configuration with NAT file please replace the following parameter too
    • [NAT_IP_Address] with your External IP (Public IP of the NAT device)
  • Save the file

Uploading and activating the sample configuration

  • You need to use an SFTP client to upload the configuration file to ProSBC
  • After upload the file using the following commands from CLI
  • For Remote Office/Workers Sample Configuration without NAT (Change user/password for web interface)
 tbconfig -u root -p root -C /configurations Rmt_main_config.json name="main_config"
 tbconfig -u root -p root -U /systems/system_1/target_configuration="main_config"
  • For Remote Office/Workers Sample Configuration with NAT
 tbconfig -u root -p root -C /configurations Rmt_main_config_nat.json name="main_config"
 tbconfig -u root -p root -U /systems/system_1/target_configuration="main_config"
Personal tools