I have an interesting problem that involves multiple GoPro cameras. Basically, I need to have the ability to communicate with multiple GoPro cameras via a single network. The challenge is that the cameras operate as a WiFi access point and all have the same IP address once connected (

In order to allow my to access all of the cameras via a single network, I'm planning on using a unique WiFi adapter for each camera. This should work well since each camera has a unique SSID. Each WiFi adapter would have a unique address in the subnet. The challenge arrises once more than one of the WiFi adapters connects to a camera and I now have multiple devices with the IP address.

From here, I'm thinking that it may be possible to configure some IPTables rules to enable port forwarding to the specific WiFi interfaces.

Assuming the routing system had an eth0 with multiple IP address (,, etc), would it be possible to create IPTables rules to perform the following?

  • Forward traffic received on 192.168.1.N:80 to (via wlanN)
  • Forward traffic received on 192.168.1.N:8080 to (via wlanN)



You're looking for something like:

iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port

However as each of your wifi adapters has the same IP this won't work because your routing table will be fubar.

To get this working you need to force each wifi adapter to have a unique address on the network and then also set up your routing appropriately:


You'd setup each interface something like so:

ifconfig wlan0 <WLAN IF ADDR> -pointopoint <CAMERA ADDR>

And that should setup the route for you, if not use the "route" command above.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.