[BACK]Return to rc.vpn CVS log [TXT][DIR] Up to [local] / src / share / ipsec

Diff for /src/share/ipsec/Attic/rc.vpn between version 1.17 and 1.18

version 1.17, 2002/12/05 12:50:03 version 1.18, 2003/01/20 12:25:45
Line 18 
Line 18 
 # XXX The configuration parameters should be moved to another file.  # XXX The configuration parameters should be moved to another file.
   
 # Uncomment to debug (and not execute) commands  # Uncomment to debug (and not execute) commands
 #DEBUG=echo  DEBUG=echo
   
 # Gateway adresses  # Gateway adresses
 GW_LOCAL=192.168.254.254  GW_LOCAL=192.168.254.254
Line 86 
Line 86 
 # add the gateways  # add the gateways
 LOCAL_NETWORKS="${GW_LOCAL}/32 ${LOCAL_NETWORKS}"  LOCAL_NETWORKS="${GW_LOCAL}/32 ${LOCAL_NETWORKS}"
 REMOTE_NETWORKS="${GW_REMOTE}/32 ${REMOTE_NETWORKS}"  REMOTE_NETWORKS="${GW_REMOTE}/32 ${REMOTE_NETWORKS}"
   # but allow ESP in the clear
   BYPASS="$DEBUG ${ipsecadm} flow -transport esp -src ${GW_LOCAL} -dst ${GW_REMOTE} -bypass"
   $BYPASS -out -addr ${GW_LOCAL}/32  ${GW_REMOTE}/32
   $BYPASS -in  -addr ${GW_REMOTE}/32 ${GW_LOCAL}/32
   
 FLOW="$DEBUG ${ipsecadm} flow -proto esp -src ${GW_LOCAL} -dst ${GW_REMOTE} -require"  FLOW="$DEBUG ${ipsecadm} flow -proto esp -src ${GW_LOCAL} -dst ${GW_REMOTE} -require"
   

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18