[Openswan Users] FAQ: Having to provide a lot of local net info?

Mauricio Tavares raubvogel at gmail.com
Thu Jul 9 09:30:00 EDT 2009


	For my vpn connection to work, I have to provide the subnet and even 
the router info for my local network (the left side). How can I 
configure my /etc/ipsec.conf so it can figure all that information by 
itself?

conn MyVPN
     authby=rsasig
     pfs=no
     auto=add
     rekey=yes
     keyingtries=3
     type=transport
     # Left (local)
     leftprotoport=17/1701
     left=%defaultroute
     leftnexthop=192.168.1.1
     leftsubnet=192.168.1.0/24
     leftcert=myvpn.crt
     leftrsasigkey=%cert
     # Right (VPN)
[...]


More information about the Users mailing list