Interface configuration example [Документация VAS Experts]

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
en:dpi:epdg:installation_setup:management_and_administration:conf [2024/11/19 13:22] – created elena.krasnobryzhen:dpi:epdg:installation_setup:management_and_administration:conf [2024/12/03 07:31] (current) elena.krasnobryzh
Line 1: Line 1:
 {{indexmenu_n>1}} {{indexmenu_n>1}}
 ======Interface configuration example====== ======Interface configuration example======
-<note tip>The following is an example of interface configuration:+<note tip>The default configuration file is in ''/etc/epdg/fast-epdg.conf''.\\ 
 +The following is an example of interface configuration:
   * [[dpi:epdg:installation_setup:management_and_administration:swu|SWu]]   * [[dpi:epdg:installation_setup:management_and_administration:swu|SWu]]
   * [[dpi:epdg:installation_setup:management_and_administration:auth_swm|SWm]]   * [[dpi:epdg:installation_setup:management_and_administration:auth_swm|SWm]]
Line 12: Line 13:
 In the example, the blocks corresponding to the interfaces are highlighted with a marker. In the example, the blocks corresponding to the interfaces are highlighted with a marker.
 </note> </note>
-<code YAML [highlight_lines_extra="2,17,29,41,58,59,79,83"]>+<code YAML [highlight_lines_extra="2,11,22,33,49,50,70,74"]>
 fast-epdg { fast-epdg {
  swu {  swu {
  <config-name> {  <config-name> {
  apn=  apn=
- ike=aes256-sha256-sha1-prfsha256-prfsha1-modp2048-modp1024! 
- esp=aes256-sha256-sha1-modp2048-modp1024! 
- leftauth=eap 
  leftsubnet=  leftsubnet=
- rightauth=eap-diameter 
- rightsourceip=%epdg 
  }  }
  }  }
  
  auth {  auth {
- interface =  + iface =
- accounting +
  swm {  swm {
- app_id = swm 
  realm =   realm = 
  host =   host = 
- vendor_id =  
  <server-name> {  <server-name> {
  priority =   priority = 
Line 39: Line 32:
  remote =   remote = 
  proto =   proto = 
 + tls =
  }  }
  }  }
  swx {  swx {
- app_id = swx 
  realm =   realm = 
  host =   host = 
- vendor_id =  
  <server-name> {  <server-name> {
  priority =   priority = 
Line 51: Line 43:
  remote =   remote = 
  proto =   proto = 
 + tls =
  }  }
  }  }
  s6b {  s6b {
- app_id = s6b 
  realm =   realm = 
  host =   host = 
- vendor_id =  
  <server-name> {  <server-name> {
  priority =   priority = 
Line 63: Line 54:
  remote =   remote = 
  proto =   proto = 
 + tls =
  }  }
  }  }
Line 106: Line 98:
  syslog {  syslog {
  daemon {  daemon {
- ike =  
  cfg =   cfg = 
  lib =   lib =