sonertari / pffw Goto Github PK
View Code? Open in Web Editor NEWPF Firewall on OpenBSD
License: GNU General Public License v3.0
PF Firewall on OpenBSD
License: GNU General Public License v3.0
Hi
I been reading and trying to find it lot but my eyes been always been around this project if this could implement as pppoe server would be great alternative to winbox and mikrotik.
system config network
when i change the Nameserver ip to 192.168.2.2
dns log will show :
dnsmasq
reading /etc/resolv.conf
using nameserver 192.168.2.1
dns will restore to 192.168.2.1
packet filter info states
Add kill function after each line of connection
we can use pfctl -k to kill some state
Of course, it is also possible to add a one-key block function to each connection
-K host | network
Kill all of the source tracking entries originating from the specified host
or network. A second -K host or -K network option may be specified, which
will kill all the source tracking entries from the first host/network to the
second.
-k host | network
Kill all of the state entries originating from the specified host or network.
A second -k host or -k network option may be specified, which will kill all
the state entries from the first host/network to the second. For example, to
kill all of the state entries originating from ``host'':
# pfctl -k host
To kill all of the state entries from ``host1'' to ``host2'':
# pfctl -k host1 -k host2
To kill all states originating from 192.168.1.0/24 to 172.16.0.0/16:
# pfctl -k 192.168.1.0/24 -k 172.16.0.0/16
A network prefix length of 0 can be used as a wildcard. To kill all states
with the target ``host2'':
# pfctl -k 0.0.0.0/0 -k host2
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.