Skip to content

Commit

Permalink
Merge pull request #8 from vedetta-com/wip
Browse files Browse the repository at this point in the history
Clean pf.conf; Change README.md
  • Loading branch information
horia authored Jun 15, 2017
2 parents 8ccfdb8 + 56877ed commit cd5610b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
# vedetta
# vedetta (alpha)
*Open*BSD Router Boilerplate

## About
> an opinionated, best practice, vanilla OpenBSD base configuration for bare-metal, or cloud routers
What would an OpenBSD router configured using examples from the OpenBSD FAQ and Manual pages look like?

## Features
Share what you've got, keep what you need:
* acme-client
* authpf
* dhclient
Expand Down
12 changes: 10 additions & 2 deletions src/etc/pf.conf
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,11 @@ match out log on egress inet6 proto tcp \
tagged LAN6_INET6

match out log on egress inet proto tcp \
to port { ssh 2882 2442 } \
to port ssh \
set queue (ssh_bulk, ssh_interactive) \
tagged LAN_INET
match out log on egress inet6 proto tcp \
to port { ssh 2882 2442 } \
to port ssh \
set queue (ssh_bulk, ssh_interactive) \
tagged LAN6_INET6

Expand Down Expand Up @@ -311,6 +311,14 @@ pass out log on { enc tun } inet \
keep state (if-bound) \
set prio (5, 6) # default prio 3

pass out log on { lan wlan vether } inet6 \
from (self) to (self:network) \
set prio (5, 6) # default prio 3
pass out log on { enc tun } inet6 \
from (self) to (self:network) \
keep state (if-bound) \
set prio (5, 6) # default prio 3

# and guests

# www to LAN[6]_INET[6]
Expand Down

0 comments on commit cd5610b

Please sign in to comment.