OpenVPN QOS

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Author Message
pgtdriver
DD-WRT Novice


Joined: 02 Aug 2012
Posts: 11

PostPosted: Fri Aug 03, 2012 15:02    Post subject: OpenVPN QOS Reply with quote
Does anyone have any input on QOS for openvpn? I need all openvpn traffic to take priority over everything else.

I have tried defining the openvpn subnet with no success. There must be a way.
Sponsor
pgtdriver
DD-WRT Novice


Joined: 02 Aug 2012
Posts: 11

PostPosted: Fri Aug 03, 2012 15:15    Post subject: Reply with quote
It seems with QOS on, the load of the router shoots through the roof when I start to DL stuff. Im wondering if the router just can't handle this traffic.
pgtdriver
DD-WRT Novice


Joined: 02 Aug 2012
Posts: 11

PostPosted: Fri Aug 03, 2012 15:41    Post subject: Reply with quote
Just trying to get an IP phone over openvpn to get priority.

Enabled QOS, set the bandwidth limits, added the phones MAC address. Saved/Applied, then rebooted, phone is still not getting priority.
pgtdriver
DD-WRT Novice


Joined: 02 Aug 2012
Posts: 11

PostPosted: Fri Aug 03, 2012 18:01    Post subject: Reply with quote
Well this is proving to be quite the pain.

Can anyone confirm that QOS actually works?

I've setup QOS on a number of hardware firewalls (pfsence, untangle) along with cisco and adtran routers with little to no fuss. This should not be that difficult.

I am now trying to QOS the traffic based off of IP. I have defined 10.80.0.0/16, 192.168.180.4/32 and 192.168.1.121/32.

192.168.1.121 - Phone DHCP IP from dd-wrt router
192.168.180.4 - dd-wrt openvpn IP
10.80.0.0/16 - Subnet of phone system on other side of openvpn tunnel

root@DD-WRT:~# cat /proc/net/ip_conntrack | grep 192.168.1.121

udp 17 117 src=192.168.1.121 dst=10.80.20.3 sport=50003 dport=6035 src=10.80.20.3 dst=192.168.180.4 sport=6035 dport=50003 [ASSURED] use=1 rate=53 mark=0

tcp 6 94 TIME_WAIT src=192.168.1.121 dst=10.80.20.2 sport=1027 dport=50000 [UNREPLIED] src=10.80.20.2 dst=108.12.29.6 sport=50000 dport=1027 use=1 rate=0 mark=10

tcp 6 3598 ESTABLISHED src=192.168.1.121 dst=10.80.20.2 sport=1028 dport=50000 src=10.80.20.2 dst=192.168.180.4 sport=50000 dport=1028 [ASSURED] use=1 rate=211 mark=0

udp 17 118 src=192.168.1.121 dst=10.80.20.3 sport=50002 dport=6034 src=10.80.20.3 dst=192.168.180.4 sport=6034 dport=50002 [ASSURED] use=1 rate=19041 mark=0

As you can see only one session is getting mark=10, i must be missing something or QOS is completely broke.
pgtdriver
DD-WRT Novice


Joined: 02 Aug 2012
Posts: 11

PostPosted: Fri Aug 03, 2012 18:53    Post subject: Reply with quote
After more testing i finally see the QOS marking the traffic correctly. I had to define my own service/port rule.

Doesn't seem to help though as the router just dies once a download starts, which kills the voice traffic. I am guessing the WRT54G v4 just cant handle this. Hoping the e2000 will do a better job.
Markus
Site Admin


Joined: 09 Aug 2006
Posts: 121
Location: Germany, Bensheim

PostPosted: Thu Aug 09, 2012 7:42    Post subject: Reply with quote
Is your voip traffic flowing through the openvpn tunnel?
_________________
Forum Rules
Forum Guidelines...How to get help the right way
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum