]> git.stg.codes - stg.git/blobdiff - projects/stargazer/inst/linux/etc/stargazer/conf-available.d/mod_remote_script.conf
Merge branch 'stg-2.409-radius'
[stg.git] / projects / stargazer / inst / linux / etc / stargazer / conf-available.d / mod_remote_script.conf
index a8cc6e17ecca86324d310e80afa94e04cc2b00f3..a71350c868093994373161f6b1712b9418bd46c1 100644 (file)
@@ -1,39 +1,42 @@
-# îÁÓÔÒÏÊËÉ ÍÏÄÕÌÑ ÄÌÑ ÕÄÁÌÅÎÎÏÇÏ ×ÙÐÏÌÎÅÎÉÑ ÓËÒÉÐÔÏ× OnConnect É
-# OnDisconnect "mod_remote_script.so"
-# ÷ÔÏÒÏÊ ÐÁÒÁÍÅÔÒ - ÜÔÏ ÉÍÑ ÍÏÄÕÌÑ ÂÅÚ mod_ × ÎÁÞÁÌÅ É .so × ËÏÎÃÅ
+# Enable the module for remote execution of scripts OnConnect and OnDisconnect "mod_remote_script.so"
 <Module remote_script>
-
-    # ÷ÒÅÍÑ, × ÓÅËÕÎÄÁÈ, ÍÅÖÄÕ ÐÏÓÙÌËÁÍÉ ÐÏÄÔ×ÅÒÖÄÅÎÉÊ, ÔÏÇÏ, ÞÔÏ ÐÏÌØÚÏ×ÁÔÅÌØ
-    # ×Ó£ ÅÝÅ ÏÎÌÁÊÎ
-    # úÎÁÞÅÎÉÑ: 10...600
+    # The time interval between sending confirmations that the user is online
+    # Parametr: required
+    # Values: 10 ... 600 (seconds)
+    # Default: 60
     SendPeriod = 15
 
-    # óÏÏÔ×ÅÔÓÔ×ÉÅ ÐÏÄÓÅÔÅÊ, × ËÏÔÏÒÏÊ ÎÁÈÏÄÉÔÓÑ ÐÏÌØÚÏ×ÁÔÅÌØ É
-    # ÓÏÏÔ×ÅÔÓÔ×ÕÀÝÅÇÏ ÒÏÕÔÅÒÁ. ðÅÒ×ÁÑ ÞÁÓÔØ ÓÔÒÏËÉ - ÐÏÄÓÅÔØ, ÚÁÄÁÎÎÁÑ
-    # ËÁË IP-ÁÄÒÅÓ É ÍÁÓËÁ, ÞÅÒÅÚ ÐÒÏÂÅÌ - IP-ÁÄÒÅÓ ÒÏÕÔÅÒÁ ÎÁ ËÏÔÏÒÏÍ
-    # ÄÏÌÖÎÙ ×ÙÐÏÌÎÑÔØÓÑ ÓËÒÉÐÔÙ
-    # îÁÐÒÉÍÅÒ ÜÔÁ ÚÁÐÉÓØ "192.168.1.0/24 192.168.1.1" ÏÚÎÁÞÁÅÔ, ÞÔÏ ÄÌÑ
-    # ×ÓÅÈ ÐÏÌØÚÏ×ÁÔÅÌÅÊ ÉÚ ÐÏÄÓÅÔÉ 192.168.1.0/24, ÓËÒÉÐÔÙ ÂÕÄÕÔ
-    # ×ÙÐÏÌÎÑÔØÓÑ ÎÁ ÒÏÕÔÅÒÅ Ó ÁÄÒÅÓÏÍ 192.168.1.1
-    # Subnet0...Subnet100
-    #Subnet0 = 192.168.1.0/24 192.168.1.7
-    #Subnet1 = 192.168.2.0/24 192.168.2.5
-    #Subnet2 = 192.168.3.0/24 192.168.2.5
-    #Subnet3 = 192.168.4.0/24 192.168.2.5
+    # Define mapping between subnet(s) and remote server(s)
+    # File format: <subnet> <Router1> <Router2> ...
+    # Example:
+    # 192.168.1.0/24 192.168.1.7 192.168.1.8
+    # 192.168.2.0/24 192.168.2.5 192.168.2.6 192.168.2.7
+    # 192.168.3.0/24 192.168.3.5
+    # 192.168.4.0/24 192.168.4.5
+    # Parametr: required
+    # Values: file path
+    # Default: subnets
     SubnetFile = subnets
 
-    # ðÁÒÏÌØ ÄÌÑ ÛÉÆÒÏ×ÁÎÉÑ ÐÁËÅÔÏ× ÍÅÖÄÕ stg-ÓÅÒ×ÅÒÏÍ É ÓÅÒ×ÅÒÏÍ,
-    # ×ÙÐÏÌÎÑÀÝÉÍ ÓËÒÉÐÔÙ
+    # The password to encrypt packets between the stg-server and remote server
+    # Parameter: required
+    # Values: any
+    # Default: 123456
     Password = 123456
 
-    # üÔÏÔ ÐÁÒÁÍÅÔÒ ÏÐÒÅÄÅÌÑÅÔ ËÁËÉÅ ÐÁÒÁÍÅÔÒÙ ÐÏÌØÚÏ×ÁÔÅÌÑ ÐÅÒÅÄÁÀÔÓÑ
-    # ÎÁ ÕÄÁÌÅÎÎÙÊ ÓÅÒ×ÅÒ
-    # Cash, FreeMb, Passive, Disabled, AlwaysOnline, TariffName, NextTariff, Address,
-    # Note, Group, Email, RealName, Credit, EnabledDirs, Userdata0...Userdata9
-    UserParams=Cash Tariff EnabledDirs
+    # Define which user parameters are transferred to a remote server in addition to
+    # other parameters that transfered by default (ID, IP, Login, Cash, Dirs).
+    # Note: Parameter can be blank. 
+    # Parameter: required  
+    # Values: Cash, FreeMb, Passive, Disabled, AlwaysOnline, TariffName, 
+    # NextTariff, Address, Note, Group, Email, RealName, Credit, EnabledDirs, 
+    # Userdata0...Userdata9
+    # Default: Cash Tariff EnabledDirs
+    UserParams = Cash Tariff EnabledDirs
 
-    # ðÏÒÔ ÐÏ ËÏÔÏÒÏÍÕ ÓÅÒ×ÅÒ ÏÔÓÙÌÁÅÔ ÓÏÏÂÝÅÎÉÑ ÎÁ ÒÏÕÔÅÒ
-    # úÎÁÞÅÎÉÑ: 1...65535
+    # Port on which the server interacts with remote server
+    # Parameter: required
+    # Value: 1...65535
+    # Default: 9999
     Port = 9999
-
 </Module>