Capturing traffic from specific client

This forum is for admins who are looking to build or expand their OpenVPN setup.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
alexlev2004
OpenVpn Newbie
Posts: 2
Joined: Wed Jul 20, 2016 8:43 am

Capturing traffic from specific client

Post by alexlev2004 » Mon Jul 24, 2017 2:10 pm

Hello,
I am implementing a remote access server where traffic of each client connecting to OpenVPN need to be captured separately as well each one has his own iptables rule set (INPUT/FORWARD chain).
I could not figure out how to use tcpdump/iptables filters for this case, as there can be multiple clients connecting via single tun interface, and it is not enough to filter by client source IP.
Probably possible to do with MAC address, or manage multiple openvpn servers but is there a better way ?
Thanks a lot,
Alex

Post Reply