$OpenBSD: patch-doc_siproxd_conf_example,v 1.5 2016/04/21 19:44:17 naddy Exp $
--- doc/siproxd.conf.example.orig	Fri Mar 25 19:44:51 2016
+++ doc/siproxd.conf.example	Sun Apr 17 22:28:24 2016
@@ -9,6 +9,9 @@
 ######################################################################
 # The interface names of INBOUND and OUTBOUND interface.
 #
+#    if_inbound:  the name of the internal interface
+#    if_outbound: the name of the external interface
+#
 #    If siproxd is not running on the host doing the masquerading
 #    but on a host within the private network segment, "in front" of
 #    the masquerading router: define if_inbound and if_outbound to
@@ -17,8 +20,8 @@
 #    or a hostname that resolves to that address (use a dyndns address for
 #    example).
 #
-if_inbound  = eth0
-if_outbound = ppp0
+if_inbound  = em0
+if_outbound = pppoe0
 # uncomment the following line ONLY IF YOU KNOW WHAT YOU ARE DOING!
 # READ THE FAQ FIRST!
 #host_outbound = 1.2.3.4
@@ -78,8 +81,8 @@ silence_log = 1
 # Secure Enviroment settings:
 #   user:	uid/gid to switch to after startup
 #   chrootjail:	path to chroot to (chroot jail)
-user = nobody
-#chrootjail = /var/lib/siproxd/
+user = _siproxd
+chrootjail = /var/siproxd/
 
 ######################################################################
 # Memory settings
@@ -100,7 +103,7 @@ user = nobody
 #   the specified directory path does exist!
 #   Note: If running in chroot jail, this path starts relative
 #         to the jail.
-registration_file = /var/lib/siproxd/siproxd_registrations
+registration_file = siproxd_registrations
 
 ######################################################################
 # Automatically save current registrations every 'n' seconds
@@ -113,7 +116,7 @@ autosave_registrations = 300
 #   This file holds the PID of the main thread of siproxd.
 #   Note: If running in chroot jail, this path starts relative
 #         to the jail.
-pid_file = /var/run/siproxd/siproxd.pid
+pid_file = siproxd.pid
 
 ######################################################################
 # global switch to control the RTP proxy behaviour
@@ -322,23 +325,23 @@ debug_port = 0
 # The plugins are loaded in the order they appear here. Also
 # the processing order is given by the load order.
 #
-# plugin_dir: MUST be terminated with '/'
-plugindir=/usr/lib/siproxd/
+# plugindir: MUST be terminated with '/'
+plugindir=${PREFIX}/lib/siproxd/
 #
-# List of plugins to load. MUST use the .la file extension!
-#load_plugin=plugin_demo.la
-#load_plugin=plugin_shortdial.la
-load_plugin=plugin_logcall.la
-#load_plugin=plugin_defaulttarget.la
-#load_plugin=plugin_fix_bogus_via.la
-#load_plugin=plugin_fix_DTAG.la
-#load_plugin=plugin_stun.la
-#load_plugin=plugin_prefix.la
-#load_plugin=plugin_regex.la
-#load_plugin=plugin_stripheader.la
-#load_plugin=plugin_codecfilter.la
-#load_plugin=plugin_siptrunk.la
-#load_plugin=plugin_fix_fbox_anoncall.la
+# List of plugins to load.
+#load_plugin=plugin_demo.so
+#load_plugin=plugin_shortdial.so
+load_plugin=plugin_logcall.so
+#load_plugin=plugin_defaulttarget.so
+#load_plugin=plugin_fix_bogus_via.so
+#load_plugin=plugin_fix_DTAG.so
+#load_plugin=plugin_stun.so
+#load_plugin=plugin_prefix.so
+#load_plugin=plugin_regex.so
+#load_plugin=plugin_stripheader.so
+#load_plugin=plugin_codecfilter.so
+#load_plugin=plugin_siptrunk.so
+#load_plugin=plugin_fix_fbox_anoncall.so
 
 
 ######################################################################
