It's my belief that if I create a static route like the below graphic that... I shouldn't be able to ping the address I have set up the static route for?
e.g using the 8.8.8.8 target above, pings do reply. In the interim I have setup a firewall rule(s) like:
These custom firewall rules, are they the same as setting up similar static routes?
The firewall rules seems to do the job for the moment (working on WifI & WAN), but I'd want to get my head around why the static routes are not working over WiFi.
I have tested static routes on a TP-LINK mr3420v2 running 17.01.4, it seems to work, but not on the TP-LINK Archer c2600v1.1.
You mentioned your routes are working on the WAN interface, and that leads me to think that you have an unusual configuration over there. I think you should provide us the whole picture.
My aim is to setup static routes so I can watch US Netflix from Australia. Since Netflix have updated their PS3 app (using a Playstation 3 to view Netflix) I'm required to implement static routes otherwise I'm presented with a 'proxy error', therefore unable to view US Netflix content.
I've done some more troubleshooting since my original post and have found that whenever I stop assigning a static IP address, the static route works.
I think it stems from /etc/rc.local where I reserved 5x IP's (192.168.2.250-254) to route through 192.168.10.1 (ISP modem/router) instead of the (LEDE router), so some devices appear to have the ISP assigned IP address.
Nevertheless, I won't set a static IP address for the PS3 and continue setting up the static routes as intended.
Oh BTW, if I setup these iptables below, is it the same as setting up the the static routes as shown in the graphic in my first post?
Thanks, I'll need to take good look at what you put forward regarding WireGuard.
ATM I'm using Openvpn for all clients as the default, and can selectively assign them a static IP whenever I need to route any through my ISP gateway, which works.
It's just that I totally forgot I assigned my laptop WiFi a static IP (for testing) therefore bypassing the static routes altogether!