I have a challenging situation where I have 5 devices which act as wireless access points. I need to be able to access TCP 8080
on each device from a central device. All wireless devices have a 192.168.122.1
address and dish out a DHCP address over wireless. I have a Pi connected via 5 wireless cards (on a powered hub) as so....
Ideally I want to connect to eth0
on the Pi nic on ports 8081,8082
etc and be NAT'd to each of the different devices on port 8080
. I looked into namespaces but my wireless cards don't support it so I need to find a solution with ip route / iptables
. Been thrashing around for a few days and haven't found a good example to work from. Some help would be appreciated.
Thanks