How to redirect traffic to specific ip?

I am creating captive portal in openwrt. When any client gets connected to openwrt router , I want that client see my login page on specific ip. How to achieve this using iptables. What rule I have to use. Please guide me.

Are you building the whole captive portal from scratch?
There are some captive portals that take care of this.

1 Like

I just want to know the iptables rule for directing traffic to a particular specific ip.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.