[Openswan Users] trying to setup roadwarrior vpn

Tom Vier tmv at comcast.net
Thu Oct 14 16:27:24 CEST 2004


(note: please cc me, i'm not on the list)

'ipsec auto --up vpn' works and the sa is setup. i'm not sure what to do
now, though. it's not encrypting the traffic.

here's my setup:

lan 192.168.255.0/24
|
|
|	eth1				eth2
|____192.168.255.90 < vpn gateway > 10.0.0.1_______10.0.0.2 vpn client

what do i do to encrypt all traffic between 10.0.0.1 and .2? also, i'd like
to give the vpn client a 192.168.255.x ip.

here's the ipsec.conf's

gateway:
conn vpn
        left=10.0.0.1
        leftsubnet=192.168.255.0/24
        leftnexthop=192.168.255.90
        leftid=@opteron-prime
	leftrsasigkey=SNIP
        right=%any
        rightid=@junk
	rightrsasigkey=SNIP
        auto=add

client:
conn vpn
        left=10.0.0.1
        leftsubnet=192.168.255.0/24
        leftnexthop=192.168.255.90
        leftid=@opteron-prime
	leftrsasigkey=SNIP
        right=%defaultroute
        rightid=@junk
	rightrsasigkey=SNIP
        auto=add

-- 
Tom Vier <tmv at comcast.net>
DSA Key ID 0x15741ECE


More information about the Users mailing list