View Single Post
  #4   (View Single Post)  
Old 10th December 2014
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
Join Date: May 2008
Location: USA
Posts: 6,291

I have never used IPFW, and do not operate FreeBSD, so this example ruleset may not be correct. To craft these three lines, I spent two minutes with the ipfw(8) man page and one additional minute with Chapter 30.4 of the FreeBSD Handbook.

As with any help you get from random people on the Internet, please use with caution.
ipfw add allow ipencap from any to any via <your internal NIC>
ipfw add allow udp from any 500 to any 500 via gif0
ipfw add allow esp from any to any via gif0

Last edited by jggimi; 10th December 2014 at 04:34 PM. Reason: clarity
Reply With Quote