大网数据广告活动
服务器运维问答

pfSense - IPSec through IPSec tunnel possible

· 52CE 我爱测

I have three sites connected with two IPSec tunnels: Site A - 192.168.10.0/24 | IPSec tunnel | Site B - 192.168.0.0/24 | IPSec tunnel | Site C - 10.0.0.0/8 This works great, and I can reach Site A and Site C from Site B. What I n…

问题原文

原帖链接 · pgb · CC BY-SA 4.0

I have three sites connected with two IPSec tunnels:

Site A - 192.168.10.0/24
        |
    IPSec tunnel
        |
Site B - 192.168.0.0/24
        |
    IPSec tunnel
        |
Site C - 10.0.0.0/8

This works great, and I can reach Site A and Site C from Site B. What I need is to reach Site C from Site A. Is that possible with my current setup?

已采纳解答

原帖链接 · ecdsa · CC BY-SA 4.0

Assuming that you don't want to negotiate an additional tunnel between Site A and Site C directly, you can do this simply by negotiating the appropriate IPsec policies on the two existing connections (and, of course, allowing forwarding of that traffic on Site B).

Between Site A and B you negotiate 10.0.0.0/8 on Site B and between Site B and Site C you negotiate 192.168.10.0/24 on Site B. This enables Site A and Site C to send traffic to those additional subnets to Site B, which then also can forward that traffic appropriately (it needs forward policies that allow traffic from 192.168.10.0/24 to 10.0.0.0/8 and vice-versa).

If you use IKEv2 you can simply add the additional subnets to Site B's local traffic selector for each of the two connections. And similarly on Site A and Site C for their remote traffic selectors, or you may configure 0.0.0.0/0 there to let Site B do the narrowing to the two subnets.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2019-03-28)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。