how do i DNAT --to-destination a local LAN IP from range (eg:) 1.1.1.1-1.1.1.255 with port 0 - 60000?
i know it works if i do it individually like "DNAT --to-destination 1.1.1.1:0-60000
how do i get this to work without inputting 255 lines of iptables rules?
0 •
Comments
I'm pretty sure that you would use "DNAT --to-destination 1.1.1.1-1.1.1.255:0-60000"
Unless otherwise specified, opinions posted are my own, not those of any person or company I work for
- Spam
- Abuse
- Troll
0 • Disagree Agree Thanks