head	1.1;
access;
symbols
	pkgsrc-2026Q1:1.1.0.38
	pkgsrc-2026Q1-base:1.1
	pkgsrc-2025Q4:1.1.0.36
	pkgsrc-2025Q4-base:1.1
	pkgsrc-2025Q3:1.1.0.34
	pkgsrc-2025Q3-base:1.1
	pkgsrc-2025Q2:1.1.0.32
	pkgsrc-2025Q2-base:1.1
	pkgsrc-2025Q1:1.1.0.30
	pkgsrc-2025Q1-base:1.1
	pkgsrc-2024Q4:1.1.0.28
	pkgsrc-2024Q4-base:1.1
	pkgsrc-2024Q3:1.1.0.26
	pkgsrc-2024Q3-base:1.1
	pkgsrc-2024Q2:1.1.0.24
	pkgsrc-2024Q2-base:1.1
	pkgsrc-2024Q1:1.1.0.22
	pkgsrc-2024Q1-base:1.1
	pkgsrc-2023Q4:1.1.0.20
	pkgsrc-2023Q4-base:1.1
	pkgsrc-2023Q3:1.1.0.18
	pkgsrc-2023Q3-base:1.1
	pkgsrc-2023Q2:1.1.0.16
	pkgsrc-2023Q2-base:1.1
	pkgsrc-2023Q1:1.1.0.14
	pkgsrc-2023Q1-base:1.1
	pkgsrc-2022Q4:1.1.0.12
	pkgsrc-2022Q4-base:1.1
	pkgsrc-2022Q3:1.1.0.10
	pkgsrc-2022Q3-base:1.1
	pkgsrc-2022Q2:1.1.0.8
	pkgsrc-2022Q2-base:1.1
	pkgsrc-2022Q1:1.1.0.6
	pkgsrc-2022Q1-base:1.1
	pkgsrc-2021Q4:1.1.0.4
	pkgsrc-2021Q4-base:1.1
	pkgsrc-2021Q3:1.1.0.2
	pkgsrc-2021Q3-base:1.1;
locks; strict;
comment	@# @;


1.1
date	2021.06.24.14.01.31;	author nia;	state Exp;
branches;
next	;
commitid	o23UruAZ6137ioYC;


desc
@@


1.1
log
@add net/fastd


fastd is a very small VPN daemon which tunnels IP packets and Ethernet frames
over UDP. It supports various modern encryption and authentication schemes
and can be used in many different network topologies (1:1, 1:n, meshed).
@
text
@# $NetBSD$

# Log warnings and errors to stderr
log level warn;

# Log everything to syslog
log to syslog level debug;

# Drop privileges and run as the fastd user
drop capabilities yes;
user "@@FASTD_USER@@";
group "@@FASTD_GROUP@@";

# Create a status socket
status socket "@@VARBASE@@/run/fastd/fastd.sock";

# Set the interface name
mode tap;
interface "tap0";

# Support salsa2012+umac and null methods, prefer salsa2012+umac
method "salsa2012+umac";
method "null";

# Bind to a fixed port, IPv4 only
bind 0.0.0.0:10000;

# Generate a secret key with `fastd --generate-key`
secret "CHANGE_ME";

# Set the interface MTU for TAP mode with xsalsa20/aes128 over IPv4 with a base MTU of 1492 (PPPoE)
# (see MTU selection documentation)
mtu 1426;

# Include peers from the directory 'peers'
include peers from "peers";
@
