clog -f /var/log/system.log
POST /xmlrpc.php HTTP/1.0Connection: closeHost: 172.31.167.86User-Agent: XML_RPCContent-Type: text/xmlContent-Length: 64748Authorization: Basic cm9vdDpFeDQ5QGhvbWU=<?xml version="1.0"?><methodCall><methodName>opnsense.restore_config_section</methodName><params><param><value><struct> <member><name>filter</name><value><struct> <member><name>rule</name><value><array><data> <value><struct> <member><name>type</name><value><string>block</string></value></member> <member><name>interface</name><value><string>wan</string></value></member> <member><name>ipprotocol</name><value><string>inet46</string></value></member> <member><name>statetype</name><value><string>keep state</string></value></member> <member><name>descr</name><value><string>Block tout</string></value></member> <member><name>log</name><value><string>1</string></value></member> <member><name>source</name><value><struct> <member><name>any</name><value><string>1</string></value></member></struct></value></member> <member><name>destination</name><value><struct> <member><name>any</name><value><string>1</string></value></member></struct></value></member> <member><name>updated</name><value><struct> <member><name>username</name><value><string>root@172.31.163.9</string></value></member> <member><name>time</name><value><string>1472546467.8115</string></value></member> <member><name>description</name><value><string>/firewall_rules_edit.php made changes</string></value></member></struct></value></member>...
HTTP/1.0 200 OKExpires: Fri, 09 Sep 2016 22:35:29 GMTCache-Control: max-age=180000Connection: closeContent-Length: 161Content-type: text/xml;charset=UTF-8Date: Wed, 07 Sep 2016 22:35:30 +0200Server: lighttpd/1.4.41<?xml version="1.0"?><methodResponse> <params> <param> <value> <boolean>1</boolean> </value> </param> </params></methodResponse>
configctl filter sync restart
root@LYFWINT1:~ # configctl filter sync restartOK
Sep 8 11:07:32 LYFWINT2 configd.py: [622cb9cd-6ae7-45ac-9eb9-82dedefb64d2] Reloading filterSep 8 11:07:32 LYFWINT2 opnsense: /usr/local/etc/rc.filter_configure_sync: Could not find IPv6 gateway for interface(wan).Sep 8 11:07:33 LYFWINT2 opnsense: /xmlrpc.php: ROUTING: setting IPv4 default route to 10.0.0.138Sep 8 11:07:33 LYFWINT2 opnsense: /xmlrpc.php: Removing static route for monitor 8.8.8.8
if (!file_exists("/var/run/booting")) { configd_run('filter reload'); // if ( isset($config['hasync']['synchronizetoip']) && trim($config['hasync']['synchronizetoip']) != "") { configd_run('filter sync restart'); // } }
Sep 8 13:07:23 LYFWINT2 configd.py: [2245481d-db51-4985-8f22-0bb1bb0842c2] Reloading filterSep 8 13:07:24 LYFWINT2 opnsense: /usr/local/etc/rc.filter_configure_sync: Could not find IPv6 gateway for interface(wan).Sep 8 13:07:24 LYFWINT2 opnsense: /xmlrpc.php: ROUTING: setting IPv4 default route to 10.0.0.138Sep 8 13:07:24 LYFWINT2 opnsense: /xmlrpc.php: Removing static route for monitor 8.8.8.8
<hasync> <pfsyncpeerip>172.31.167.86</pfsyncpeerip> <pfsyncinterface>lan</pfsyncinterface> <synchronizetoip>172.31.167.86</synchronizetoip> <username>root</username> <password>*******</password> <pfsyncenabled>on</pfsyncenabled> <synchronizestaticroutes>on</synchronizestaticroutes> <synchronizeusers>on</synchronizeusers> <synchronizeauthservers>on</synchronizeauthservers> <synchronizecerts>on</synchronizecerts> <synchronizerules>on</synchronizerules> <synchronizeschedules>on</synchronizeschedules> <synchronizealiases>on</synchronizealiases> <synchronizenat>on</synchronizenat> <synchronizeipsec>on</synchronizeipsec> <synchronizeopenvpn>on</synchronizeopenvpn> <synchronizedhcpd>on</synchronizedhcpd> <synchronizewol>on</synchronizewol> <synchronizelb>on</synchronizelb> <synchronizevirtualip>on</synchronizevirtualip> <synchronizednsforwarder>on</synchronizednsforwarder> <synchronizednsresolver>on</synchronizednsresolver> <synchronizeshaper>on</synchronizeshaper> <synchronizecaptiveportal>on</synchronizecaptiveportal> </hasync>