Hi, i am a newbie, i built ipsec between pfsense and pfsense.but i found a bug
-
hi,
i test ipsec between pfsense 1.2.3-release and pfsense 1.2.3-release in vmware. but i can't build tunnel. all of configure has been setup successful. so i useifconfig gif0 create ifconfig gif0 [intra-src.] [intra-dst.] ifconfig gif0 tunnel [extra-src.] [extra-dst.]
then, i can build tunnel. but i can't reboot server. as the tunnel will be disappered.
is this a bug of pfsense? -
IPsec tunnels work fine on their own, you do not need to manually create any gif interfaces. It's more than likely a configuration bug, but we need a lot more detail about the settings you are trying to use on the tunnels to be sure.
-
thx for reply
my environment is in vmware. i started four virtual server. the two is pfsense, another two is client. the network of pfsense is bridged and customed .
i found it have a tunnel device named by enc0.
my config is follow:
VPN: IPsec: Edit tunnelMode Tunnel tunnel
Interface WAN
DPD interval seconds
Local subnet Type: LAN subnet
Remote subnet 192.168.2.0/ 24
Remote gateway 10.48.255.252Phase 1 proposal (Authentication)
Negotiation mode mainMy identifier My IP address
Encryption algorithm AES-256
Must match the setting chosen on the remote side.
Hash algorithm SHA1
Must match the setting chosen on the remote side.
DH key group 2
1 = 768 bit, 2 = 1024 bit, 5 = 1536 bit
Must match the setting chosen on the remote side.
Lifetime 28800 seconds
Authentication method Pre-shared key
Must match the setting chosen on the remote side.
Pre-Shared Key xxxxxxxPhase 2 proposal (SA/Key Exchange)
Protocol ESP
ESP is encryption, AH is authentication only
Encryption algorithms
AES-256Hint: use 3DES for best compatibility or if you have a hardware crypto accelerator card. Blowfish is usually the fastest in software encryption.
Hash algorithms SHA1PFS key group 2
1 = 768 bit, 2 = 1024 bit, 5 = 1536 bit
Lifetime secondsother server:
VPN: IPsec: Edit tunnelMode Tunnel tunnel
Interface WAN
DPD interval seconds
Local subnet Type: LAN subnet
Remote subnet 192.168.0.0/ 24
Remote gateway 10.48.255.251Phase 1 and Phase 2 as same as the first host.