• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Sequential Port Mapping

Scheduled Pinned Locked Moved NAT
4 Posts 3 Posters 2.0k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T
    tedced
    last edited by Jan 20, 2011, 9:04 PM

    OK, Here's what I need to do and I'm hoping there's a sleek way to do it. I need to create sequential port mapping for ICA connections here's the example

    I need to forward from the wan

    IP:PORTNUM
    WANIP:8060 to internal 192.168.1.60:1494
    WANIP:8061 to internal 192.168.1.61:1494
    WANIP:8062 to internal 192.168.1.62:1494
    …
    WANIP:8109 to internal 192.168.1.109:1494
    WANIP:8110 to internal 192.168.1.110:1494

    I know howto setup individual rules to accomplish this, but I need to do this for a couple different local ports (not just 1494) on two interfaces and I don't want to manually have to add a few hundred rules to accomplish it.

    Any help is appreciated.

    my pfsense box is running version 1.2-RELEASE

    thanks!

    1 Reply Last reply Reply Quote 0
    • C
      cmb
      last edited by Jan 23, 2011, 4:14 AM

      You can use aliases to keep the firewall rules to a much smaller set, you'll need a lot of port forward entries though, no way around that.

      1 Reply Last reply Reply Quote 0
      • T
        tedced
        last edited by Jan 24, 2011, 8:59 PM

        Thanks for the suggestion,
        The firewall's not as big an issue, I just created a pass rule on that port for the whole LAN subnet.

        It's really the port forwarding entries that are a PITA

        1 Reply Last reply Reply Quote 0
        • G
          GruensFroeschli
          last edited by Jan 24, 2011, 11:06 PM

          You could download the config.xml, look for the NAT part and copy/paste as many entries as you need.

          We do what we must, because we can.

          Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

          1 Reply Last reply Reply Quote 0
          1 out of 4
          • First post
            1/4
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
            This community forum collects and processes your personal information.
            consent.not_received