Hi,
I have several subnets.
One subnet per Vlan.
In some of these subnets I have a Host with a web interface.
These hosts do not route traffic, hence they have no default gateway.
In my Management Net, I have a client to access the web interfaces of the hosts.
Because there is no default gateway, I thought I could resolve accessing the web interfaces by using a mapping of ip addresses.
If Client (A) is accessing Host (B), the firewall should map the Client IP address into the VLAN 190, mapping to/from 192.168.190.189
If Client (A) is accessing Host (C), the firewall should map the Client IP address into the VLAN 191, mapping to/from 192.168.191.189
Can that be solved with openwrt with luci?
How to do?
I played around with SNAT, but no luck.
config nat
option name 'lan-temp_to_mgmt'
option family 'ipv4'
option src '*'
option src_ip ''192.168.199.189'
option target 'SNAT'
option dest_ip '192.168.190.10'
list proto 'tcp'
list proto 'udp'
list proto 'icmp'
Thank you,
I had several issues, why it wasnt working.
(VLAN tagging, etc.)
Now it is working.
Is it possible to use a diff. IP than the Router?
Ex.: 192.168.190.189 as SNAT IP?
I remember, years ago I used something like proxyarp and some times I had to map into network, where the subnets had the same ip address ranges.
Maybe it wrong in this case.
Never the less, thank you for your help.