iptables expert.

iptables expert.

cosmicgatecosmicgate Member
edited September 2012 in Help

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?

vpsdash.com - Tips and tricks in life, information and technology news to get things done

Comments

  • I'm pretty sure that you would use "DNAT --to-destination 1.1.1.1-1.1.1.255:0-60000"

Sign In or Register to comment.