Loss of WAN triggered by file transfer through VPN

Need help configuring your VPN? Just post here and you'll get that help.
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
AgentWorm
OpenVpn Newbie
Posts: 6
Joined: Tue Sep 06, 2011 8:50 pm

Loss of WAN triggered by file transfer through VPN

Post by AgentWorm » Sat Jul 13, 2019 6:26 pm

Set up: Both client and server Debian Jessie regular PPA install.
Traffic through Archer C7 router NAT to Comcast fixed ip.

I can connect and ping happily using the *Configurations* given below.

I am -not- attempting to redirect client traffic through the server, at least not yet. I have normal internet/browser behavior on both machines until I transfer data between the machines via the VPN.

I can make a samba connection to the server through the nautilus app on my client, seeing all available folders and their contents as usual.

When I transfer a file from server to client however, I immediately lose access to the WAN and internet on the client. I cannot ping beyond my local network, and cannot reach further or perform DNS lookups.


What am I missing, or mis-configuring? Thanks for any light/guidance you can shed greatly appreciated.

*Configurations*

=server config====================================================
# Which local IP address should OpenVPN
# listen on? (optional)
local 192.168.222.4

port 1197

proto udp

dev tun1

ca ca.crt
cert server.crt
key server.key # This file should be kept secret

dh dh1024.pem

server 10.8.99.0 255.255.255.0

ifconfig-pool-persist ipp.txt

push "dhcp-option DNS 8.8.8.8"
push "dhcp-option DNS 8.8.4.4"

keepalive 10 120

comp-lzo

# The maximum number of concurrently connected
# clients we want to allow.
max-clients 5

persist-key
persist-tun

status openvpn-status.log

log openvpn.log
log-append openvpn.log

verb 3

=end server config============================================

=client config================================================
# All Extraneous Removed from Sample Config
client
dev tun
proto udp

remote xxx.xxx.xxx.xxx 1197

resolv-retry infinite

nobind

persist-key
persist-tun

comp-lzo

verb 3
# imbedded security keys redacted for this post#
=end client config==========================================

User avatar
TinCanTech
OpenVPN Protagonist
Posts: 6261
Joined: Fri Jun 03, 2016 1:17 pm

Re: Loss of WAN triggered by file transfer through VPN

Post by TinCanTech » Sat Jul 13, 2019 8:39 pm

What happens if you try iperf ?

AgentWorm
OpenVpn Newbie
Posts: 6
Joined: Tue Sep 06, 2011 8:50 pm

Re: Loss of WAN triggered by file transfer through VPN

Post by AgentWorm » Sat Jul 13, 2019 11:18 pm

Not familiar. Will google.

AgentWorm
OpenVpn Newbie
Posts: 6
Joined: Tue Sep 06, 2011 8:50 pm

Re: Loss of WAN triggered by file transfer through VPN

Post by AgentWorm » Tue Jul 16, 2019 3:53 pm

Additional info. I should have said I lose internet connectivity on the server. The client still has internet access through its normal (non-vpn) connection to the router.

User avatar
TinCanTech
OpenVPN Protagonist
Posts: 6261
Joined: Fri Jun 03, 2016 1:17 pm

Re: Loss of WAN triggered by file transfer through VPN

Post by TinCanTech » Tue Jul 16, 2019 5:34 pm

The best thing you can do is port your logs, as per:
viewtopic.php?f=30&t=22603#p68963

Post Reply