verification-done-xenial:
root@lxd1:~# lxc exec test2 -- bash root@test2:~# iptables-save # Generated by iptables-save v1.6.0 on Mon Jun 20 09:11:56 2016 *filter :INPUT ACCEPT [131:12129] :FORWARD ACCEPT [0:0] :OUTPUT ACCEPT [125:9999] COMMIT # Completed on Mon Jun 20 09:11:56 2016 # Generated by iptables-save v1.6.0 on Mon Jun 20 09:11:56 2016 *nat :PREROUTING ACCEPT [3:1015] :INPUT ACCEPT [1:328] :OUTPUT ACCEPT [60:4035] :POSTROUTING ACCEPT [60:4035] COMMIT # Completed on Mon Jun 20 09:11:56 2016 # Generated by iptables-save v1.6.0 on Mon Jun 20 09:11:56 2016 *mangle :PREROUTING ACCEPT [133:12816] :INPUT ACCEPT [131:12129] :FORWARD ACCEPT [0:0] :OUTPUT ACCEPT [125:9999] :POSTROUTING ACCEPT [125:9999] COMMIT # Completed on Mon Jun 20 09:11:56 2016 root@test2:~# uname -a Linux test2 4.4.0-25-generic #44-Ubuntu SMP Fri Jun 10 18:19:48 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
verification- done-xenial:
root@lxd1:~# lxc exec test2 -- bash
root@test2:~# iptables-save
# Generated by iptables-save v1.6.0 on Mon Jun 20 09:11:56 2016
*filter
:INPUT ACCEPT [131:12129]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [125:9999]
COMMIT
# Completed on Mon Jun 20 09:11:56 2016
# Generated by iptables-save v1.6.0 on Mon Jun 20 09:11:56 2016
*nat
:PREROUTING ACCEPT [3:1015]
:INPUT ACCEPT [1:328]
:OUTPUT ACCEPT [60:4035]
:POSTROUTING ACCEPT [60:4035]
COMMIT
# Completed on Mon Jun 20 09:11:56 2016
# Generated by iptables-save v1.6.0 on Mon Jun 20 09:11:56 2016
*mangle
:PREROUTING ACCEPT [133:12816]
:INPUT ACCEPT [131:12129]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [125:9999]
:POSTROUTING ACCEPT [125:9999]
COMMIT
# Completed on Mon Jun 20 09:11:56 2016
root@test2:~# uname -a
Linux test2 4.4.0-25-generic #44-Ubuntu SMP Fri Jun 10 18:19:48 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux