Bug #3158

Incorrect OpenVPN pushed DNS

Added by Filippo Carletti about 6 years ago. Updated about 6 years ago.

Status:CLOSEDStart date:05/12/2015
Priority:NormalDue date:05/12/2015
Assignee:-% Done:

100%

Category:nethserver-openvpn
Target version:v6.6
Security class: Resolution:
Affected version:v6.6 NEEDINFO:No

Description

When connecting to the office using openvpn, my client received a non-working dns: I couldn't resolve host names.
Scenario:
Lan network=192.168.5..0/24
DNS=192.168.5.253
OpenVPN network=10.9.9.0/24

My client received DNS=192.168.5.253 instead of 10.9.9.1.
Changing it manually, name resolution works.
Look at traffic dump:

16:47:24.293559 IP 10.9.9.6.35690 > 192.168.5.253.53: 41288+ A? svn.nethesis.it. (33)
16:47:24.293680 IP 192.168.5.253 > 10.9.9.6: ICMP 192.168.5.253 udp port 53 unreachable

Associated revisions

Revision a561b7ee
Added by Giacomo Sanchietti about 6 years ago

host2net config: fix DNS option. Refs #3158

History

#1 Updated by Giacomo Sanchietti about 6 years ago

  • Status changed from NEW to TRIAGED
  • Target version set to v6.6
  • % Done changed from 0 to 20

#2 Updated by Giacomo Sanchietti about 6 years ago

  • Status changed from TRIAGED to ON_DEV
  • Assignee set to Giacomo Sanchietti
  • % Done changed from 20 to 30

#3 Updated by Giacomo Sanchietti about 6 years ago

  • Status changed from ON_DEV to MODIFIED
  • % Done changed from 30 to 60

Note: current implementation correctly works only with a bridged green interface

#4 Updated by Giacomo Sanchietti about 6 years ago

  • Status changed from MODIFIED to ON_QA
  • Assignee deleted (Giacomo Sanchietti)
  • % Done changed from 60 to 70
Package in nethserver-testing:
  • nethserver-openvpn-1.2.0-1.1.ga561b7e.ns6.noarch.rpm
  • nethserver-openvpn-1.2.0-1.3.ge6e4081.ns6.noarch.rpm (Update for language packs)
Test case
  • Check the bug is not reproducible

#5 Updated by Vasco Castelo Branco about 6 years ago

  • Due date set to 05/12/2015
  • Status changed from ON_QA to VERIFIED
  • Assignee set to Vasco Castelo Branco
  • Start date set to 05/12/2015
  • % Done changed from 70 to 90

Tested with 1 NIC Box
Worked as expected

#6 Updated by Giacomo Sanchietti about 6 years ago

  • Assignee deleted (Vasco Castelo Branco)

#7 Updated by Giacomo Sanchietti about 6 years ago

  • Status changed from VERIFIED to CLOSED
  • % Done changed from 90 to 100
Released in nethserver-updates:
  • nethserver-openvpn-1.2.1-1.ns6.noarch.rpm

Also available in: Atom PDF