alias -> nat

This commit is contained in:
Brian Somers 1999-09-07 07:56:54 +00:00
parent da47788649
commit 73cf919a66
3 changed files with 8 additions and 8 deletions

View File

@ -180,15 +180,15 @@ examples:
#
set dns 10.0.0.1 10.0.0.2
#
# If we're using the -alias switch, redirect ftp and http to an internal
# If we're using the -nat switch, redirect ftp and http to an internal
# machine:
#
alias port 10.0.0.2:ftp ftp
alias port 10.0.0.2:http http
nat port 10.0.0.2:ftp ftp
nat port 10.0.0.2:http http
#
# or don't trust the outside at all
#
alias deny_incoming yes
nat deny_incoming yes
#
# I trust user brian to run ppp, so this goes in the `default' section:
#

View File

@ -143,7 +143,7 @@ vpn:
set enddisc LABEL
set speed sync
set mrru 1500
alias enable yes
nat enable yes
set authname vpnname
set authkey vpnkey
add! default HISADDR
@ -181,7 +181,7 @@ vpn-nic:
#
# Of course it's simple to assign an IP block to the client with a simple
# ``add'' command, and then have the client use those IP numbers on its
# LAN rather than using ``alias enable yes''.
# LAN rather than using ``nat enable yes''.
vpn-in:
set enddisc label

View File

@ -25,10 +25,10 @@
MYADDR:
!bg /usr/X11R6/bin/auplay /etc/ppp/linkdown.au
# If you're running ``ppp -auto -alias dynamic-alias-auto'', and are
# If you're running ``ppp -auto -nat dynamic-nat-auto'', and are
# assigned a dynamic IP number by the peer, this may be worth while
# to keep the interface aliases to a minimum (see ``enable iface-alias''
# in the man page):
#
dynamic-alias-auto:
dynamic-nat-auto:
iface clear