Hi everyone,
I have set a router with internal ip 172.16.1.1/24 and external ip (lets say) 1.1.1.1. Now i want to set the even IPs from LAN to get access to web and odd IPs from LAN to have access to SMTP. Can anyone help me set these with iptables?

Thanks,
Andrew