Je n’ai pas d’autres règles iptables pour le moment.
Pour le retour, je compte sur :
root@dom0:~# route -n
Table de routage IP du noyau
Destination Passerelle Genmask Indic Metric Ref Use Iface
0.0.0.0 62.210.0.1 0.0.0.0 UG 0 0 0 enp0s20f0
10.1.0.0 0.0.0.0 255.255.0.0 U 0 0 0 lan0
163.172.28.0 0.0.0.0 255.255.255.0 U 0 0 0 enp0s20f0
212.83.130.31 10.1.10.254 255.255.255.255 UGH 0 0 0 lan0
(j’avais essayé avec 163.172.28.1 comme passerelle)
Et sur la DomU :
root@dom1:~# route -n
Table de routage IP du noyau
Destination Passerelle Genmask Indic Metric Ref Use Iface
0.0.0.0 10.1.10.254 0.0.0.0 UG 0 0 0 eth0
10.1.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
root@dom1:~# ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.1.20.1 netmask 255.255.0.0 broadcast 10.1.255.255
inet6 fe80::216:3eff:fe10:385d prefixlen 64 scopeid 0x20<link>
ether 00:16:3e:10:38:5d txqueuelen 1000 (Ethernet)
RX packets 69 bytes 8468 (8.2 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 51 bytes 8085 (7.8 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
eth0:1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 212.83.130.31 netmask 255.255.255.255 broadcast 212.83.130.31
ether 00:16:3e:10:38:5d txqueuelen 1000 (Ethernet)
lo: ...
(j’avais essayé avec eth1 également)