ppp_alias -> ppp_nat

Submitted by: Josef L. Karthauser <joe@FreeBSD.org.uk>
This commit is contained in:
Brian Somers 1999-08-22 23:26:05 +00:00
parent ff3bb91ab4
commit cdd53d9ce9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=50193
9 changed files with 25 additions and 25 deletions

View File

@ -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: ###

View File

@ -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}

View File

@ -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}

View File

@ -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}

View File

@ -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}

View File

@ -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}

View File

@ -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}

View File

@ -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}

View File

@ -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