2024-06-03
This commit is contained in:
61
_-Review/opnsense.md
Normal file
61
_-Review/opnsense.md
Normal file
@ -0,0 +1,61 @@
|
||||
---
|
||||
type: "note"
|
||||
created: "2024-02-25T23:57:03.362Z"
|
||||
updated: "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
|
||||
|
||||
```bash
|
||||
pkg install nano
|
||||
adduser
|
||||
sysncthing
|
||||
gogs
|
||||
```
|
||||
|
||||
```bash
|
||||
# https://ports.freebsd.org/cgi/ports.cgi?query=ncdu&stype=all&sektion=all
|
||||
opnsense-code ports && cd /usr/ports/sysutils/ncdu && make install
|
||||
```
|
||||
|
||||
```bash
|
||||
# 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
|
||||
```
|
||||
|
||||
```bash
|
||||
# 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
|
||||
```
|
||||
|
||||
```xml
|
||||
<address>0.0.0.0:8384</address>
|
||||
```
|
||||
|
||||
```bash
|
||||
syncthing
|
||||
```
|
Reference in New Issue
Block a user