Torrent kills my VPN

This forum is for general conversation and user-user networking.

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

Post Reply
neorob
OpenVpn Newbie
Posts: 1
Joined: Mon Aug 28, 2017 2:09 pm

Torrent kills my VPN

Post by neorob » Mon Aug 28, 2017 2:50 pm

Hi guys, on a GCP's machine I've installed openvpn (v2.4, server), and I've opened all ports (OS: Ubuntu 16.04)
I managed to create a VPN and also force all client's internet traffic throught the VPN.
All works fine but p2p traffic: when I try to download something with utorrent, the connection collapse.
Any help?

Code: Select all

#SERVER CONF
port 443
proto tcp
dev tun

ca ca.crt
cert server.crt
key server.key
dh dh2048.pem

server 10.8.0.0 255.255.255.0

ifconfig-pool-persist ipp.txt

push "redirect-gateway def1 bypass-dhcp"
push "dhcp-option DNS 208.67.222.222"
push "dhcp-option DNS 208.67.220.220"

keepalive 10 120

tls-auth ta.key 0
key-direction 0
cipher AES-128-CBC   # AES
auth SHA256

user nobody
group nogroup

persist-key
persist-tun

status openvpn-status.log
verb 9

tun-mtu 24000
fragment 0
mssfix 0

Code: Select all

client
dev tun
proto tcp
remote 35.202.70.85 443
resolv-retry infinite
nobind
user nobody
group nogroup
persist-key
persist-tun
remote-cert-tls server
key-direction 1
cipher AES-128-CBC
auth SHA256
verb 3
tun-mtu 24000
fragment 0
mssfix 0
#remote server 

# script-security 2
# up /etc/openvpn/update-resolv-conf
# down /etc/openvpn/update-resolv-conf
<ca>
-----BEGIN CERTIFICATE-----

sarahadames
OpenVpn Newbie
Posts: 4
Joined: Thu Aug 11, 2016 9:08 am

Re: Torrent kills my VPN

Post by sarahadames » Wed Oct 18, 2017 2:27 pm

Not sure why it's happening but this guide help you out : How to encrypt Bittorrent Traffic Guide

Post Reply