[ previous ] [ next ] [ threads ]
 
 From:  Muhammad Naseer Bhatti <nbhatti at gmail dot com>
 To:  m0n0wall dash dev at lists dot m0n0 dot ch, m0n0wall at lists dot m0n0 dot ch
 Subject:  IPSEC as default GW
 Date:  Sat, 26 Jun 2010 01:19:47 +0300
Hello Guys,
I am playing around with m0n0wall 1.32, IPSEC but not able to
accomplish a scenario where I want to route all traffic through VPN.
Just like a default gateway. My tunnel establishes fine, but I am
simply not able to pass any traffic through the VPN GW. I am either
not able to see any traffic at the remote end of VPN GW. Following are
my racoon.conf and SPD/SAD. Any idea where to look for the fix?

sainfo address 10.0.0.0/24 any address 0.0.0.0/0 any {
	encryption_algorithm 3des;
	authentication_algorithm hmac_md5;
	compression_algorithm deflate;
}
----------------
10.0.0.0/24[any] 10.0.0.1[any] any
	in none
	spid=51 seq=3 pid=1503
	refcnt=1
0.0.0.0/0[any] 10.0.0.0/24[any] any
	in ipsec
	esp/tunnel/67.x.x.x-77.X.x.x/unique#16416
	spid=54 seq=2 pid=1503
	refcnt=1
10.0.0.1[any] 10.0.0.0/24[any] any
	out none
	spid=52 seq=1 pid=1503
	refcnt=1
10.0.0.0/24[any] 0.0.0.0/0[any] any
	out ipsec
	esp/tunnel/77.x.x.x-67.x.x.x/unique#16415
	spid=53 seq=0 pid=1503
	refcnt=1
----------------
77.x.x.x 67.x.x.x
	esp mode=tunnel spi=3275831001(0xc34136d9) reqid=16415(0x0000401f)
	E: 3des-cbc  5d85740e 1d996e89 56e9f002 87fe6ed2 68f1784d 33e5aa20
	A: hmac-md5  8a169f39 40a39c9b fd9d35ff a35b3b30
	seq=0x0000000b replay=4 flags=0x00000000 state=mature
	created: Jun 26 01:14:42 2010	current: Jun 26 01:14:51 2010
	diff: 9(s)	hard: 28800(s)	soft: 23040(s)
	last: Jun 26 01:14:51 2010	hard: 0(s)	soft: 0(s)
	current: 4312(bytes)	hard: 0(bytes)	soft: 0(bytes)
	allocated: 11	hard: 0	soft: 0
	sadb_seq=1 pid=1505 refcnt=2
67.x.x.x 77.x.x.x
	esp mode=tunnel spi=180687303(0x0ac511c7) reqid=16416(0x00004020)
	E: 3des-cbc  a62b5a72 c927f589 a5375727 fa80038c 3adc749b 52d48219
	A: hmac-md5  4c29b747 868ed992 5756b39d 836ddd89
	seq=0x00000000 replay=4 flags=0x00000000 state=mature
	created: Jun 26 01:14:42 2010	current: Jun 26 01:14:51 2010
	diff: 9(s)	hard: 28800(s)	soft: 23040(s)
	last:                     	hard: 0(s)	soft: 0(s)
	current: 0(bytes)	hard: 0(bytes)	soft: 0(bytes)
	allocated: 0	hard: 0	soft: 0
	sadb_seq=0 pid=1505 refcnt=1
----------