Bug #3016
closedIPsec client (or branch office) can't access to Internet over VPN gateway
100%
Description
Branch office tunnel:
Mode: tunnel
Local Subnet: LAN
Remote Subnet: 0.0.0.0/0
root(1): cat /var/etc/ipsec/spd.conf
spdadd -4 192.168.71.83/32 192.168.68.0/22 any -P out none;
spdadd -4 192.168.68.0/22 192.168.71.83/32 any -P in none;
spdadd -4 192.168.68.0/22 192.168.71.144/28 any -P out ipsec esp/tunnel/154.137.18.1-154.137.18.2/unique;
spdadd -4 192.168.71.144/28 192.168.68.0/22 any -P in ipsec esp/tunnel/154.137.18.2-154.137.18.1/unique;
spdadd -4 0.0.0.0/0 192.168.71.144/28 any -P out ipsec esp/tunnel/154.137.18.1-154.137.18.2/unique;
spdadd -4 192.168.71.144/28 0.0.0.0/0 any -P in ipsec esp/tunnel/154.137.18.2-154.137.18.1/unique;
Main office
Mode: tunnel
Local Subnet: LAN
Remote Subnet: 0.0.0.0/0
: cat /var/etc/ipsec/spd.conf
spdadd -4 192.168.71.83/32 192.168.68.0/22 any -P out none;
spdadd -4 192.168.68.0/22 192.168.71.83/32 any -P in none;
spdadd -4 192.168.68.0/22 192.168.71.144/28 any -P out ipsec esp/tunnel/154.137.18.1-154.137.18.2/unique;
spdadd -4 192.168.71.144/28 192.168.68.0/22 any -P in ipsec esp/tunnel/154.137.18.2-154.137.18.1/unique;
Tunnel to access the Internet at the main office disappears without any messages in the /var/log/system.log
Probably the problem was introduced in the correction of the issue #2201 <http://redmine.pfsense.org/issues/2201>
Or incomplete commit <https://github.com/pfsense/pfsense/commit/2c6de2ea27e40dece742079389615211c66075ed>
Workaround:
Instead one tunnel 0.0.0.0/0 use two tunnels 0.0.0.0/1 and 128.0.0.0/1
Files
Updated by Serguei Leontiev over 11 years ago
- File branch-inet.diff branch-inet.diff added
Don't delete tunnel for main office
Updated by Serguei Leontiev over 11 years ago
Sorry:
Main office
Mode: tunnel
Local Subnet: 0.0.0.0/0
Remote Subnet: BRANCH-LAN
: cat /var/etc/ipsec/spd.conf
spdadd -4 192.168.71.83/32 192.168.68.0/22 any -P out none;
spdadd -4 192.168.68.0/22 192.168.71.83/32 any -P in none;
spdadd -4 192.168.68.0/22 192.168.71.144/28 any -P out ipsec esp/tunnel/154.137.18.1-154.137.18.2/unique;
spdadd -4 192.168.71.144/28 192.168.68.0/22 any -P in ipsec esp/tunnel/154.137.18.2-154.137.18.1/unique;
Updated by Renato Botelho over 11 years ago
- Status changed from New to Feedback
- % Done changed from 0 to 100
Applied in changeset 4eb3ac52b07533c26a1ebf3e496d25669629a038.
Updated by Renato Botelho over 11 years ago
Applied in changeset 50d3ed9c3c76d16a88d801ded20f4db9e7f6e915.
Updated by Serguei Leontiev over 11 years ago
Fix looks and works correctly
2.1-RC0 (amd64)
built on Tue Jun 4 20:54:59 EDT 2013
FreeBSD 8.3-RELEASE-p8
Updated by Chris Buechler over 11 years ago
- Category set to IPsec
- Status changed from Feedback to Resolved
- Affected Version set to 2.1