I am having issues trying to connect my devices using the wireguard tunnel (setup > tunnels) via oet1, The problem is im double NATed behind an VDSL2 router on 192.168.1.0/24 and my DD-WRT router is on 192.168.9.0/24 i can acess the internet fine but the traffic is going though the WAN interface so my case vlan2.
I have tryed iptables with and just without the DROP rule
iptables -I FORWARD -s 192.168.9.0/24 -o `nvram get wan_ifname` -j DROP
iptables -I FORWARD -s 192.168.9.0/24 -o oet1 -j ACCEPT
iptables -t nat -A POSTROUTING -o oet1 -j MASQUERADE
but im clueless on ip route and rule. So if anyone is willing to help me out would be much appreciated.
I can also traceroute fine if i SSH into the router using traceroute -i oet1 forum.dd-wrt.com _________________ TP-Link TL-WDR3600 v1 [EU]: r36330 (07/16/18 )
D-Link DIR-615 D2 [EU]: r36330 (07/16/18 )
Mikrotik RB750r2 (OpenWrt 17.01.4)
EE BrightBox 1 aka A4001N (OpenWrt 17.01.4)
Sagemcom FAST@5364 (VDSL2,FTTC (Fibre to the Cabinet) Synced 65/17
Joined: 08 May 2018 Posts: 14248 Location: Texas, USA
Posted: Thu Jul 19, 2018 8:27 Post subject:
route add -host 1.2.3.4 netmask 255.255.255.255 gw 192.168.1.1 br-WAN (or whichever interface value matches in DD-WRT) ... that would seem to be the right way to do it via command line. I'm guessing you can add it under the webUI in the Setup -> Advanced Routing tab, but reading your ticket https://svn.dd-wrt.com/ticket/6362#comment:7 seems to indicate that adding that via the webUI doesn't work properly.