Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FreeS/WAN VPN Setup problem

Status
Not open for further replies.

ses123

IS-IT--Management
Feb 12, 2003
29
0
0
US
I'm setting up a VPN between two slackware 9.0 machines using FreeS/WAN. I have ipsec successfully running on both of them. Here's my ipsec.conf :

config setup
interfaces="ipsec0=eth1"
#klipsdebug=all
#plutodebug=dns
conn net-to-net
left=192.168.8.2
leftsubnet=192.168.17.0/24
leftnexthop=192.168.8.1
right=192.168.7.2
rightsubnet=192.168.15.0/24
rightnexthop=192.168.7.1
auto=start
esp=3des-md5-96

While I'm trying to do "ipsec auto --up net-to-net", I get the "021 No connection named net-to-net" . Can someone plzz help me where I'm doing wrong? Thank you very much.
 
Try "ipsec auto --add net-to-net" first.

 
The line that says "auto=start" causes the connection to be started on boot (or on restart of the ipsec service).
If you want to bring up the connection manually (eg when testing), you need to change this to "auto=add".
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top