Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


In this Discussion

iptables expert.
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

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?

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.