grep "server.port" /var/etc/lighttpd-cp*grep "url.redi" /var/etc/lighttpd-cp*
ps afx | grep cp-zone
ipfw show
root@OPNsense_master_siteA:~ # grep "server.port" /var/etc/lighttpd-cp*/var/etc/lighttpd-cp-zone-0.conf:server.port = 8000/var/etc/lighttpd-cp-zone-1.conf:server.port = 8001/var/etc/lighttpd-cp-zone-2.conf:server.port = 8002root@OPNsense_master_siteA:~ # grep "url.redi" /var/etc/lighttpd-cp*/var/etc/lighttpd-cp-zone-0.conf: url.redirect = ( "^(.*)$" => "http://10.1.101.1:8000/index.html?redirurl=%1$1")/var/etc/lighttpd-cp-zone-0.conf: url.redirect = ( "^(.*)$" => "http://10.1.101.1:8000/index.html?redirurl=%1$1")/var/etc/lighttpd-cp-zone-0.conf: url.redirect = ( "(.*)" => "http://10.1.101.1:8000/index.html?redirurl=%1$1")/var/etc/lighttpd-cp-zone-1.conf: url.redirect = ( "^(.*)$" => "http://10.1.104.1:8001/index.html?redirurl=%1$1")/var/etc/lighttpd-cp-zone-1.conf: url.redirect = ( "^(.*)$" => "http://10.1.104.1:8001/index.html?redirurl=%1$1")/var/etc/lighttpd-cp-zone-1.conf: url.redirect = ( "(.*)" => "http://10.1.104.1:8001/index.html?redirurl=%1$1")/var/etc/lighttpd-cp-zone-2.conf: url.redirect = ( "^(.*)$" => "http://10.1.101.1:8002/index.html?redirurl=%1$1")/var/etc/lighttpd-cp-zone-2.conf: url.redirect = ( "^(.*)$" => "http://10.1.101.1:8002/index.html?redirurl=%1$1")/var/etc/lighttpd-cp-zone-2.conf: url.redirect = ( "(.*)" => "http://10.1.101.1:8002/index.html?redirurl=%1$1")
root@OPNsense_master_siteA:~ # ps afx | grep cp-zone45043 - S 0:00.14 /usr/local/sbin/lighttpd -f /var/etc/lighttpd-cp-zone-0.conf46057 - S 0:00.14 /usr/local/sbin/lighttpd -f /var/etc/lighttpd-cp-zone-1.conf38923 0 S+ 0:00.00 grep cp-zone
root@OPNsense_master_siteA:~ # ipfw show00100 0 0 allow pfsync from any to any00110 0 0 allow carp from any to any00120 0 0 allow ip from any to any layer2 mac-type 0x0806,0x803500130 0 0 allow ip from any to any layer2 mac-type 0x888e,0x88c700140 0 0 allow ip from any to any layer2 mac-type 0x8863,0x886400150 0 0 deny ip from any to any layer2 not mac-type 0x0800,0x86dd00200 498 23904 skipto 60000 ip6 from ::1 to any00201 200 284272 skipto 60000 ip4 from 127.0.0.0/8 to any00202 0 0 skipto 60000 ip6 from any to ::100203 0 0 skipto 60000 ip4 from any to 127.0.0.0/801002 0 0 skipto 60000 udp from any to 10.1.100.1 dst-port 53 keep-state01002 583 52165 skipto 60000 ip from any to { 255.255.255.255 or 10.1.100.1 } in01002 986 843938 skipto 60000 ip from { 255.255.255.255 or 10.1.100.1 } to any out01002 0 0 skipto 60000 icmp from { 255.255.255.255 or 10.1.100.1 } to any out icmptypes 001002 0 0 skipto 60000 icmp from any to { 255.255.255.255 or 10.1.100.1 } in icmptypes 801003 0 0 skipto 60000 udp from any to 10.1.101.1 dst-port 53 keep-state01003 35 5861 skipto 60000 ip from any to { 255.255.255.255 or 10.1.101.1 } in01003 46 6610 skipto 60000 ip from { 255.255.255.255 or 10.1.101.1 } to any out01003 0 0 skipto 60000 icmp from { 255.255.255.255 or 10.1.101.1 } to any out icmptypes 001003 0 0 skipto 60000 icmp from any to { 255.255.255.255 or 10.1.101.1 } in icmptypes 801004 0 0 skipto 60000 udp from any to 10.1.102.1 dst-port 53 keep-state01004 0 0 skipto 60000 ip from any to { 255.255.255.255 or 10.1.102.1 } in01004 7 2296 skipto 60000 ip from { 255.255.255.255 or 10.1.102.1 } to any out01004 0 0 skipto 60000 icmp from { 255.255.255.255 or 10.1.102.1 } to any out icmptypes 001004 0 0 skipto 60000 icmp from any to { 255.255.255.255 or 10.1.102.1 } in icmptypes 801005 0 0 skipto 60000 udp from any to 10.1.103.1 dst-port 53 keep-state01005 0 0 skipto 60000 ip from any to { 255.255.255.255 or 10.1.103.1 } in01005 0 0 skipto 60000 ip from { 255.255.255.255 or 10.1.103.1 } to any out01005 0 0 skipto 60000 icmp from { 255.255.255.255 or 10.1.103.1 } to any out icmptypes 001005 0 0 skipto 60000 icmp from any to { 255.255.255.255 or 10.1.103.1 } in icmptypes 801006 0 0 skipto 60000 udp from any to 10.1.104.1 dst-port 53 keep-state01006 26 4867 skipto 60000 ip from any to { 255.255.255.255 or 10.1.104.1 } in01006 40 7668 skipto 60000 ip from { 255.255.255.255 or 10.1.104.1 } to any out01006 0 0 skipto 60000 icmp from { 255.255.255.255 or 10.1.104.1 } to any out icmptypes 001006 0 0 skipto 60000 icmp from any to { 255.255.255.255 or 10.1.104.1 } in icmptypes 801007 0 0 skipto 60000 udp from any to 10.2.0.1 dst-port 53 keep-state01007 0 0 skipto 60000 ip from any to { 255.255.255.255 or 10.2.0.1 } in01007 0 0 skipto 60000 ip from { 255.255.255.255 or 10.2.0.1 } to any out01007 0 0 skipto 60000 icmp from { 255.255.255.255 or 10.2.0.1 } to any out icmptypes 001007 0 0 skipto 60000 icmp from any to { 255.255.255.255 or 10.2.0.1 } in icmptypes 803000 82 9538 skipto 10001 ip from table(0) to any via em403000 82 5733 skipto 10001 ip from any to table(0) via em403001 0 0 skipto 11001 ip from table(1) to any via em503001 0 0 skipto 11001 ip from any to table(1) via em505000 56 3042 fwd 127.0.0.1,8000 tcp from any to any dst-port 443 in via em405000 0 0 allow ip from any to any dst-port 443 via em405000 32 4949 fwd 127.0.0.1,9000 tcp from any to any dst-port 80 in via em405000 0 0 allow ip from any to any dst-port 80 via em405001 70 4329 fwd 127.0.0.1,8001 tcp from any to any dst-port 443 in via em505001 0 0 allow ip from any to any dst-port 443 via em505001 26 4395 fwd 127.0.0.1,9001 tcp from any to any dst-port 80 in via em505001 0 0 allow ip from any to any dst-port 80 via em506000 239338 237658729 skipto 60000 tcp from any to any out06002 2 165 skipto 65534 ip from any to any via em406003 0 0 skipto 65534 ip from any to any via em506199 246912 238432303 skipto 60000 ip from any to any10001 164 15271 count ip from any to any via em410998 164 15271 skipto 30000 ip from any to any via em410999 0 0 deny ip from any to any not via em411001 0 0 count ip from any to any via em511998 0 0 skipto 30000 ip from any to any via em511999 0 0 deny ip from any to any not via em530000 164 15271 count ip from any to any30001 0 0 count ip from 192.168.20.224 to any30001 0 0 count ip from any to 192.168.20.22430002 0 0 count ip from 10.1.101.103 to any30002 0 0 count ip from any to 10.1.101.10330003 82 9538 count ip from 10.1.103.10 to any30003 82 5733 count ip from any to 10.1.103.1060000 0 0 return ip from any to any65533 488787 477302839 allow ip from any to any65534 2 165 deny ip from any to any65535 1463531 1254195572 allow ip from any to any
opnsense-patch cc18336d