-1

This is my first experience with setting up a VPN.

I have Open VPN running at my work network on a firewall/router that uses the PFsense admin software.

I connected to the VPN from my home network successfully.

When I tried to copy a 500k file from a device on the remote network to my home computer it took a very long time (5 minutes or more). My internet connection is fast at both locations, so I'm not sure why this would be.

Is it because of the encryption, or some of the network settings? This is all pretty new to me.

Here is a link to the tutorial I followed. https://www.highlnk.com/2013/12/configuring-openvpn-on-pfsense/

Also my home computer is a mac running the Viscosity OpenVPN client.

mjr
  • 99
  • 4

2 Answers2

0

If you used UDP as your transport protocol, check the firewall(s) for UDP rate limiting or DoS thresholds. Add rules or exceptions for the VPN traffic accordingly.

Also, try lowering MTU for the VPN connection to something that will allow for VPN encapsulation. A value like 1300 should be more than adequate for testing purposes.

jlehtinen
  • 1,958
  • 2
  • 13
  • 15
  • thanks, I checked and there is no rate limiting. 1500 is the default MTU for this router, does that sounds about right? – mjr Feb 14 '15 at 14:26
  • @mjr 1500 is largest allowed MTU for ethernet PDU. Adding a VPN encapsulation layer will put the packet above 1500, which means it will have to be fragmented to be transmitted. This results in performance loss. Reduce MTU on VPN components to allow for encapsulation layer to be added while still keeping packet size <1500 – jlehtinen Feb 15 '15 at 19:19
0

If I use afp://x.x.x.x it works much faster than smb://x.x.x.x

under mac os finder > connect to server

mjr
  • 99
  • 4