ad8960edfe
natpmpd is a daemon that can be used on an OpenBSD NAT gateway to provide support for the NAT-PMP protocol on any internal networks which then allows a client to create and maintain rules in pf to map TCP and UDP connections to the external IP address on the NAT gateway to services running on the client itself.
12 lines
160 B
Bash
12 lines
160 B
Bash
#!/bin/sh
|
|
#
|
|
# $OpenBSD: natpmpd.rc,v 1.1.1.1 2011/12/23 15:15:30 sthen Exp $
|
|
|
|
daemon="${TRUEPREFIX}/sbin/natpmpd"
|
|
|
|
. /etc/rc.d/rc.subr
|
|
|
|
rc_reload=NO
|
|
|
|
rc_cmd $1
|