mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-28 03:42:04 +01:00
ppp_alias -> ppp_nat
Submitted by: Josef L. Karthauser <joe@FreeBSD.org.uk>
This commit is contained in:
parent
ae2e544f37
commit
731a1c9a39
@ -9,7 +9,7 @@
|
||||
#
|
||||
# All arguments must be in double or single quotes.
|
||||
#
|
||||
# $Id: rc.conf,v 1.28 1999/08/14 17:13:40 obrien Exp $
|
||||
# $Id: rc.conf,v 1.29 1999/08/14 17:15:19 obrien Exp $
|
||||
|
||||
##############################################################
|
||||
### Important initial Boot-time options ####################
|
||||
@ -64,7 +64,7 @@ sppp_interfaces="" # List of sppp interfaces.
|
||||
ppp_enable="NO" # Start user-ppp (or NO).
|
||||
ppp_mode="auto" # Choice of "auto", "ddial", "direct" or "dedicated".
|
||||
# For details see man page for ppp(8). Default is auto.
|
||||
ppp_alias="YES" # Packet aliasing (NAT/masquerading) or NO.
|
||||
ppp_nat="YES" # Use PPP's internal network address translation or NO.
|
||||
ppp_profile="papchap" # Which profile to use from /etc/ppp/ppp.conf.
|
||||
|
||||
### Network daemon (miscellaneous) & NFS options: ###
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/sh -
|
||||
#
|
||||
# $Id: rc.network,v 1.53 1999/08/10 09:45:31 des Exp $
|
||||
# $Id: rc.network,v 1.54 1999/08/19 21:15:16 brian Exp $
|
||||
# From: @(#)netstart 5.9 (Berkeley) 3/30/91
|
||||
|
||||
# Note that almost all the user-configurable behavior is no longer in
|
||||
@ -106,8 +106,8 @@ network_pass1() {
|
||||
ppp_command="-${ppp_mode} ";
|
||||
|
||||
# Switch on alias mode?
|
||||
if [ "X$ppp_alias" = X"YES" ]; then
|
||||
ppp_command="${ppp_command} -alias";
|
||||
if [ "X$ppp_nat" = X"YES" ]; then
|
||||
ppp_command="${ppp_command} -nat";
|
||||
fi
|
||||
|
||||
echo -n 'Starting ppp: '; ppp ${ppp_command} -quiet ${ppp_profile}
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/sh -
|
||||
#
|
||||
# $Id: rc.network,v 1.53 1999/08/10 09:45:31 des Exp $
|
||||
# $Id: rc.network,v 1.54 1999/08/19 21:15:16 brian Exp $
|
||||
# From: @(#)netstart 5.9 (Berkeley) 3/30/91
|
||||
|
||||
# Note that almost all the user-configurable behavior is no longer in
|
||||
@ -106,8 +106,8 @@ network_pass1() {
|
||||
ppp_command="-${ppp_mode} ";
|
||||
|
||||
# Switch on alias mode?
|
||||
if [ "X$ppp_alias" = X"YES" ]; then
|
||||
ppp_command="${ppp_command} -alias";
|
||||
if [ "X$ppp_nat" = X"YES" ]; then
|
||||
ppp_command="${ppp_command} -nat";
|
||||
fi
|
||||
|
||||
echo -n 'Starting ppp: '; ppp ${ppp_command} -quiet ${ppp_profile}
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/sh -
|
||||
#
|
||||
# $Id: rc.network,v 1.53 1999/08/10 09:45:31 des Exp $
|
||||
# $Id: rc.network,v 1.54 1999/08/19 21:15:16 brian Exp $
|
||||
# From: @(#)netstart 5.9 (Berkeley) 3/30/91
|
||||
|
||||
# Note that almost all the user-configurable behavior is no longer in
|
||||
@ -106,8 +106,8 @@ network_pass1() {
|
||||
ppp_command="-${ppp_mode} ";
|
||||
|
||||
# Switch on alias mode?
|
||||
if [ "X$ppp_alias" = X"YES" ]; then
|
||||
ppp_command="${ppp_command} -alias";
|
||||
if [ "X$ppp_nat" = X"YES" ]; then
|
||||
ppp_command="${ppp_command} -nat";
|
||||
fi
|
||||
|
||||
echo -n 'Starting ppp: '; ppp ${ppp_command} -quiet ${ppp_profile}
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/sh -
|
||||
#
|
||||
# $Id: rc.network,v 1.53 1999/08/10 09:45:31 des Exp $
|
||||
# $Id: rc.network,v 1.54 1999/08/19 21:15:16 brian Exp $
|
||||
# From: @(#)netstart 5.9 (Berkeley) 3/30/91
|
||||
|
||||
# Note that almost all the user-configurable behavior is no longer in
|
||||
@ -106,8 +106,8 @@ network_pass1() {
|
||||
ppp_command="-${ppp_mode} ";
|
||||
|
||||
# Switch on alias mode?
|
||||
if [ "X$ppp_alias" = X"YES" ]; then
|
||||
ppp_command="${ppp_command} -alias";
|
||||
if [ "X$ppp_nat" = X"YES" ]; then
|
||||
ppp_command="${ppp_command} -nat";
|
||||
fi
|
||||
|
||||
echo -n 'Starting ppp: '; ppp ${ppp_command} -quiet ${ppp_profile}
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/sh -
|
||||
#
|
||||
# $Id: rc.network,v 1.53 1999/08/10 09:45:31 des Exp $
|
||||
# $Id: rc.network,v 1.54 1999/08/19 21:15:16 brian Exp $
|
||||
# From: @(#)netstart 5.9 (Berkeley) 3/30/91
|
||||
|
||||
# Note that almost all the user-configurable behavior is no longer in
|
||||
@ -106,8 +106,8 @@ network_pass1() {
|
||||
ppp_command="-${ppp_mode} ";
|
||||
|
||||
# Switch on alias mode?
|
||||
if [ "X$ppp_alias" = X"YES" ]; then
|
||||
ppp_command="${ppp_command} -alias";
|
||||
if [ "X$ppp_nat" = X"YES" ]; then
|
||||
ppp_command="${ppp_command} -nat";
|
||||
fi
|
||||
|
||||
echo -n 'Starting ppp: '; ppp ${ppp_command} -quiet ${ppp_profile}
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/sh -
|
||||
#
|
||||
# $Id: rc.network,v 1.53 1999/08/10 09:45:31 des Exp $
|
||||
# $Id: rc.network,v 1.54 1999/08/19 21:15:16 brian Exp $
|
||||
# From: @(#)netstart 5.9 (Berkeley) 3/30/91
|
||||
|
||||
# Note that almost all the user-configurable behavior is no longer in
|
||||
@ -106,8 +106,8 @@ network_pass1() {
|
||||
ppp_command="-${ppp_mode} ";
|
||||
|
||||
# Switch on alias mode?
|
||||
if [ "X$ppp_alias" = X"YES" ]; then
|
||||
ppp_command="${ppp_command} -alias";
|
||||
if [ "X$ppp_nat" = X"YES" ]; then
|
||||
ppp_command="${ppp_command} -nat";
|
||||
fi
|
||||
|
||||
echo -n 'Starting ppp: '; ppp ${ppp_command} -quiet ${ppp_profile}
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/sh -
|
||||
#
|
||||
# $Id: rc.network,v 1.53 1999/08/10 09:45:31 des Exp $
|
||||
# $Id: rc.network,v 1.54 1999/08/19 21:15:16 brian Exp $
|
||||
# From: @(#)netstart 5.9 (Berkeley) 3/30/91
|
||||
|
||||
# Note that almost all the user-configurable behavior is no longer in
|
||||
@ -106,8 +106,8 @@ network_pass1() {
|
||||
ppp_command="-${ppp_mode} ";
|
||||
|
||||
# Switch on alias mode?
|
||||
if [ "X$ppp_alias" = X"YES" ]; then
|
||||
ppp_command="${ppp_command} -alias";
|
||||
if [ "X$ppp_nat" = X"YES" ]; then
|
||||
ppp_command="${ppp_command} -nat";
|
||||
fi
|
||||
|
||||
echo -n 'Starting ppp: '; ppp ${ppp_command} -quiet ${ppp_profile}
|
||||
|
@ -22,7 +22,7 @@
|
||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
.\" SUCH DAMAGE.
|
||||
.\"
|
||||
.\" $Id: rc.conf.5,v 1.40 1999/08/18 05:55:05 chris Exp $
|
||||
.\" $Id: rc.conf.5,v 1.41 1999/08/22 06:12:58 yokota Exp $
|
||||
.\"
|
||||
.Dd April 26, 1997
|
||||
.Dt RC.CONF 5
|
||||
@ -238,7 +238,7 @@ daemon. Accepted modes are
|
||||
and
|
||||
.Ar dedicated .
|
||||
See the manual for a full description.
|
||||
.It Ar ppp_alias
|
||||
.It Ar ppp_nat
|
||||
(bool) If set to
|
||||
.Ar YES ,
|
||||
enables packet aliasing. Used in conjunction with
|
||||
|
Loading…
Reference in New Issue
Block a user