How to monitor VPN tunnel on pfSense and OpenVPN tun adapter?
2,073 views
Skip to first unread message
bad bit
unread,
Dec 11, 2015, 9:20:41 AM12/11/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to securit...@googlegroups.com
We have a remote office that uses pfSense firewall/router and OpenVPN to allow remote workers to tunnel through the remote office's Internet connection. OpenVPN service is using the TUN adapter, so no ability for bridging. How can I monitor the OpenVPN subnet? I could separate the router and VPN service, but then I think I'm facing the same issue.
This office supports about 25 users and I thought switching to a TAP adapter, but I want to avoid the overhead of this option. I've not tested the bridging of TAP adapter but I think its supported.
Doug Burks
unread,
Dec 11, 2015, 11:05:46 AM12/11/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to securit...@googlegroups.com
Hi bad bit,
Depending on your exact network architecture, there should be a point
where the firewall/VPN connects to a normal switch which the 25 users
are then connected to. You should be able to configure a span port on
that switch or insert a physical tap to collect traffic.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to securit...@googlegroups.com
Remote users connect to the pfSense router WAN interface's OpenVPN service port. Once connected the OpenVPN client redirects all traffic through the tunnel and pfSense routes out through the WAN adapter. So this redirected traffic never hits anything behind the router.
I just added daemonlogger package to the pfSense router and it looks like it is copying traffic from the pfSense's "ovpns1" adapter to a file. I opened this file in Wireshark and it looks like non-encrypted VPN tunnel traffic. Next step is to try to copy this traffic to a physical interface that I can connect to a SO sensor. This maybe the solution.