I wanna simulate the action of iptables -t nat -A PREROUTING -i eth1 -p tcp -s 192.168.1.1 --dport 80 -j REDIRECT --to-port 8080
hi all
I am just a green hand of iptables.
My work needs a function similar with what the command
"iptables -t nat -A PREROUTING -i eth1 -p tcp -s 192.168.1.1 --dport 80 -j REDIRECT --to-port 8080" does. In fact,that is one auth windows pops up when the interior user visits
the internet via IE or othere web browsers.
but now we can't use iptables in our OS(vxworks).
I wanna know how the REDIRECT command(as above) does work in details so I can futher my work.
so anyone could help me?thx in advance.
=============================================================
���ʮ��Ů��վ����ѡ�����ˣ� http://www.nease.net
�ٷְ�Ů�� - ����ѡ���! http://love.163.com