sysctl net.ipv4.ip_forwardnet.ipv4.ip_forward = 1
iptables -S-P INPUT ACCEPT-P FORWARD ACCEPT-P OUTPUT ACCEPT-A FORWARD -i wg0 -o eth0 -j ACCEPT-A FORWARD -i eth0 -o wg0 -m state --state RELATED,ESTABLISHED -j ACCEPT
traceroute to 192.168.2.1 (192.168.2.1), 64 hops max, 40 byte packets 1 10.10.10.3 (10.10.10.3) 83.402 ms 82.809 ms 57.917 ms 2 * * *
netstat -rnRouting tablesInternet:Destination Gateway Flags Netif Expiredefault 178.200.132.1 UGS igc010.10.10.0/24 link#10 U wg110.10.10.1 link#10 UHS lo0192.168.2.0/24 link#10 US wg1
ip rdefault via 192.168.2.1 dev eth0 proto dhcp src 192.168.2.142 metric 20210.10.10.0/24 dev wg0 proto kernel scope link src 10.10.10.3192.168.2.0/24 dev eth0 proto dhcp scope link src 192.168.2.142 metric 202192.168.15.0/24 dev wg0 scope link
But I'm a little bit confused. Shouldn't I already be able to ping routerA from routerB? All neccesary routes should be available.