官术网_书友最值得收藏!

  • OpenVPN 2 Cookbook
  • Jan Just Keijser
  • 194字
  • 2021-04-09 22:05:47

Chapter 2. Client-server IP-only Networks

In this chapter, we will cover:

  • Setting up the public and private keys
  • Simple configuration
  • Server-side routing
  • Using client-config-dir files
  • Routing: subnets on both sides
  • Redirecting the default gateway
  • Using an ifconfig-pool block
  • Using the status file
  • Management interface
  • Proxy-arp

Introduction

The recipes in this chapter will cover the most commonly used deployment model for OpenVPN: a single server with multiple remote clients capable of routing IP traffic.

We will also look at several common routing configurations in addition to the use of the management interface at both the client and server side.

The last recipe of this chapter will show how it is possible to avoid the use of network bridges for most practical use cases.

As a routed, TUN-style setup is the most commonly used deployment model, some of the sample configuration files presented in this chapter will be reused throughout the rest of the book. In particular, the configuration files such as basic-udp-server.conf, basic-udp-client.conf, basic-tcp-server.conf, and basic-tcp-client.conf from the recipe Server-side routing will be reused often, as well as the Windows client configuration files basic-udp-client.ovpn and basic-tcp-client.ovpn from the recipe, Using an ifconfig-pool block.

主站蜘蛛池模板: 大竹县| 永康市| 蒲江县| 平潭县| 祁东县| 英德市| 成都市| 灵璧县| 连江县| 呼伦贝尔市| 沭阳县| 宁武县| 托里县| 关岭| 潼关县| 永州市| 贞丰县| 广东省| 龙南县| 白城市| 北宁市| 屏边| 英超| 达州市| 河曲县| 光山县| 乌拉特前旗| 旬邑县| 龙州县| 宣城市| 武义县| 怀集县| 罗甸县| 巴马| 依兰县| 红原县| 阿克苏市| 新乐市| 桐乡市| 苍山县| 长沙县|