I would like to access from my Windows PC a KNX interface that is wired to a Linux PC trought my wireguard VPN but the interface is on a different subnet. The KNX interface use UDP protocol on port 3671. See image below :
My current network:
I have already set the ipv4.forwarding and tried to add a route with this :
iptables -t nat -A PREROUTING -p tcp -d 10.0.0.4 --dport 3671 -j DNAT --to 10.10.6.158:3671
I added this rule too to the linux iptables : -A FORWARD -d 10.10.6.158/32 -p udp -m udp --dport 3671 -j ACCEPT \
I tried to connect to my interface with my KNX software but I get no response. I only have basic understanding of route networking and don't know any tool that could help me solve this.
traceroute
ormtr
can be a great help when identifying missing routes.