2024-06-03 07:04:29 -07:00

1.8 KiB

type, created, updated
type created updated
note 2024-02-25T23:57:03.362Z 2024-02-26T04:47:01.338Z

opnsense

  • Remove all cat5 cables
  • USB boot to install with all defualts
  • Reboot
  • Connect only lan cat5
  • root / opnsense
  • Change Interface lan to 192.168.5.1/26 save only
  • Change DHCPv4 to 192.168.5.10 --- 192.168.5.50 8.8.8.8 1.1.1.1
  • Apply settings
  • Disconnect lan cat5 re-connect lan cat5
  • System - General - Timezone
  • System - Gateways add wan 192.168.0.1 up stream gateway
  • Change Interface wan to IPv4 Static 192.168.0.55/26 IPv6 None wan (gateway)
  • System - Firmware - Status - check for updates - update, plugin theme
  • System - Firmware - Plugin - theme, nginx
  • System - General - Theme
  • System Settings Administration - Enable Secure Shell, Permit root user login, Permit password login - Save
pkg install nano
adduser
sysncthing
gogs
# https://ports.freebsd.org/cgi/ports.cgi?query=ncdu&stype=all&sektion=all
opnsense-code ports && cd /usr/ports/sysutils/ncdu && make install
# https://ports.freebsd.org/cgi/ports.cgi?query=gogs&stype=all&sektion=all
opnsense-code ports && cd /usr/ports/devel/gogs && make install
nano /usr/local/etc/gogs/conf/app.ini
nano /usr/local/etc/rc.d/gogs
service gogs start
# https://ports.freebsd.org/cgi/ports.cgi?query=syncthing&stype=all&sektion=all
opnsense-code ports && cd /usr/ports/lang/go120 && make clean
opnsense-code ports && cd /usr/ports/lang/go120 && make install
opnsense-code ports && cd /usr/ports/net/syncthing && make install
nano /usr/local/etc/rc.d/syncthing
nano /root/.local/state/syncthing/config.xml
nano /usr/local/etc/syncthing/config.xml
<address>0.0.0.0:8384</address>
syncthing