Voila les informations demandées :
ip link ls
:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000
link/ether 02:42:4d:99:f5:de brd ff:ff:ff:ff:ff:ff
3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DORMANT group default qlen 1000
link/ether 12:42:4d:99:f5:de brd ff:ff:ff:ff:ff:ff
4: ppp0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN mode DEFAULT group default qlen 3
link/ppp
5: tun0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN mode DEFAULT group default qlen 100
link/none
ip -4 addr ls
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
inet 10.10.10.1/24 brd 10.10.10.255 scope global eth0
valid_lft forever preferred_lft forever
4: ppp0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN group default qlen 3
inet 10.29.237.236 peer 192.200.1.21/32 scope global ppp0
valid_lft forever preferred_lft forever
5: tun0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN group default qlen 100
inet 192.168.2.6 peer 192.168.2.5/32 scope gl
ip -4 route ls
default via 192.168.2.5 dev tun0
10.10.10.0/24 dev eth0 proto kernel scope link src 10.10.10.1
**123.123.123.123** dev ppp0 scope link **(j'ai modifié car c'est mon ip réel)**
169.254.0.0/16 dev eth0 scope link metric 1000
192.168.1.0/24 via 192.168.2.5 dev tun0
192.168.2.0/24 via 192.168.2.5 dev tun0
192.168.2.1 via 192.168.2.5 dev tun0
192.168.2.5 dev tun0 proto kernel scope link src 192.168.2.6
192.200.1.21 dev ppp0 proto kernel scope link src 10.29.237.236
ip -4 rule ls
0: from all lookup local
32766: from all lookup main
32767: from all lookup default
sudo iptables --line-numbers -nvx -t filter -L
Chain INPUT (policy ACCEPT 639 packets, 145362 bytes)
num pkts bytes target prot opt in out source destination
Chain FORWARD (policy ACCEPT 3098 packets, 599700 bytes)
num pkts bytes target prot opt in out source destination
1 0 0 ACCEPT all -- wlan0 eth0 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
2 0 0 ACCEPT all -- eth0 wlan0 0.0.0.0/0 0.0.0.0/0
Chain OUTPUT (policy ACCEPT 386 packets, 58955 bytes)
num pkts bytes target prot opt in out source destination
sudo iptables --line-numbers -nvx -t nat -L
Chain PREROUTING (policy ACCEPT 639 packets, 63774 bytes)
num pkts bytes target prot opt in out source destination
Chain INPUT (policy ACCEPT 41 packets, 14829 bytes)
num pkts bytes target prot opt in out source destination
Chain OUTPUT (policy ACCEPT 73 packets, 5434 bytes)
num pkts bytes target prot opt in out source destination
Chain POSTROUTING (policy ACCEPT 0 packets, 0 bytes)
num pkts bytes target prot opt in out source destination
1 0 0 MASQUERADE all -- * eth0 10.8.0.0/24 0.0.0.0/0 /* openvpn-nat-rule */
2 0 0 MASQUERADE all -- * wlan0 0.0.0.0/0 0.0.0.0/0
3 256 26664 MASQUERADE all -- * tun0 0.0.0.0/0 0.0.0.0/0
4 331 22156 MASQUERADE all -- * ppp0 0.0.0.0/0 0.0.0.0/0
sudo iptables --line-numbers -nvx -t mangle -L
Chain PREROUTING (policy ACCEPT 0 packets, 0 bytes)
num pkts bytes target prot opt in out source destination
Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
num pkts bytes target prot opt in out source destination
Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
num pkts bytes target prot opt in out source destination
Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
num pkts bytes target prot opt in out source destination
Chain POSTROUTING (policy ACCEPT 0 packets, 0 bytes)
num pkts bytes target prot opt in out source destination