are cineva idee cum poti defini o plaja de porturi sa fie redirectionate cu rdr in ipnat.rules

as avea nevoie de redirectionat tot ce vine pe 50000 pana la 50100

deocamdata am reusit doar asa:

rdr ed0 xxx.xxx.xxx.xx/32 port 50000 -> 192.168.100.1 port 50000
rdr ed0 xxx.xxx.xxx.xx/32 port 50001 -> 192.168.100.1 port 50001
rdr ed0 xxx.xxx.xxx.xx/32 port 50002 -> 192.168.100.1 port 50002
rdr ed0 xxx.xxx.xxx.xx/32 port 50003 -> 192.168.100.1 port 50003
...........................................................................................................
rdr ed0 xxx.xxx.xxx.xx/32 port 50100 -> 192.168.100.1 port 50100

Am incercat si cu 50000:50100 si 50000 >< 50100 si nu merge... primesc urmatoarea eroare:

router# ./netstart
Doing stage one network startup:
Doing initial network setup: ipfilter ipnat6 entries flushed from NAT table
66 entries flushed from NAT list
53: unknown port "50000:50100"
53: syntax error in "rdr"

Any help?
Thanks
__________________________________________________________
Send 'unsubscribe rofug' to [EMAIL PROTECTED] to unsubscribe



Raspunde prin e-mail lui