1
Web Proxy Filtering and Caching / Re: haproxy using openvpn and https
« on: October 21, 2019, 04:54:10 am »
this is a very interesting config - if you figure out how to set it up please share...
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Oct 20 22:14:18 haproxy[13596]: Connect from 192.168.xxx.xxx:52758 to yyy.yyy.yyy.yyy:443 (nextcloudWebFacingService/HTTP)
Oct 20 22:13:22 haproxy[13596]: Connect from 192.168.xxx.xxx:59890 to yyy.yyy.yyy.yyy:443 (nextcloudWebFacingService/HTTP)
Oct 20 22:02:58 haproxy[13596]: Connect from xxx.xxx.xxx.xxx:24450 to yyy.yyy.yyy.yyy:443 (nextcloudWebFacingService/HTTP)
Oct 20 22:02:57 haproxy[13596]: Connect from xxx.xxx.xxx.xxx:10349 to yyy.yyy.yyy.yyy:443 (nextcloudWebFacingService/HTTP)
Oct 20 22:02:57 haproxy[13596]: Connect from xxx.xxx.xxx.xxx:8150 to yyy.yyy.yyy.yyy:443 (nextcloudWebFacingService/HTTP)
WARNING
This release introduces the HAProxy 2.0 release series. This is a major change and may break existing configurations. Please test thoroughly before using this version in production.
root@OPNsense:~ # pfctl -F all -f /etc/pf.conf
rules cleared
nat cleared
5 tables deleted.
140 states cleared
source tracking entries cleared
pf: statistics cleared
pf: interface flags reset
pfctl: /etc/pf.conf: No such file or directory
pfctl: cannot open the main config file!: No such file or directory
pfctl: Syntax error in config file: pf rules not loaded
*** OPNsense.ad.grassyshallows.com: OPNsense 18.7.8 (amd64/OpenSSL) ***
LAN (em1) -> v4: 192.168.1.1/24 ... bridged from a physical interface
WAN (em0) -> v4/DHCP4: 107.190.35.80/26 ... bridged from a physical interface
cameras (em5) -> xxxx ... currently unused but a vlan bridge from the bridged physical interface LAN is on
carp (em3) -> xxxx ... currently unused but a vlan bridge from the bridged physical interface LAN is on
management (em2) -> xxxx .. currently unused but a vlan bridge from the bridged physical interface LAN is on
webServices (em6) -> xxxx .. currently unused but a vlan bridge from the bridged physical interface LAN is on
wifi (em4) -> v4: 192.168.4.1/24 ... active and the interface with problems , a vlan bridge from the bridged physical interface LAN is on...
0) Logout 7) Ping host
1) Assign interfaces 8) Shell
2) Set interface IP address 9) pfTop
3) Reset the root password 10) Firewall log
4) Reset to factory defaults 11) Reload all services
5) Power off system 12) Update from console
6) Reboot system 13) Restore a backup
Enter an option: 11
Writing firmware setting...done.
Configuring login behaviour...done.
Configuring CRON...done.
Setting timezone...done.
Setting hostname: OPNsense.ad.grassyshallows.com
Generating /etc/hosts...done.
Generating /etc/resolv.conf...done.
Configuring loopback interface...done.
Creating wireless clone interfaces...done.
Configuring VLAN interfaces...done.
Configuring WAN interface...done.
Configuring LAN interface...done.
Configuring cameras interface...done.
Configuring carp interface...done.
Configuring management interface...done.
Configuring webServices interface...done.
Configuring wifi interface...done.
Setting up routes...done.
Configuring firewall.......done.
Starting DHCPv4 service...done.
Starting DHCPv6 service...done.
Starting router advertisement service...done.
packet_write_wait: Connection to 192.168.1.1 port 22: Broken pipe
root@proxmox1:/rpool/data# lspci | grep Network
06:00.0 Ethernet controller: Intel Corporation 82575GB Gigabit Network Connection (rev 02)
06:00.1 Ethernet controller: Intel Corporation 82575GB Gigabit Network Connection (rev 02)
07:00.0 Ethernet controller: Intel Corporation 82575GB Gigabit Network Connection (rev 02)
07:00.1 Ethernet controller: Intel Corporation 82575GB Gigabit Network Connection (rev 02)
09:00.0 Ethernet controller: Intel Corporation 82576 Gigabit Network Connection (rev 01)
09:00.1 Ethernet controller: Intel Corporation 82576 Gigabit Network Connection (rev 01)
root@proxmox1:/rpool/data# dmesg | grep Ethernet
[ 3.400241] Intel(R) Gigabit Ethernet Network Driver - version 5.3.5.3
[ 3.615780] igb 0000:06:00.0: Intel(R) Gigabit Ethernet Network Connection
[ 3.827716] igb 0000:06:00.1: Intel(R) Gigabit Ethernet Network Connection
[ 4.047801] igb 0000:07:00.0: Intel(R) Gigabit Ethernet Network Connection
[ 4.263806] igb 0000:07:00.1: Intel(R) Gigabit Ethernet Network Connection
[ 4.458458] igb 0000:09:00.0: Intel(R) Gigabit Ethernet Network Connection
[ 4.648021] igb 0000:09:00.1: Intel(R) Gigabit Ethernet Network Connection
root@OPNsense:~ # pciconf -lv
...
igb0@pci0:0:16:0: class=0x020000 card=0x145a8086 chip=0x10d68086 rev=0x02 hdr=0x00
vendor = 'Intel Corporation'
device = '82575GB Gigabit Network Connection'
class = network
subclass = ethernet
igb1@pci0:0:16:1: class=0x020000 card=0x145a8086 chip=0x10d68086 rev=0x02 hdr=0x00
vendor = 'Intel Corporation'
device = '82575GB Gigabit Network Connection'
class = network
subclass = ethernet
igb2@pci0:0:17:0: class=0x020000 card=0x145a8086 chip=0x10d68086 rev=0x02 hdr=0x00
vendor = 'Intel Corporation'
device = '82575GB Gigabit Network Connection'
class = network
subclass = ethernet
igb3@pci0:0:17:1: class=0x020000 card=0x145a8086 chip=0x10d68086 rev=0x02 hdr=0x00
vendor = 'Intel Corporation'
device = '82575GB Gigabit Network Connection'
class = network
subclass = ethernet
...
root@OPNsense:~ # dmesg | grep Ethernet
igb0: Ethernet address: 00:1b:21:2a:4f:e8
igb1: Ethernet address: 00:1b:21:2a:4f:e9
igb2: Ethernet address: 00:1b:21:2a:4f:ec
igb3: Ethernet address: 00:1b:21:2a:4f:ed
em0: Ethernet address: c6:48:af:7a:41:68
igb0: Ethernet address: 00:1b:21:2a:4f:e8
igb1: Ethernet address: 00:1b:21:2a:4f:e9
igb2: Ethernet address: 00:1b:21:2a:4f:ec
igb3: Ethernet address: 00:1b:21:2a:4f:ed
em0: Ethernet address: c6:48:af:7a:41:68
igb0: Ethernet address: 00:1b:21:2a:4f:e8
igb1: Ethernet address: 00:1b:21:2a:4f:e9
igb2: Ethernet address: 00:1b:21:2a:4f:ec
igb3: Ethernet address: 00:1b:21:2a:4f:ed
em0: Ethernet address: c6:48:af:7a:41:68
root@OPNsense:~ # dmesg | grep Network
igb0: <Intel(R) PRO/1000 Network Connection, Version - 2.5.3-k> port 0xe080-0xe09f mem 0xfea40000-0xfea5ffff,0xfde00000-0xfdffffff,0xfeaf0000-0xfeaf3fff irq 11 at device 16.0 on pci0
igb1: <Intel(R) PRO/1000 Network Connection, Version - 2.5.3-k> port 0xe0a0-0xe0bf mem 0xfea60000-0xfea7ffff,0xfe000000-0xfe1fffff,0xfeaf4000-0xfeaf7fff irq 10 at device 16.1 on pci0
igb2: <Intel(R) PRO/1000 Network Connection, Version - 2.5.3-k> port 0xe0c0-0xe0df mem 0xfea80000-0xfea9ffff,0xfe200000-0xfe3fffff,0xfeaf8000-0xfeafbfff irq 10 at device 17.0 on pci0
igb3: <Intel(R) PRO/1000 Network Connection, Version - 2.5.3-k> port 0xe0e0-0xe0ff mem 0xfeaa0000-0xfeabffff,0xfe400000-0xfe5fffff,0xfeafc000-0xfeafffff irq 10 at device 17.1 on pci0
em0: <Intel(R) PRO/1000 Legacy Network Connection 1.1.0> port 0xe000-0xe03f mem 0xfeac0000-0xfeadffff irq 10 at device 18.0 on pci0
igb0: <Intel(R) PRO/1000 Network Connection, Version - 2.5.3-k> port 0xe080-0xe09f mem 0xfea40000-0xfea5ffff,0xfde00000-0xfdffffff,0xfeaf0000-0xfeaf3fff irq 11 at device 16.0 on pci0
igb1: <Intel(R) PRO/1000 Network Connection, Version - 2.5.3-k> port 0xe0a0-0xe0bf mem 0xfea60000-0xfea7ffff,0xfe000000-0xfe1fffff,0xfeaf4000-0xfeaf7fff irq 10 at device 16.1 on pci0
igb2: <Intel(R) PRO/1000 Network Connection, Version - 2.5.3-k> port 0xe0c0-0xe0df mem 0xfea80000-0xfea9ffff,0xfe200000-0xfe3fffff,0xfeaf8000-0xfeafbfff irq 10 at device 17.0 on pci0
igb3: <Intel(R) PRO/1000 Network Connection, Version - 2.5.3-k> port 0xe0e0-0xe0ff mem 0xfeaa0000-0xfeabffff,0xfe400000-0xfe5fffff,0xfeafc000-0xfeafffff irq 10 at device 17.1 on pci0
em0: <Intel(R) PRO/1000 Legacy Network Connection 1.1.0> port 0xe000-0xe03f mem 0xfeac0000-0xfeadffff irq 10 at device 18.0 on pci0
igb0: <Intel(R) PRO/1000 Network Connection, Version - 2.5.3-k> port 0xe080-0xe09f mem 0xfea40000-0xfea5ffff,0xfde00000-0xfdffffff,0xfeaf0000-0xfeaf3fff irq 11 at device 16.0 on pci0
igb1: <Intel(R) PRO/1000 Network Connection, Version - 2.5.3-k> port 0xe0a0-0xe0bf mem 0xfea60000-0xfea7ffff,0xfe000000-0xfe1fffff,0xfeaf4000-0xfeaf7fff irq 10 at device 16.1 on pci0
igb2: <Intel(R) PRO/1000 Network Connection, Version - 2.5.3-k> port 0xe0c0-0xe0df mem 0xfea80000-0xfea9ffff,0xfe200000-0xfe3fffff,0xfeaf8000-0xfeafbfff irq 10 at device 17.0 on pci0
igb3: <Intel(R) PRO/1000 Network Connection, Version - 2.5.3-k> port 0xe0e0-0xe0ff mem 0xfeaa0000-0xfeabffff,0xfe400000-0xfe5fffff,0xfeafc000-0xfeafffff irq 10 at device 17.1 on pci0
em0: <Intel(R) PRO/1000 Legacy Network Connection 1.1.0> port 0xe000-0xe03f mem 0xfeac0000-0xfeadffff irq 10 at device 18.0 on pci0
root@OPNsense:~ #
zpool import -f -o altroot=/mnt zroot
since i just wanted the main pool (my volume was also called zroot but if you don't know it you can do just zpool import
and zfs will list all the pools it can see...)sed -i -e "s:cdrom:pfSense:" /mnt/etc/platform
mkdir -p /mnt/cf/conf
cp /mnt/conf.default/config.xml /mnt/cf/conf/config.xml
cd /mnt
rm -rf conf/
ln -s cf/conf ./conf
mkdir /mnt/tmp
chmod 1777 /mnt/tmp
/mnt/etc/platform
dosn't exist. nor does: /mnt/conf.default/config.xml
/conf.default/config.xml
is now probably /usr/local/etc/config.xml
and similarly https://github.com/opnsense/tools/commit/132641c826914fccf87b1ac433b39d3ec09c9a46 shows that /etc/platform
is now (maybe) /usr/local/etc/platform
sed -i -e "s:cdrom:OPNsense:" /mnt/usr/local/etc/platform
mkdir -p /mnt/cf/conf
cp /mnt/usr/local/etc/config.xml /mnt/cf/conf/config.xml
cd /mnt
rm -rf conf/
ln -s cf/conf ./conf
mkdir /mnt/tmp
chmod 1777 /mnt/tmp
______ _____ _____
/ __ |/ ___ |/ __ |
| | | | |__/ | | | |___ ___ _ __ ___ ___
| | | | ___/| | | / __|/ _ \ '_ \/ __|/ _ \
| |__| | | | | | \__ \ __/ | | \__ \ __/
|_____/|_| |_| /__|___/\___|_| |_|___/\___|
+=========================================+ @@@@@@@@@@@@@@@@@@@@@@@@@@@@
| | @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
| 1. Boot Multi User [Enter] | @@@@@ @@@@@
| 2. Boot [S]ingle User | @@@@@ @@@@@
| 3. [Esc]ape to loader prompt | @@@@@@@@@@@ @@@@@@@@@@@
| 4. Reboot | \\\\\ /////
| | )))))))))))) (((((((((((
| Options: | ///// \\\\\
| 5. [K]ernel: kernel (1 of 2) | @@@@@@@@@@@ @@@@@@@@@@@
| 6. Configure Boot [O]ptions... | @@@@@ @@@@@
| 7. Select Boot [E]nvironment... | @@@@@ @@@@@
| | @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
| | @@@@@@@@@@@@@@@@@@@@@@@@@@@@
+=========================================+
16.7 ``Dancing Dolphin''
/boot/kernel/kernel text=0x11ca488 data=0x7f3c28+0x23dd20 syms=[0x8+0x170580+0x8+0x188e92]
/boot/kernel/zfs.ko size 0x2e9350 at 0x22f6000
loading required module 'opensolaris'
/boot/kernel/opensolaris.ko size 0x55b0 at 0x25e0000
Booting...
KDB: debugger backends: ddb
KDB: current backend: ddb
Copyright (c) 1992-2016 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 10.3-RELEASE-p7 #0 a0a18f4(stable/16.7): Mon Aug 15 06:35:28 CEST 2016
root@sensey64:/usr/obj/usr/src/sys/SMP amd64
FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512
[HBSD ASLR] status: opt-out
[HBSD ASLR] mmap: 30 bit
[HBSD ASLR] exec base: 30 bit
[HBSD ASLR] stack: 42 bit
[HBSD ASLR] vdso: 28 bit
[HBSD ASLR] map32bit: 18 bit
[HBSD ASLR] disallow MAP_32BIT mode mmap: opt-in
[HBSD ASLR (compat)] status: opt-out
[HBSD ASLR (compat)] mmap: 14 bit
[HBSD ASLR (compat)] exec base: 14 bit
[HBSD ASLR (compat)] stack: 14 bit
[HBSD ASLR (compat)] vdso: 8 bit
[HBSD LOG] logging to system: enabled
[HBSD LOG] logging to user: disabled
CPU: Intel(R) Core(TM)2 Duo CPU E6850 @ 3.00GHz (3007.15-MHz K8-class CPU)
Origin="GenuineIntel" Id=0x6fb Family=0x6 Model=0xf Stepping=11
Features=0x783fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE,SSE2>
Features2=0x209<SSE3,MON,SSSE3>
AMD Features=0x20100800<SYSCALL,NX,LM>
AMD Features2=0x1<LAHF>
real memory = 2097086464 (1999 MB)
avail memory = 1988341760 (1896 MB)
Event timer "LAPIC" quality 400
ACPI APIC Table: <VBOX VBOXAPIC>
random: <Software, Yarrow> initialized
ioapic0 <Version 1.1> irqs 0-23 on motherboard
ipw_bss: You need to read the LICENSE file in /usr/share/doc/legal/intel_ipw/.
ipw_bss: If you agree with the license, set legal.intel_ipw.license_ack=1 in /boot/loader.conf.
module_register_init: MOD_LOAD (ipw_bss_fw, 0xffffffff805fd2a0, 0) error 1
ipw_ibss: You need to read the LICENSE file in /usr/share/doc/legal/intel_ipw/.
ipw_ibss: If you agree with the license, set legal.intel_ipw.license_ack=1 in /boot/loader.conf.
module_register_init: MOD_LOAD (ipw_ibss_fw, 0xffffffff805fd350, 0) error 1
ipw_monitor: You need to read the LICENSE file in /usr/share/doc/legal/intel_ipw/.
ipw_monitor: If you agree with the license, set legal.intel_ipw.license_ack=1 in /boot/loader.conf.
module_register_init: MOD_LOAD (ipw_monitor_fw, 0xffffffff805fd400, 0) error 1
wlan: mac acl policy registered
kbd1 at kbdmux0
netmap: loaded module
cryptosoft0: <software crypto> on motherboard
acpi0: <VBOX VBOXXSDT> on motherboard
acpi0: Power Button (fixed)
acpi0: Sleep Button (fixed)
cpu0: <ACPI CPU> on acpi0
attimer0: <AT timer> port 0x40-0x43,0x50-0x53 on acpi0
Timecounter "i8254" frequency 1193182 Hz quality 0
Event timer "i8254" frequency 1193182 Hz quality 100
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
acpi_timer0: <32-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
isab0: <PCI-ISA bridge> at device 1.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 UDMA33 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xd000-0xd00f at device 1.1 on pci0
ata0: <ATA channel> at channel 0 on atapci0
ata1: <ATA channel> at channel 1 on atapci0
vgapci0: <VGA-compatible display> mem 0xe0000000-0xe0ffffff irq 18 at device 2.0 on pci0
vgapci0: Boot video device
em0: <Intel(R) PRO/1000 Legacy Network Connection 1.1.0> port 0xd010-0xd017 mem 0xf0000000-0xf001ffff irq 19 at device 3.0 on pci0
em0: Ethernet address: 08:00:27:a4:59:de
em0: netmap queues/slots: TX 1/256, RX 1/256
pci0: <bridge> at device 7.0 (no driver attached)
em1: <Intel(R) PRO/1000 Legacy Network Connection 1.1.0> port 0xd040-0xd047 mem 0xf0820000-0xf083ffff irq 16 at device 8.0 on pci0
em1: Ethernet address: 08:00:27:14:45:26
em1: netmap queues/slots: TX 1/256, RX 1/256
ahci0: <Intel ICH8M AHCI SATA controller> port 0xd048-0xd04f,0xd058-0xd05f,0xd070-0xd07f mem 0xf0840000-0xf0841fff irq 21 at device 13.0 0
ahci0: AHCI v1.10 with 3 3Gbps ports, Port Multiplier not supported
ahcich0: <AHCI channel> at channel 0 on ahci0
ahcich1: <AHCI channel> at channel 1 on ahci0
ahcich2: <AHCI channel> at channel 2 on ahci0
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
uart0: console (9600,n,8,1)
acpi_acad0: <AC Adapter> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model IntelliMouse Explorer, device ID 4
orm0: <ISA Option ROM> at iomem 0xc0000-0xc7fff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
atrtc0: <AT realtime clock> at port 0x70 irq 8 on isa0
Event timer "RTC" frequency 32768 Hz quality 0
ppc0: cannot reserve I/O port range
ZFS NOTICE: Prefetch is disabled by default if less than 4GB of RAM is present;
to enable, add "vfs.zfs.prefetch_disable=0" to /boot/loader.conf.
ZFS filesystem version: 5
ZFS storage pool version: features support (5000)
Timecounters tick every 1.000 msec
IPsec: Initialized Security Association Processing.
em1: link state changed to UP
ada0 at ahcich0 bus 0 scbus2 target 0 lun 0
cd0 at ata0 bus 0 scbus0 target 0 lun 0
cd0: <VBOX CD-ROM 1.0> Removable CD-ROM SCSI device
cd0: Serial Number VB0-01f003f6
cd0: 33.300MB/s transfers (UDMA2, ATAPI 12bytes, PIO 65534bytes)
cd0: Attempt to query device size failed: NOT READY, Medium not present
ada0: <VBOX HARDDISK 1.0> ATA-6 SATA 2.x device
ada0: Serial Number VB794a53a7-50b7892e
ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada0: Command Queueing enabled
ada0: 8192MB (16777216 512 byte sectors)
ada0: Previously was known as ad4
random: unblocking device.
Timecounter "TSC-low" frequency 1503572867 Hz quality 800
Trying to mount root from zfs:zroot/ROOT/default []...
Mounting filesystems...
mount: /: unknown special file or file system
fsck: cannot open `/dev/zroot/ROOT/default': No such file or directory
fsck: cannot open `/dev/zroot/ROOT/default': No such file or directory
mkdir: /tmp/.cdrom: Read-only file system
mount_unionfs: /tmp/.cdrom: No such file or directory
mkdir: /tmp/.cdrom: Read-only file system
mount_unionfs: /tmp/.cdrom: No such file or directory
mkdir: /tmp/.cdrom: Read-only file system
mount_unionfs: /tmp/.cdrom: No such file or directory
mkdir: /tmp/.cdrom: Read-only file system
mount_unionfs: /tmp/.cdrom: No such file or directory
mkdir: /tmp/.cdrom: Read-only file system
mount_unionfs: /tmp/.cdrom: No such file or directory
mkdir: /tmp/.cdrom: Read-only file system
mount_unionfs: /tmp/.cdrom: No such file or directory
PHP Warning: file_put_contents(/etc/group): failed to open stream: Read-only file system in /usr/local/etc/rc.recover on line 210
PHP Warning: file_put_contents(/etc/master.passwd): failed to open stream: Read-only file system in /usr/local/etc/rc.recover on line 213
PHP Warning: file_put_contents(/etc/shells): failed to open stream: Read-only file system in /usr/local/etc/rc.recover on line 216
PHP Warning: file_put_contents(/etc/ttys): failed to open stream: Read-only file system in /usr/local/etc/rc.recover on line 219
pwd_mkdb: /etc/pwd.db.tmp: Read-only file system
pwd_mkdb: /etc/pwd.db.tmp: Read-only file system
Updating motd: /etc/motd is not writable, update failed.
Configuring syscons: blanktime.
mkdir: /conf: Read-only file system
mkdir: /conf: Read-only file system
Bootstrapping config.xml...cp: /conf/config.xml: No such file or directory
done.
Bootstrapping openssl.cnf...cp: /usr/local/openssl/openssl.cnf: Read-only file system
done.
grep: /conf/config.xml: No such file or directory
grep: /conf/config.xml: No such file or directory
[: -ne: unexpected operator
[: -ne: unexpected operator
mkdir: /var/etc: Read-only file system
rm: /var/run/nologin: Read-only file system
Configuring crash dump device: /dev/ada0p2
swapon: adding /dev/ada0p2 as swap device
rm: /var/run/dmesg.boot: Read-only file system
eval: cannot create /var/run/dmesg.boot: Read-only file system
chmod: /tmp: Read-only file system
.ldconfig: mkstemp(/var/run/ld-elf.so.hints.6bZCj1): Read-only file system
ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib /usr/local/lib/ipsec /usr/local/lib/perl5/5.20/mach/CORE
32-bit compatibility ldconfig path: /usr/lib32
done.
PHP Warning: fopen(): Filename cannot be empty in /usr/local/etc/rc.recover on line 179
PHP Warning: ftruncate() expects parameter 1 to be resource, boolean given in /usr/local/etc/rc.recover on line 189
PHP Warning: rewind() expects parameter 1 to be resource, boolean given in /usr/local/etc/rc.recover on line 190
PHP Warning: fwrite() expects parameter 1 to be resource, boolean given in /usr/local/etc/rc.recover on line 191
^Ccap_mkdb: /etc/login.conf.db: Read-only file system
touch: /usr/local/etc/php/extensions.ini: Read-only file system
usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-alpsvx] source_file target_file
cp [-R [-H | -L | -P]] [-f | -i | -n] [-alpsvx] source_file ... target_directory
usage: chmod [-fhv] [-R [-H | -L | -P]] mode file ...
rm: /usr/local/etc/php.ini: Read-only file system
rm: /usr/local/lib/php.ini: Read-only file system
/usr/local/etc/rc.php_ini_setup: cannot create /usr/local/lib/php.ini: Read-only file system
sed: -I or -i may not be used with stdin
/usr/local/etc/rc.php_ini_setup: cannot create : No such file or directory
sed: -I or -i may not be used with stdin
/usr/local/etc/rc.php_ini_setup: cannot create : No such file or directory
sed: -I or -i may not be used with stdin
/usr/local/etc/rc.php_ini_setup: cannot create : No such file or directory
sed: -I or -i may not be used with stdin
/usr/local/etc/rc.php_ini_setup: cannot create : No such file or directory
sed: -I or -i may not be used with stdin
/usr/local/etc/rc.php_ini_setup: cannot create : No such file or directory
sed: -I or -i may not be used with stdin
/usr/local/etc/rc.php_ini_setup: cannot create : No such file or directory
sed: -I or -i may not be used with stdin
/usr/local/etc/rc.php_ini_setup: cannot create : No such file or directory
sed: -I or -i may not be used with stdin
/usr/local/etc/rc.php_ini_setup: cannot create : No such file or directory
sed: -I or -i may not be used with stdin
/usr/local/etc/rc.php_ini_setup: cannot create : No such file or directory
sed: -I or -i may not be used with stdin
/usr/local/etc/rc.php_ini_setup: cannot create : No such file or directory
sed: -I or -i may not be used with stdin
/usr/local/etc/rc.php_ini_setup: cannot create : No such file or directory
sed: -I or -i may not be used with stdin
/usr/local/etc/rc.php_ini_setup: cannot create : No such file or directory
sed: -I or -i may not be used with stdin
/usr/local/etc/rc.php_ini_setup: cannot create : No such file or directory
sed: -I or -i may not be used with stdin
/usr/local/etc/rc.php_ini_setup: cannot create : No such file or directory
sed: -I or -i may not be used with stdin
/usr/local/etc/rc.php_ini_setup: cannot create : No such file or directory
sed: -I or -i may not be used with stdin
/usr/local/etc/rc.php_ini_setup: cannot create : No such file or directory
sed: -I or -i may not be used with stdin
/usr/local/etc/rc.php_ini_setup: cannot create : No such file or directory
sed: -I or -i may not be used with stdin
/usr/local/etc/rc.php_ini_setup: cannot create : No such file or directory
sed: -I or -i may not be used with stdin
/usr/local/etc/rc.php_ini_setup: cannot create : No such file or directory
sed: -I or -i may not be used with stdin
/usr/local/etc/rc.php_ini_setup: cannot create : No such file or directory
/usr/local/etc/rc.php_ini_setup: cannot create /usr/local/lib/php.ini: Read-only file system
cp: /usr/local/etc/php.ini: Read-only file system
chmod: /usr/local/opnsense/service/configd.py: Read-only file system
/usr/local/etc/rc.d/configd: WARNING: failed precmd routine for configd
Launching the init system...touch: /var/run/booting: Read-only file system
done.
Initializing...PHP Warning: copy(/conf/config.xml): failed to open stream: No such file or directory in /usr/local/opnsense/mvc/app/libr5
Warning: copy(/conf/config.xml): failed to open stream: No such file or directory in /usr/local/opnsense/mvc/app/library/OPNsense/Core/Co5
PHP Fatal error: Uncaught exception 'OPNsense\Core\ConfigException' with message 'file not found' in /usr/local/opnsense/mvc/app/library2
Stack trace:
#0 /usr/local/opnsense/mvc/app/library/OPNsense/Core/Config.php(486): OPNsense\Core\Config->load()
#1 /usr/local/opnsense/mvc/app/library/OPNsense/Core/Config.php(281): OPNsense\Core\Config->restoreBackup('/usr/local/etc/...')
#2 /usr/local/opnsense/mvc/app/library/OPNsense/Core/Singleton.php(49): OPNsense\Core\Config->init()
#3 /usr/local/opnsense/mvc/app/library/OPNsense/Core/Singleton.php(70): OPNsense\Core\Singleton->__construct()
#4 /usr/local/etc/inc/config.lib.inc(82): OPNsense\Core\Singleton::getInstance()
#5 /usr/local/etc/inc/config.inc(33): parse_config()
#6 /usr/local/etc/rc.bootup(116): require_once('/usr/local/etc/...')
#7 {main}
thrown in /usr/local/opnsense/mvc/app/library/OPNsense/Core/Config.php on line 302
Fatal error: Uncaught exception 'OPNsense\Core\ConfigException' with message 'file not found' in /usr/local/opnsense/mvc/app/library/OPNs2
Stack trace:
#0 /usr/local/opnsense/mvc/app/library/OPNsense/Core/Config.php(486): OPNsense\Core\Config->load()
#1 /usr/local/opnsense/mvc/app/library/OPNsense/Core/Config.php(281): OPNsense\Core\Config->restoreBackup('/usr/local/etc/...')
#2 /usr/local/opnsense/mvc/app/library/OPNsense/Core/Singleton.php(49): OPNsense\Core\Config->init()
#3 /usr/local/opnsense/mvc/app/library/OPNsense/Core/Singleton.php(70): OPNsense\Core\Singleton->__construct()
#4 /usr/local/etc/inc/config.lib.inc(82): OPNsense\Core\Singleton::getInstance()
#5 /usr/local/etc/inc/config.inc(33): parse_config()
#6 /usr/local/etc/rc.bootup(116): require_once('/usr/local/etc/...')
#7 {main}
thrown in /usr/local/opnsense/mvc/app/library/OPNsense/Core/Config.php on line 302
rm: /var/run/booting: No such file or directory
Starting CRON... done.
grep: /conf/config.xml: No such file or directory
[: -gt: unexpected operator
Warning: copy(/conf/config.xml): failed to open stream: No such file or directory in /usr/local/opnsense/mvc/app/library/OPNsense/Core/Co5
Fatal error: Uncaught exception 'OPNsense\Core\ConfigException' with message 'file not found' in /usr/local/opnsense/mvc/app/library/OPNs2
Stack trace:
#0 /usr/local/opnsense/mvc/app/library/OPNsense/Core/Config.php(486): OPNsense\Core\Config->load()
#1 /usr/local/opnsense/mvc/app/library/OPNsense/Core/Config.php(281): OPNsense\Core\Config->restoreBackup('/usr/local/etc/...')
#2 /usr/local/opnsense/mvc/app/library/OPNsense/Core/Singleton.php(49): OPNsense\Core\Config->init()
#3 /usr/local/opnsense/mvc/app/library/OPNsense/Core/Singleton.php(70): OPNsense\Core\Singleton->__construct()
#4 /usr/local/etc/inc/config.lib.inc(82): OPNsense\Core\Singleton::getInstance()
#5 /usr/local/etc/inc/config.inc(33): parse_config()
#6 /usr/local/etc/rc.initial.banner(31): require_once('/usr/local/etc/...')
#7 {main}
thrown in /usr/local/opnsense/mvc/app/library/OPNsense/Core/Config.php on line 302
Aug 30 17:18:04 getty[1514]: open /dev/ttyu3: No such file or directory
Aug 30 17:18:04 getty[1512]: open /dev/ttyu1: No such file or directory
Aug 30 17:18:04 getty[1513]: open /dev/ttyu2: No such file or directory
FreeBSD/amd64 (Amnesiac) (ttyu0)
login: Aug 30 17:18:04 getty[1516]: open /dev/ttyd0: No such file or directory
Aug 30 17:18:04 getty[1515]: open /dev/dcons: No such file or directory
root
Last login: Tue Aug 30 20:54:31 on ttyu0
FreeBSD ?.?.? (UNKNOWN)
Welcome to FreeBSD!
Release Notes, Errata: https://www.FreeBSD.org/releases/
Security Advisories: https://www.FreeBSD.org/security/
FreeBSD Handbook: https://www.FreeBSD.org/handbook/
FreeBSD FAQ: https://www.FreeBSD.org/faq/
Questions List: https://lists.FreeBSD.org/mailman/listinfo/freebsd-questions/
FreeBSD Forums: https://forums.FreeBSD.org/
Documents installed with the system are in the /usr/local/share/doc/freebsd/
directory, or can be installed later with: pkg install en-freebsd-doc
For other languages, replace "en" with a language code like de or fr.
Show the version of FreeBSD installed: freebsd-version ; uname -a
Please include that output and any error messages when posting questions.
Introduction to manual pages: man man
FreeBSD directory layout: man hier
Edit /etc/motd to change this login announcement.
root@:~ #
pkg install wget
wget --no-check-certificate https://raw.githubusercontent.com/opnsense/update/master/bootstrap/opnsense-bootstrap.sh
QuoteQuote from: SilverJS on May 26, 2015, 09:17:05 PM
2. ZFS support. I know someone else had already mentioned this in a separate thread, and Franco (as I recall) had mentioned he'd consider it. I'd just like to add my voice to the chorus requesting this. I can tell you that, in the short while I've used boot environments in FreeNAS 9.3 (been using FreeNAS since the very early 8.x versions), that they have already proven their worth and utility to me. Anybody who's had trouble with an upgrade of any kind can relate to this, I'm sure. I understand this is much more long-term, and that the team has higher-priority items for now - but, all I'm asking is, that you not let this drop from your crosscheck. =)
This is still a huge task ahead of us. I've recently fixed package installations on ZFS systems, but for now two major issues are stopping us from deploying ZFS in a release:
(a) the rc system won't boot off a zfs system as it is not aware of its idiosyncrasies
(b) the installer needs a zfs install option
After those steps are tackled, we can start to phase in boot environments and the like. If anybody is willing to help I'd be happy to guide and review changes to make this happen rather sooner than later. Hope that helps.
I've recently fixed package installationsand i found this post which seemed to indicate you can convert a vanilla installation of freebsd into opnsense: https://forum.opnsense.org/index.php?topic=1480.msg4481#msg4481. but that same thread also has Johan2 having trouble converting his freebsd with zfs on root to opnsense.