Page 1 of 1

Captive Portal

Posted: Sat May 06, 2017 1:22 pm
by rockford333
Hi,

I am trying to install captive portal in vocore2. I am getting error of IPTables compatibility issue with hardware. I would like to know the suggestion for adding Captive portal in vocore2.

Re: Captive Portal

Posted: Mon May 08, 2017 3:10 pm
by Vonger
not in list MAC resend to 192.168.1.1:8081
iptables -t nat -I PREROUTING -p tcp -m tcp --dport 0:65535 -j DNAT --to 192.168.1.1:8081
iptables -t nat -I PREROUTING -p udp -m udp --dport 0:65535 -j DNAT --to 192.168.1.1:8081

in list MAC allowed visit internet:
iptables -t nat -I PREROUTING -m mac --mac-source 00:25:86:11:11:11 -j ACCEPT
iptables -t nat -I PREROUTING -m mac --mac-source 00:16:44:22:22:22 -j ACCEPT

what is the iptable compatible issue?