Difference between revisions of "Working iax configuration, using vpn"

From MyWiki
Jump to: navigation, search
Line 5: Line 5:
 
  [bar2]
 
  [bar2]
 
  type=friend
 
  type=friend
  secret=password123
+
  secret=<same password as above>
 
  auth=plaintext
 
  auth=plaintext
 
  host=10.0.0.1
 
  host=10.0.0.1
Line 17: Line 17:
 
  [foo2]
 
  [foo2]
 
  type=friend
 
  type=friend
  secret=password123
+
  secret=<same pasword as above>
 
  auth=plaintext
 
  auth=plaintext
 
  host=10.0.0.100
 
  host=10.0.0.100

Revision as of 17:26, 22 July 2014

Work instance
[general]
autokill=yes
register => foo2:<password>@10.0.0.1
[bar2]
type=friend
secret=<same password as above>
auth=plaintext
host=10.0.0.1
context=fromiax
trunk=yes
qualify=yes
Cloud instance
[general]
autokill=yes
[foo2]
type=friend
secret=<same pasword as above>
auth=plaintext
host=10.0.0.100
context=twig
trunk=yes
qualify=yes
deny=0.0.0.0/0.0.0.0
permit=10.0.0.1/255.255.255.255