Quantcast
Channel: opnsense - それマグで!
Browsing latest articles
Browse All 8 View Live

Image may be NSFW.
Clik here to view.

OPNSenseをKVMのvirtio で動かしたほうが速かった

OPNSenseをKVM+qemu上に作成した。構成としては、OpenWRTを載せた同じマシンに載せた。virtio参考資料として、さくらインターネットの記事を見ていたら、virtio...

View Article



OPNSenseゲストのdisk容量をリサイズした

OPNSense めっちゃディスク食うOpenWRTなら、3GBもあれば十分だったけど。OPNSenseはメモリもディスクも大食らいでした。こんなことなら libvirtじゃなくて vbox 使えばよかった。後悔はするけど、勇気を持って前に進む。BSDのコマンドでディスク容量を「オンライン・リサイズ」していきます。KVM(libvirt)側のゲストのディスク容量を拡大するlibvirtの...

View Article

Image may be NSFW.
Clik here to view.

OPNSense に ports を入れて htopを入れてみた。

OPNSense に portsを導入portsを使ってOPNSenseにパッケージを導入してみるportsをダウンロードopnsense-code ports toolsビルド用ツールを用意pkg install autoconf automake libtool念の為にソースコードも用意opnsense-code tools ports...

View Article

Image may be NSFW.
Clik here to view.

OPNSense でAPIを使う。

opnsense...

View Article

Image may be NSFW.
Clik here to view.

OPNSenseのAPIでファイアウォールのAliasを更新する。API利用例

OPNSense設定を更新したいのでAPIを利用するOPNSenseの設定を更新しようと思うと、APIを使うのが手っ取り早い。APIはJSONでGET/POSTができる。APIで設定を取得したり、更新したりができる。https://docs.opnsense.org/development/api/core/firewall.htmlにAPIの一覧があるAPIの使い方の調べ方APIは、管理画面で使わ...

View Article


Image may be NSFW.
Clik here to view.

OPNSense でSNATする。

OPNSense でSNATする。opnsense...

View Article

Image may be NSFW.
Clik here to view.

OPNSense の SNMP がよく止まる。

OPNSense の SNMPがよく止まる。OPNSense のSNMPがなぜか止まって、Zabbixがエラーログを履きまくるんで、定期的に再起動することにする。サービスの再起動の方法SSHからならssh opnsense.local 'pluginctl -s snmpd restart'APIからなら key=xxxxxxxmM8IEUv secret=xxxxxxxSv16...

View Article

Image may be NSFW.
Clik here to view.

OPNSense のCronジョブを定義する

OPNSense のジョブを定義するCron...

View Article

Browsing latest articles
Browse All 8 View Live




Latest Images