Also Konfig sieht so aus:
Defaultrouter in das Internet für CP und Endian ist 212.152.174.241 (derzeit zum testen hier im Hauslan)
Auf beiden Seiten komme ich von den Clientnetzen in das Internet:
Route sieht bevor der Tunnel steht so aus:
root@senecwall:/var/efw/vpn # route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
212.xxx.xxx.240 0.0.0.0 255.255.255.248 U 0 0 0 eth0
212.xxx.xxx.240 0.0.0.0 255.255.255.248 U 0 0 0 ipsec0
192.168.120.0 0.0.0.0 255.255.255.0 U 0 0 0 br0
0.0.0.0 212.xxx.xxx.241 0.0.0.0 UG 0 0 0 eth0
Nachdem der Tunnel steht so:
root@senecwall:/var/efw/vpn # route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
212.xxx.xxx.240 0.0.0.0 255.255.255.248 U 0 0 0 eth0
212.xxx.xxx.240 0.0.0.0 255.255.255.248 U 0 0 0 ipsec0
10.132.100.0 212.xxx.xxx.241 255.255.255.0 UG 0 0 0 ipsec0
192.168.120.0 0.0.0.0 255.255.255.0 U 0 0 0 br0
0.0.0.0 212.xxx.xxx.241 0.0.0.0 UG 0 0 0 eth0
ipsec auto --status
000 interface ipsec0/eth0 212.xxx.xxx.245
000 interface ipsec0/eth0 212.xxx.xxx.245
000 %myid = (none)
000 debug none
000
000 algorithm ESP encrypt: id=3, name=ESP_3DES, ivlen=64, keysizemin=192, keysizemax=192
000 algorithm ESP encrypt: id=12, name=ESP_AES, ivlen=128, keysizemin=128, keysizemax=256
000 algorithm ESP auth attr: id=1, name=AUTH_ALGORITHM_HMAC_MD5, keysizemin=128, keysizemax=128
000 algorithm ESP auth attr: id=2, name=AUTH_ALGORITHM_HMAC_SHA1, keysizemin=160, keysizemax=160
000
000 algorithm IKE encrypt: id=5, name=OAKLEY_3DES_CBC, blocksize=8, keydeflen=192
000 algorithm IKE encrypt: id=7, name=OAKLEY_AES_CBC, blocksize=16, keydeflen=128
000 algorithm IKE hash: id=1, name=OAKLEY_MD5, hashsize=16
000 algorithm IKE hash: id=2, name=OAKLEY_SHA1, hashsize=20
000 algorithm IKE dh group: id=2, name=OAKLEY_GROUP_MODP1024, bits=1024
000 algorithm IKE dh group: id=5, name=OAKLEY_GROUP_MODP1536, bits=1536
000 algorithm IKE dh group: id=14, name=OAKLEY_GROUP_MODP2048, bits=2048
000 algorithm IKE dh group: id=15, name=OAKLEY_GROUP_MODP3072, bits=3072
000 algorithm IKE dh group: id=16, name=OAKLEY_GROUP_MODP4096, bits=4096
000 algorithm IKE dh group: id=17, name=OAKLEY_GROUP_MODP6144, bits=6144
000 algorithm IKE dh group: id=18, name=OAKLEY_GROUP_MODP8192, bits=8192
000
000 stats db_ops.c: {curr_cnt, total_cnt, maxsz} :context={0,6,36} trans={0,6,72} attrs={0,6,48}
000
000 "sbgSENECsbg": 192.168.120.0/24===212.xxx.xxx.245---212.xxx.xxx.241...212.xxx.xxx.241---212.xxx.xxx.242===10.132.100.0/24; erouted; eroute owner: #6
000 "sbgSENECsbg": srcip=unset; dstip=unset; srcup=ipsec _updown; dstup=ipsec _updown;
000 "sbgSENECsbg": ike_life: 3600s; ipsec_life: 28800s; rekey_margin: 540s; rekey_fuzz: 100%; keyingtries: 0
000 "sbgSENECsbg": policy: PSK+ENCRYPT+TUNNEL+UP; prio: 24,24; interface: eth0; encap: esp;
000 "sbgSENECsbg": dpd: action:hold; delay:30; timeout:120;
000 "sbgSENECsbg": newest ISAKMP SA: #5; newest IPsec SA: #6;
000 "sbgSENECsbg": IKE algorithms wanted: BLOWFISH(7)_256-SHA1(2)-2, flags=strict
000 "sbgSENECsbg": IKE algorithms found: BLOWFISH(7)_256-SHA1(2)_160-2,
000 "sbgSENECsbg": IKE algorithm newest: AES_CBC_256-SHA1-MODP1024
000 "sbgSENECsbg": ESP algorithms wanted: AES(12)_256-SHA1(2), flags=strict
000 "sbgSENECsbg": ESP algorithms loaded: AES(12)_256-SHA1(2), flags=strict
000 "sbgSENECsbg": ESP algorithm newest: AES_256-HMAC_SHA1; pfsgroup=<N/A>
000
000 #6: "sbgSENECsbg":500 STATE_QUICK_I2 (sent QI2, IPsec SA established); EVENT_SA_REPLACE in 26770s; newest IPSEC; eroute owner
000 #6: "sbgSENECsbg" used 999s ago;
esp.1fed2663@212.xxx.xxx.242 esp.cedeea89@212.xxx.xxx.245 tun.1006@212.xxx.xxx.242 tun.1005@212.xxx.xxx.245000 #5: "sbgSENECsbg":500 STATE_MAIN_I4 (ISAKMP SA established); EVENT_SA_REPLACE in 1508s; newest ISAKMP; nodpd
000
Hab auf beiden Firewalls Regeln die alles zulassen!
Sehe auch im Log nichts geblocktes.