ryan-lee@plucky-client:~$ apt policy apparmor
apparmor:
  Installed: 4.1.0~beta5-0ubuntu14.1
  Candidate: 4.1.0~beta5-0ubuntu14.1
  Version table:
 *** 4.1.0~beta5-0ubuntu14.1 100
        100 http://us.archive.ubuntu.com/ubuntu plucky-proposed/main amd64 Pack>
        100 /var/lib/dpkg/status
     4.1.0~beta5-0ubuntu14 500
        500 http://us.archive.ubuntu.com/ubuntu plucky/main amd64 Packages

ryan-lee@plucky-server:~$ apt policy apparmor
apparmor:
  Installed: 4.1.0~beta5-0ubuntu14.1
  Candidate: 4.1.0~beta5-0ubuntu14.1
  Version table:
 *** 4.1.0~beta5-0ubuntu14.1 100
        100 http://us.archive.ubuntu.com/ubuntu plucky-proposed/main amd64 Pack>
        100 /var/lib/dpkg/status
     4.1.0~beta5-0ubuntu14 500
        500 http://us.archive.ubuntu.com/ubuntu plucky/main amd64 Packages

`sudo aa-status` shows openvpn, openvpn//ip, and openvpn//update-resolv
profiles loaded on both machines.

With the configs, `sudo openvpn [config].conf` opens an openvpn tunnel
successfuly, with "Peer Connection Initialized with [AF_INET][ip-addr]"
and "Initialization Sequence Completed" printed on both ends of the
connection.

ryan-lee@plucky-client:~$ cat ~/Desktop/openvpn-client.conf
remote plucky-server.local
dev tun
proto udp
cipher aes-256-cbc
ifconfig 10.4.13.2 10.4.13.1
secret secret.key
ryan-lee@plucky-client:~$ ping 10.4.13.1
PING 10.4.13.1 (10.4.13.1) 56(84) bytes of data.
64 bytes from 10.4.13.1: icmp_seq=1 ttl=64 time=0.616 ms
64 bytes from 10.4.13.1: icmp_seq=2 ttl=64 time=1.17 ms
64 bytes from 10.4.13.1: icmp_seq=3 ttl=64 time=1.37 ms
64 bytes from 10.4.13.1: icmp_seq=4 ttl=64 time=1.05 ms
^C
--- 10.4.13.1 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3005ms
rtt min/avg/max/mdev = 0.616/1.049/1.370/0.275 ms

ryan-lee@plucky-server:~$ cat ~/Desktop/openvpn-server.conf
dev tun
proto udp
cipher aes-256-cbc
ifconfig 10.4.13.1 10.4.13.2
secret secret.key
ryan-lee@plucky-server:~$ ping 10.4.13.2
PING 10.4.13.2 (10.4.13.2) 56(84) bytes of data.
64 bytes from 10.4.13.2: icmp_seq=1 ttl=64 time=1.07 ms
64 bytes from 10.4.13.2: icmp_seq=2 ttl=64 time=0.913 ms
64 bytes from 10.4.13.2: icmp_seq=3 ttl=64 time=1.18 ms
64 bytes from 10.4.13.2: icmp_seq=4 ttl=64 time=1.46 ms
^C
--- 10.4.13.2 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3004ms
rtt min/avg/max/mdev = 0.913/1.156/1.456/0.197 ms

Test plan verification successful.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2109029

Title:
  AppArmor OpenVPN profile blocks mDNS lookups

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/2109029/+subscriptions


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

Reply via email to