Use 2 clients on both ends of the connection, then run iperf -s on one client and iperf -c ip (substitute ip with the first client's/server's IP) on the other.
iperf -s
iperf -c ip