View Single Post
Old 6th June 2009, 19:08
topdog topdog is offline
Senior Member
Join Date: Jan 2008
Location: South Africa
Posts: 1,352
Thanks: 0
Thanked 154 Times in 151 Posts

Its is easier to do with openswan, take a look at as for starting the connection when ppp0 is up, you can create /etc/ppp/ip-up.local and add your commands there something like

if [ "$IFNAME" = "ppp0" ]; then
   service ipsec start
And stop if if ppp0 drops, you add that to the ip-down.local file.
---- - Got Linux problems ? - I can help. - Try it.
Reply With Quote