Koozali.org: home of the SME Server

IPSec

Offline Neririn

  • ****
  • 100
  • +0/-0
IPSec
« on: September 27, 2009, 05:51:25 AM »
Can anyone help me with a best practices to "Cleanly Undo" the tunnels that get created when following the http://wiki.contribs.org/Ipsec contrib? I no longer need either of the SME boxes to have tunnels to any other box, but I don't want to break the inherent VPN capability within SME.
......

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: IPSec
« Reply #1 on: September 27, 2009, 10:04:11 AM »
Can anyone help me with a best practices to "Cleanly Undo" the tunnels that get created when following the http://wiki.contribs.org/Ipsec contrib? I no longer need either of the SME boxes to have tunnels to any other box, but I don't want to break the inherent VPN capability within SME.
Basically on SME Server it is very easy to do so, revert the changes you made and remove the created custom template fragments and restart services like explained in the howto when installing.
You might have to bring down the tunnels to start first:
Code: [Select]
ifdown ipsec0
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline Neririn

  • ****
  • 100
  • +0/-0
Re: IPSec
« Reply #2 on: September 27, 2009, 05:50:39 PM »
How do I revert expanded templates back to the original.  If i remove the custom template definition in /etc/rc.d/init.d/masq then re-run /sbin/e-smith/expand-template will that suffice?
......

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: IPSec
« Reply #3 on: September 27, 2009, 07:44:42 PM »
How do I revert expanded templates back to the original.  If i remove the custom template definition in /etc/rc.d/init.d/masq then re-run /sbin/e-smith/expand-template will that suffice?
Yes. More information on the template system can be found in the SME Server Development Guide linked from the wiki.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)