Public bug reported:

When I connect to openvpn through nm-applet, then get on the DHCP
settings such

tap0      Link encap:Ethernet  HWaddr 22:f5:45:55:f7:2d  
          inet addr:10.9.0.34  Bcast:10.255.255.255  Mask:255.0.0.0
   
and when using the /etc/init.d/openvpn start all right

tap0      Link encap:Ethernet  HWaddr 92:d5:e7:a4:8d:ec  
          inet addr:10.9.0.34  Bcast:10.9.0.63  Mask:255.255.255.224

Server config

auth-user-pass-verify /etc/openvpn/auth-ldap.pl via-env
port 1195
proto udp
dev tap1
ca /etc/openvpn/easy-rsa/2.0/keys/ca.crt
cert /etc/openvpn/easy-rsa/2.0/keys/vpn-kirova159.crt
key /etc/openvpn/easy-rsa/2.0/keys/vpn-kirova159.key  # This file should be 
kept secret
username-as-common-name
client-cert-not-required
dh /etc/openvpn/easy-rsa/2.0/keys/dh1024.pem
server 10.9.0.32 255.255.255.224
mssfix 1300
push "route 10.0.0.0 255.0.0.0"
push "route 192.168.0.0 255.255.0.0"
push "dhcp-option DNS 10.10.3.254"
client-config-dir ccd
client-to-client
keepalive 10 120
comp-lzo
user nobody
group nogroup
persist-key
persist-tun
status rusers-status.log
log         rusers.log
log-append  rusers.log
verb 6
mute 20

Client config (when using rc-script)

dev tap
proto udp
remote YYY.YYY.YYY.YYY 1195
port 1195
client
ca ca.crt
comp-lzo
persist-key
persist-tun
auth-user-pass
verb 3
log ovpn.log

Description:    Ubuntu 8.10

network-manager-gnome:
  Install: 0.7~~svn20081020t000444-0ubuntu1
  Candidate: 0.7~~svn20081020t000444-0ubuntu1
  Table versions:
 *** 0.7~~svn20081020t000444-0ubuntu1 0
        500 http://ftp.acc.umu.se intrepid/main Packages
        500 http://ubuntu.task.gda.pl intrepid/main Packages
        100 /var/lib/dpkg/status

openvpn:
  Install: 2.1~rc11-1ubuntu2
  Candidate: 2.1~rc11-1ubuntu2
  Table versions:
 *** 2.1~rc11-1ubuntu2 0
        500 http://ftp.acc.umu.se intrepid/main Packages
        500 http://ubuntu.task.gda.pl intrepid/main Packages
        100 /var/lib/dpkg/status

** Affects: ubuntu
     Importance: Undecided
         Status: New

** Description changed:

  When I connect to openvpn through nm-applet, then get on the DHCP
  settings such
  
  tap0      Link encap:Ethernet  HWaddr 22:f5:45:55:f7:2d  
            inet addr:10.9.0.34  Bcast:10.255.255.255  Mask:255.0.0.0
     
  and when using the /etc/init.d/openvpn start all right
  
  tap0      Link encap:Ethernet  HWaddr 92:d5:e7:a4:8d:ec  
            inet addr:10.9.0.34  Bcast:10.9.0.63  Mask:255.255.255.224
  
  Server config
  
  auth-user-pass-verify /etc/openvpn/auth-ldap.pl via-env
  port 1195
  proto udp
  dev tap1
  ca /etc/openvpn/easy-rsa/2.0/keys/ca.crt
  cert /etc/openvpn/easy-rsa/2.0/keys/vpn-kirova159.crt
  key /etc/openvpn/easy-rsa/2.0/keys/vpn-kirova159.key  # This file should be 
kept secret
  username-as-common-name
  client-cert-not-required
  dh /etc/openvpn/easy-rsa/2.0/keys/dh1024.pem
  server 10.9.0.32 255.255.255.224
  mssfix 1300
  push "route 10.0.0.0 255.0.0.0"
  push "route 192.168.0.0 255.255.0.0"
  push "dhcp-option DNS 10.10.3.254"
  client-config-dir ccd
  client-to-client
  keepalive 10 120
  comp-lzo
  user nobody
  group nogroup
  persist-key
  persist-tun
  status rusers-status.log
  log         rusers.log
  log-append  rusers.log
  verb 6
  mute 20
  
  Client config (when using rc-script)
  
  dev tap
  proto udp
- remote 195.54.12.3 1195
+ remote YYY.YYY.YYY.YYY 1195
  port 1195
  client
  ca ca.crt
  comp-lzo
  persist-key
  persist-tun
  auth-user-pass
  verb 3
  log ovpn.log
  
  Description:    Ubuntu 8.10
  
  network-manager-gnome:
    Install: 0.7~~svn20081020t000444-0ubuntu1
    Candidate: 0.7~~svn20081020t000444-0ubuntu1
    Table versions:
   *** 0.7~~svn20081020t000444-0ubuntu1 0
          500 http://ftp.acc.umu.se intrepid/main Packages
          500 http://ubuntu.task.gda.pl intrepid/main Packages
          100 /var/lib/dpkg/status
  
  openvpn:
    Install: 2.1~rc11-1ubuntu2
    Candidate: 2.1~rc11-1ubuntu2
    Table versions:
   *** 2.1~rc11-1ubuntu2 0
          500 http://ftp.acc.umu.se intrepid/main Packages
          500 http://ubuntu.task.gda.pl intrepid/main Packages
          100 /var/lib/dpkg/status

-- 
nm-applet get incorrect netmask from DHCPD [openvpn]
https://bugs.launchpad.net/bugs/306166
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to