Date: Thu, 7 Nov 2019 15:48:47 -0500 From: Phil Staub <phil@staub.us> To: freebsd-pf@freebsd.org Subject: NAT for use with OpenVPN Message-ID: <CAMnCm8jmZJ6r8f_byUUMOmPr%2B3QeH_xB1zCx_SD%2BHvc2YF55Vw@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
I'm attempting to set up OpenVPN on a FreeBSD 12.1-RELEASE box. I'd like for it to allow remote clients to access the internet via the server box's connection. It appears that OpenVPN is working, because new connections are logged, but I also get this message in the log: Thu Nov 7 15:43:17 2019 us=289157 han/67.175.144.37:61307 MULTI: bad source address from client [::], packet dropped And the attached client doesn't have internet access. SO, I'm assuming I need to set up PF to NAT between tun0 and em0. I tried looking in the FreeBSD handbook in the chapter on PF, but that's like drinking from a fire hose, and I'm sure there is much more detail there than I need to know. Can someone point me to a concise description of how to achieve this? Thanks, Phil
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMnCm8jmZJ6r8f_byUUMOmPr%2B3QeH_xB1zCx_SD%2BHvc2YF55Vw>