[Openswan Users] subnet -> internet

Hofferek Attila hofferek.attila at daxer.com
Thu Jan 22 09:04:47 EST 2009


Hi users!

I have a working configuration:

conn pannon
         type=tunnel
         left=a.b.c.d
         leftnexthop=a.b.c.e
	leftsubnet=a.b.c.d/32
         right=w.x.y.z
         rightsubnet=172.31.228.0/23
         spibase=0x200
         keyexchange=ike
         auth=esp
         auto=start
         keylife=24h
         authby=secret
         pfs=no
         keyingtries=3
         rekey=no


a.b.c.d---a.b.c.e...w.x.y.z===172.31.228.0/23

I am the left side. I want to route the 172.31.228.0/23 network to the 
internet. The a.b.c.d machine has got a direct internet connection. What 
to modify on my configuration? I tried leftsubnet=0.0.0.0/0 but there 
was no traffic on ipsec0 with tcpdump -i ipsec0.

Thanks in advance!
-- 
Hofferek Attila


More information about the Users mailing list