FreeSBC Configuration Files:Remote Workers

From TBwiki
(Difference between revisions)
Jump to: navigation, search
(Modifying configuration file)
(Uploading and activating the sample configuration)
Line 38: Line 38:
 
* After upload the file use following commands from CLI  
 
* After upload the file use following commands from CLI  
 
*For Remote Office/Workers Sample Configuration without NAT
 
*For Remote Office/Workers Sample Configuration without NAT
   tbconfig -u root -p root -C /configurations main_config.json name="main_config" -u root -p root
+
   tbconfig -u root -p root -C /configurations RMT_main_config.json name="main_config" -u root -p root
 
   tbconfig -U /systems/system_1/target_configuration="main_config"
 
   tbconfig -U /systems/system_1/target_configuration="main_config"
 
*For Remote Office/Workers Sample Configuration with NAT
 
*For Remote Office/Workers Sample Configuration with NAT
   tbconfig -u root -p root -C /configurations main_config_nat.json name="main_config" -u root -p root
+
   tbconfig -u root -p root -C /configurations RMT_main_config_nat.json name="main_config" -u root -p root
 
   tbconfig -U /systems/system_1/target_configuration="main_config"
 
   tbconfig -U /systems/system_1/target_configuration="main_config"

Revision as of 10:35, 8 January 2019


Introduction

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

Prerequisites

FreeSbc 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
    • WAN_00_IP and LAN_00_IP with IP addresses
    • WAN_00_Subnet and LAN_00_Subnet with IP subnets
    • WAN_00_Gateway and LAN_00_Gateway with Gateway IP addresses
    • Registrar_Domain_Name with Registrar Domain (IPPBX Domain)
    • 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
  • Save the file

Uploading and activating the sample configuration

  • You need to use an SFTP client to upload the configuration file to FreeSBC
  • After upload the file use following commands from CLI
  • For Remote Office/Workers Sample Configuration without NAT
 tbconfig -u root -p root -C /configurations RMT_main_config.json name="main_config" -u root -p root
 tbconfig -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" -u root -p root
 tbconfig -U /systems/system_1/target_configuration="main_config"
Personal tools