Changing an IPSEC endpoint's IP address

From WTFwiki
Revision as of 00:06, 25 December 2006 by Jontow (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
  1. Edit /usr/local/etc/racoon/ipsec.conf and change the IP in the SPD lines that are relevant.
  2. Edit /usr/local/etc/racoon/psk.conf and change the IP that the pre-shared-key belongs to.
  3. Edit /etc/pf.conf and update vpn-clients table with the new IP.
  4. Reload SPDs: 'setkey -F ; setkey -f /usr/local/etc/racoon/ipsec.conf'
  5. Restart racoon: '/usr/local/etc/rc.d/racoon restart'
  6. Watch logfile: 'tail -f /var/log/security'