Hi,
I'm struggling whole day to set up correct rules for Nat and firewall.
Earlier I had no problem to set everything on OPNsense, but I moved to OpenWRT because of better drivers and more open architecture.
In OPNsense I was able to set rules like:
- Any traffic from LAN that destination IP is in TUN1 to be redirected to TUN1
- Any traffic from LAN that destination IP is in TUN2 to be redirected to TUN2
- Any traffic from LAN from specified source IP to be redirected to VPN1
- Any traffic from LAN to be redirected to WAN.
In LuCi I see similar options to create these rules, but when I start to create I cant find what I need.
In OPNsense I was able to set Device where traffic will be reditected to. In LuCi there is destination IP, but Gateway IPs of VPN and WAN is dynamic, so how can I set destination IP ? This is so confusing.
Could anyone help me to set this UP using LuCi?
Thanks.