-
Seneste indlæg
Arkiver
- januar 2024
- december 2023
- november 2023
- oktober 2023
- september 2023
- marts 2023
- oktober 2022
- september 2022
- august 2022
- juli 2022
- juni 2022
- maj 2022
- marts 2022
- februar 2022
- december 2021
- oktober 2021
- september 2021
- august 2021
- marts 2021
- maj 2019
- april 2019
- januar 2019
- december 2018
- november 2018
- oktober 2018
- september 2018
- august 2018
- juli 2018
- maj 2018
- april 2018
- marts 2018
- januar 2018
- december 2017
- september 2017
- juli 2017
- juni 2017
- april 2017
- december 2016
- november 2016
- februar 2016
- januar 2016
- december 2015
- september 2015
- august 2015
- april 2015
- februar 2015
- december 2014
- september 2014
- august 2014
- juni 2014
- april 2014
- marts 2014
- februar 2014
- januar 2014
- november 2013
- oktober 2013
- september 2013
- juni 2013
- maj 2013
- april 2013
- januar 2013
- december 2012
- oktober 2012
- september 2012
- august 2012
- juli 2012
- juni 2012
- maj 2012
- maj 2011
- marts 2011
- februar 2011
- juni 2009
- maj 2009
- marts 2009
- december 2008
- november 2008
- oktober 2008
- august 2008
- juli 2008
- juni 2008
- april 2008
- marts 2008
- februar 2008
- januar 2008
- december 2007
- november 2007
- oktober 2007
- september 2007
- august 2007
- juli 2007
- juni 2007
- maj 2007
- april 2007
- marts 2007
- februar 2007
- januar 2007
- november 2006
- oktober 2006
- august 2006
- juli 2006
- juni 2006
- maj 2006
- april 2006
- marts 2006
- februar 2006
- januar 2006
- december 2005
- november 2005
- oktober 2005
- september 2005
- juni 2005
- maj 2005
- april 2005
- marts 2005
- februar 2005
- januar 2005
- december 2004
- november 2004
- oktober 2004
- september 2004
- august 2004
- juli 2004
- juni 2004
- maj 2004
- april 2004
- marts 2004
- februar 2004
- januar 2004
- december 2003
- november 2003
- oktober 2003
- september 2003
- august 2003
- juli 2003
- juni 2003
- maj 2003
- april 2003
- marts 2003
- februar 2003
- januar 2003
- juli 2002
- juni 2002
Kategorier
- Android (1)
- Ansible (1)
- Apache (53)
- Backdoors (3)
- Backuppc (1)
- Blog (2)
- Cisco (2)
- Development (1)
- Domain Name System (3)
- Exploits (4)
- FreeBSD (64)
- Hardware hacking (2)
- HP (1)
- HTML (2)
- Humor (10)
- I3WM (2)
- Intrusion detection (1)
- IRC (5)
- Irssi (1)
- Javascript (1)
- Knowledge Base (623)
- Kryptering (6)
- KVM (4)
- Lamp (5)
- Letsencrypt (1)
- LifeHack (2)
- Links (30)
- Linux (251)
- MobilPhone (1)
- Monitoring (3)
- Mysql (6)
- Nagios (9)
- Networking (152)
- Old Base (529)
- OpenBSD (4)
- OpenVPN (3)
- Opskrifter (1)
- OsX (1)
- PHP (12)
- Postfix (1)
- Programmering (50)
- Python (5)
- Retro hardware (2)
- Security (13)
- Shellscript (7)
- Sparc (1)
- SQL (24)
- SSH (9)
- Uncategorized (40)
- Vagrant (2)
- Videostreaming (1)
- Vim (7)
- VNC (1)
- Windows (23)
- Wordpress (3)
- Workstation (28)
- xcp-ng (1)
- Zfs (1)
Meta
Kategoriarkiv: FreeBSD
Installing FreeBSD 2017 (OpenVPN)
wget https://download.freebsd.org/ftp/releases/amd64/amd64/ISO-IMAGES/11.1/FreeBSD-11.1-RELEASE-amd64-memstick.img root@defiant:/home/mike/Downloads# dd if=FreeBSD-11.1-RELEASE-amd64-memstick.img of=/dev/sdb bs=10240 dpkg search openvpn dpkg install openvpn-2.4.3 cd /usr/local/etc/ mkdir openvpn root@beastie:/usr/local/etc/openvpn # cp /root/beastie.mikjaer.com.ovpn . add to /etc/rc.conf openvpn_enable=”YES” openvpn_configfile=”/usr/local/etc/openvpn/beastie.mikjaer.com.ovpn” reboot
Udgivet i FreeBSD, Knowledge Base, Old Base, OpenVPN
Skriv en kommentar
Extend FreeBSD ZFS inside KVM with virsh
## Example details: # Disk is sized 15G, we will extend it to 25G. # RAM is 2G, Swap is also 2G. # First partition is freebsd-boot. # Second and third is eigher freebsd-swap or freebsd-zfs. I will cover both … Læs resten
Udgivet i FreeBSD, Knowledge Base, Old Base, Zfs
Skriv en kommentar
Hotswaping SCSI in FreeBSD
camcontrol stop sd0 stops device sd0 , flushes cache’s and stuff camcontrol rescan all scan all scsi busses for new devices.
Udgivet i FreeBSD, Knowledge Base, Old Base
Skriv en kommentar
Boundling NIC’s in FreeBSD
ckh #!/bin/sh ckh # Configure NICs as up and load kernel module ckh ifconfig vr0 up ckh ifconfig vr1 up ckh kldload ng_ether.ko ckh # Plumb notes together ckh ngctl mkpeer vr0: one2many upper one ckh ngctl connect vr0: vr0:upper … Læs resten
Udgivet i FreeBSD, Knowledge Base, Networking, Old Base
Skriv en kommentar
FreeBSD Trafic Shaping
http://www.bsdnews.org/02/dummynet.php
Udgivet i FreeBSD, Knowledge Base, Links, Old Base
Skriv en kommentar
Software raid in freebsd
you can if you want add: device ccd but it shouldnt be necesary: ccdconfig ccd1 32 0 /dev/ad0 /dev/ad1 Unites ad0 and ad1 in a harddisk named ccd1 which has twice the size Save config: ccdconfig -g > /etc/ccd.conf echo … Læs resten
Udgivet i FreeBSD, Knowledge Base, Old Base
Skriv en kommentar
Creative port forwarding in FreeBSD (multivnc)
We needed some dynamic forwarding in FreeBSD cd /usr/ports/sysutils/socket make install We needed to forward some vnc vbcafe# echo vnc 5900/tcp >> /etc/services vbcafe# echo vnc1 5901/tcp >> /etc/services vbcafe# echo vnc2 5902/tcp >> /etc/services vbcafe# echo vnc3 5903/tcp >> … Læs resten
Udgivet i FreeBSD, Knowledge Base, Networking, Old Base
Skriv en kommentar
Cafe firewall FreeBSD
==== rc.conf =============================================== defaultrouter=”192.168.10.1″ hostname=”npcafe.secure-net.dk” ifconfig_vr0=”inet 10.10.10.254 netmask 255.255.255.0″ ifconfig_sis0=”inet 192.168.10.199 netmask 255.255.255.0″ gateway_enable=”YES” sshd_enable=”YES” usbd_enable=”YES” apache2_enable=”YES” named_enable=”YES” smbd_enable=YES nmbd_enable=YES dhcpd_enable=YES dhcpd_ifaces=vr0 firewall_enable=YES natd_enable=”YES” natd_interface=”sis0″ ==== firewall ============================================= #!/bin/sh case “$1” in start) echo Starting firewall ipfw -f flush natd … Læs resten
Udgivet i FreeBSD, Knowledge Base, Networking, Old Base
Skriv en kommentar
Make UFS BT combatible
impreza# df -h Filesystem Size Used Avail Capacity Mounted on …. /dev/da1 33G 1.2G 29G 4% /data2 …. impreza# umount -f /data2 impreza# tunefs -m 0 /data2 tunefs: minimum percentage of free space changes from 8% to 0% tunefs: should … Læs resten
Udgivet i FreeBSD, Knowledge Base, Old Base
Skriv en kommentar
Disk quotas in freebsd
The quotas used to restrict the disk space for system users. It will be useful in case if you have not enough free disk space on your server and etc. The quotas may be used by two ways: # User … Læs resten
Udgivet i FreeBSD, Knowledge Base, Old Base
Skriv en kommentar