All Projects → naturalis → ansible-opnsense

naturalis / ansible-opnsense

Licence: other
Ansible role to configure OPNsense firewalls

Projects that are alternatives of or similar to ansible-opnsense

opnsense-starterkit
Try opnsense, build opnsense images or start development
Stars: ✭ 18 (-76.92%)
Mutual labels:  firewall, opnsense
pf-azure-sentinel
Parse pfSense/OPNSense logs using Logstash, GeoIP tag entities, add additional context to logs, then send to Azure Sentinel for analysis.
Stars: ✭ 24 (-69.23%)
Mutual labels:  opnsense, pfsense
OPNsensePIAWireguard
This script automates the process of getting Wireguard setup on OPNsense to connect to PIA's NextGen Wireguard servers. It will create Wireguard Instance(Local) and Peer(Endpoint) on your OPNsense setup.
Stars: ✭ 59 (-24.36%)
Mutual labels:  firewall, opnsense
UnboundBL
🛑 DNSBL (adblock) on OPNsense with UnboundBL & Unbound DNS
Stars: ✭ 63 (-19.23%)
Mutual labels:  firewall, opnsense
Pfsense
Main repository for pfSense
Stars: ✭ 3,433 (+4301.28%)
Mutual labels:  firewall, pfsense
Synwall
A zero-configuration (IoT) firewall
Stars: ✭ 219 (+180.77%)
Mutual labels:  firewall
cloudflare-block-bad-bot-ruleset
🚦 Block malicious crawlers with Cloudflare Firewall Rules
Stars: ✭ 178 (+128.21%)
Mutual labels:  firewall
Windowsspyblocker
WindowsSpyBlocker 🛡️ is an application written in Go and delivered as a single executable to block spying and tracking on Windows systems.
Stars: ✭ 2,913 (+3634.62%)
Mutual labels:  firewall
Ahri
Ahri is an intranet sharing tool. Like VPN
Stars: ✭ 205 (+162.82%)
Mutual labels:  firewall
UTMFW
UTM Firewall on OpenBSD
Stars: ✭ 104 (+33.33%)
Mutual labels:  firewall
paragon firewall ce
Paragon Firewall for Mac
Stars: ✭ 63 (-19.23%)
Mutual labels:  firewall
WinDivertSharp
A minimal .NET binding over WinDivert
Stars: ✭ 91 (+16.67%)
Mutual labels:  firewall
Polycube
eBPF/XDP-based software framework for fast network services running in the Linux kernel.
Stars: ✭ 217 (+178.21%)
Mutual labels:  firewall
Pan Configurator
Framework and utilities to easily manage and edit Palo Alto Network PANOS devices
Stars: ✭ 216 (+176.92%)
Mutual labels:  firewall
ip-finder-cli
The official command line client for IPFinder
Stars: ✭ 11 (-85.9%)
Mutual labels:  firewall
Frpc Android
Android,安卓版frpc,一个快速反向代理,可帮助您将NAT或防火墙后面的本地服务器暴露给Internet。
Stars: ✭ 205 (+162.82%)
Mutual labels:  firewall
WaGis-Mass-IP-Blacklister-Windows
This Tool blocks a Mass of IP Adresses via the Windows Firewall. You can run in Automatic-Mode using a Abusive IP List like blocklist.de
Stars: ✭ 34 (-56.41%)
Mutual labels:  firewall
Mignis
Mignis is a semantic based tool for firewall configuration.
Stars: ✭ 43 (-44.87%)
Mutual labels:  firewall
cs-wordpress-bouncer
CrowdSec is an open-source cyber security tool. This plugin blocks detected attackers or display them a captcha to check they are not bots.
Stars: ✭ 25 (-67.95%)
Mutual labels:  firewall
shield
基于Strom的日志实时流量分析主动防御(CCFirewall)系统
Stars: ✭ 68 (-12.82%)
Mutual labels:  firewall

ansible-opnsense

Ansible role to configure OPNsense firewalls

Requirements

  • OPNsense firewall with shell access

Role Variables

An example: https://github.com/naturalis/oss-network-demo/tree/master/ansible/basic

Dependencies

sudo pip install lxml
sudo pip3 install lxml
sudo apt install secure-delete

Example Playbook

Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:

---
- hosts: firewalls
  gather_facts: false
  become: false
  roles:
    - ansible-opnsense
...

Become on play level is not needed for XML changes on localhost only for tasks to fetch/push config.xml and restart services on OPNsense.

Ansible command

ansible-playbook -c paramiko firewalls.yml -l firewall1 -t user,fetch,copy,reload

Sample Playbook

https://github.com/Rosa-Luxemburgstiftung-Berlin/ansible-opnsense-playbook

Other possible usefull ansible roles related to opnsense:

License

Apache 2.0

Author Information

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].