1. Store
  2. Apps
  3. Hardware
  4. Support
  5. Solutions

ClearFoundation

Forums
Welcome, Guest
Add port ranges or multiple ports into Destination
(1 viewing) 1 Guest
Go to bottomPage: 1
TOPIC: Add port ranges or multiple ports into Destination
#43660
Add port ranges or multiple ports into Destination 10 Months, 1 Week ago  
I would like to add ports below into Destination port rule via Admin page or UI.
TCP: 14300, 14400-14406, 14500-14600
UDP: 15100-15200

And I don’t know anything about Linux commands so I have to use admin page to config.


Can I add multiple ports like this?
mutiple ports picture

Can I add port ranges like this via UI?
port ranges picture

Please suggest?
Chaweewan
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2012/07/14 03:41 By Junephu.Reason: add link
The administrator has disabled public write access.
 
#43663
Re: Add port ranges or multiple ports into Destination 10 Months, 1 Week ago  
I think you'll have to use custom rules or do it from the command line (always check a custom rule at the command line first). Google for "man iptables" for lots of references and look for multiport. You'll want something like;
Code:

iptables -I WHATEVER -p tcp -m multiport --dports 14300,14400:14406,14500:14600 -j ACCEPT

For WHATEVER, you'll probably want INPUT, OUTPUT or FORWARD but I cannot tell from your screenshots what type of rule you are trying to add. You may also want to specify an interface (either -i or -o) or perhaps IP address (-s or -d). I must stress you need to check the rule at the command line first.
Nick Howitt
Platinum Boarder
Posts: 4142
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
  get the latest posts directly to your desktop