There is three easy steps to achieve this, first you need to know what the ip of your router is that dials your internet.
Tenda are 192.168.1.1
D-link are 10.0.0.2
This is what I do to get the internet working
- I add an IP in the same range as my internet router(d-link) and forward it to the ethernet port that its connects to. My RB750 is setup as a switch with ethernet 2 as the masterport.
ip address address add=10.0.0.100/24 interface=ether2 comment="Internet"
- Now I will add a route to the internet and forward it to the D-link router
ip route add dst-address=0.0.0.0/0 gateway=10.0.0.2 comment="Route to internet"
- Add a default firewall
ip firewall nat add action=masquerade chain=srcnat
If you type those three command into your terminal of your RB750 your internet and your wug should work together.
I'm assuming that your rb is setup as a switch and that you master port is named ether2