5

在一台机器上搭建两个 OCSERV 服务器是否可行?

 2 years ago
source link: https://www.v2ex.com/t/781498
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

V2EX  ›  Linux

在一台机器上搭建两个 OCSERV 服务器是否可行?

  DopaminePlz · 1 天前 · 659 次点击
如题,在一台机器上的两个接口(如 eth0 和 eth1 ),搭建两个 ocserv 服务器,外网用户通过任意一个接口均可以 VPN 接入内网(如 eth2 对应的 LAN )。貌似 OpenWrt 不行,不知道在 Debian 等 Linux 下是否可行。

第 1 条附言  ·  1 天前

场景是:
1. eth1 是内网接口,eth0 是外网接口。
2. 例如 PC0 通过 eth0 接入,PC1 通过 eth1 接入,PC0 和 PC1 得到的 IP 段不能在同一个 IP 段,即 PC0 和 PC1 不能相互访问。
我估计开多个进程、每个进程用不同配置文件应该可以。

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK