Menu

#5 Adding rule for a range of ports

open
nobody
None
5
2003-05-12
2003-05-12
Ronald
No

How would I configure my firewall if I need to open a port range
example 1234 - 5678 ? I tried using tcp connection and put 1234-5678
but when I did an apply, it did not work.

Am using Turtle 1.25

Thanks

Discussion

  • bambi2000

    bambi2000 - 2003-05-12

    Logged In: YES
    user_id=776942

    A possible workaround would be to define your own service
    in the fwuserdefservices.xml file. Something like:

    <service name="myservice" description="Open TCP ports
    1234 - 5678">
    <filter direction="go" p="tcp" dport="1234:5678" />
    <filter direction="back" p="tcp" sport="1234:5678" />
    </service>

     
  • Cubfan3

    Cubfan3 - 2006-01-24

    Logged In: YES
    user_id=1435128

    Thanks bambi2000 for that submissions. But I was wondering
    if that script could be cleaned up a little bit. I am new
    to Turtle and am a little confused as to the correct
    syntax that is needed there.

    John

     
  • bambi2000

    bambi2000 - 2006-01-24

    Logged In: YES
    user_id=776942

    Ok, let's see if this looks messed up like my original post:

    <service name="myservice" description="Open TCP ports
    1234-5678">
    <filter direction="go" p="tcp" dport="1234:5678" />
    <filter direction="back" p="tcp" sport="1234:5678" />
    </service>

     
  • Cubfan3

    Cubfan3 - 2006-01-24

    Logged In: YES
    user_id=1435128

    That looks a bunch better! Thanks for your help.

    John

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.