Configuring VPNs
16-9
OCG-Adsl>>set tunnel
<OCG>
protocol ip remote_ip_address
<177.16.1.105>
OCG-Adsl>>add framed_route tunnel
<OCG>
gateway
<177.16.1.105>
ip_route
<177.16.1.0/b>
metric 1
OCG-Adsl>>set tunnel
<OCG>
protocol ppp compression_a none
OCG-Adsl>>set tunnel
<OCG>
send_password
<OCG>
OCG-Adsl>>enable tunnel
<OCG>
PPTP Termination
To terminate a PPTP tunnel, you must add a tunnel user.
The following example shows the CLI commands that are used to perform PPTP
Termination.
OCG-Adsl>>add tunnel
<OCG>
OCG-Adsl>>set tunnel
<OCG>
type pptp password
<OCG>
idle_timeout 60
OCG-Adsl>>add ip pool
<ip pool name>
initial_pool_address
<177.16.1.105>
size
<30>
Configuring an L2TP
Tunnel
A Layer Two Tunneling Protocol (L2TP) Virtual Private Network (VPN) tunnel can be
configured from the Command Line Interface (CLI) of the OfficeConnect Gateway.
To configure a L2TP VPN tunnel from the CLI, perform the following steps:
L2TP Initiation
To initiate an L2TP tunnel, you must enter a series of L2TP Initiation commands.
The following example shows the CLI commands that are used to perform L2TP
Initiation.
OCG-Adsl>>set system transmit_authentication_name
<OCG>
OCG-Adsl>>add tunnel
<OCG>
type l2tp server_endpoint
<210.3.3.107>
secret
<OCG>
OCG-Adsl>>disable tunnel
<OCG>
OCG-Adsl>>set tunnel
<OCG>
idle 90
OCG-Adsl>>set tunnel
<OCG>
protocol ip remote_ip_address
<177.16.1.105>
OCG-Adsl>>add framed_route tunnel
<OCG>
gateway
<177.16.1.105>
ip_route
<177.16.1.0/b>
metric 1
OCG-Adsl>>set tunnel
<OCG>
protocol ppp compression_a none
OCG-Adsl>>set tunnel
<OCG>
send_password
<OCG>
OCG-Adsl>>enable tunnel
<OCG>
L2TP Termination
To terminate an L2TP tunnel, you must add a tunnel user.
The following example shows the CLI commands that are used to perform L2TP
Termination.
OCG-Adsl>>add tunnel
<OCG>
OCG-Adsl>>set tunnel
<OCG
type l2tp password
<OCG>
idle_timeout 60
OCG-Adsl>>add ip pool
<ip pool name>
initial_pool_address
<177.16.1.105>
size
<30>
Summary of Contents for OfficeConnect 3C100XF
Page 1: ...http www 3com com OfficeConnect Gateway CLI User s Guide Release 1 0 Part No 10042302 Rev AA ...
Page 14: ...xiv ...
Page 18: ...iv ABOUT THIS GUIDE ...
Page 30: ...1 12 CHAPTER 1 USING THE COMMAND LINE INTERFACE CLI ...
Page 50: ...3 14 CHAPTER 3 ADMINISTRATIVE CLI COMMANDS ...
Page 58: ...4 8 CHAPTER 4 CONFIGURING AND MANAGING USERS ...
Page 70: ...6 8 CHAPTER 6 BRIDGING COMMANDS ...
Page 78: ...8 4 CHAPTER 8 INTERFACE COMMANDS ...
Page 82: ...9 4 CHAPTER 9 ARP COMMANDS ...
Page 88: ...11 4 CHAPTER 11 DHCP COMMANDS ...
Page 124: ...12 36 CHAPTER 12 IP ROUTING COMMANDS ...
Page 134: ...13 10 CHAPTER 13 DNS COMMANDS ...
Page 142: ...15 6 CHAPTER 15 MULTICASTING AND IGMP COMMANDS ...
Page 160: ...17 8 CHAPTER 17 PPP COMMANDS ...
Page 182: ...21 6 CHAPTER 21 ADDRESS TRANSLATION COMMANDS ...
Page 186: ...22 4 CHAPTER 22 IPSEC COMMANDS ...
Page 188: ...23 2 CHAPTER 23 SECURITY ASSOCIATION SA COMMANDS ...
Page 192: ...24 4 CHAPTER 24 TCP COMMANDS ...
Page 204: ...25 12 CHAPTER 25 SNMP COMMANDS ...
Page 210: ...26 6 CHAPTER 26 IP FILTERS COMMANDS ...
Page 238: ...29 6 CHAPTER 29 TRACEROUTE COMMANDS ...
Page 255: ...xv RFC 1483 16 3 RFC 1483 MER 16 4 ...
Page 256: ...xvi ...
Page 260: ......