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.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
iptables expert.
cosmicgate
Member
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"