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

    Simple nat help

    Scheduled Pinned Locked Moved NAT
    7 Posts 3 Posters 3.6k 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.
    • W
      wifipn
      last edited by

      heres the setup that i have:

      WAN -
      IP Address: 172.31.100.209
      Gateway: 172.31.100.204

      Orcon1 -
      IP Address: 172.31.100.210
      Gateway: 172.31.100.201

      Orcon2 -
      IP Address: 172.31.100.211
      Gateway: 172.31.100.202

      Orcon3 -
      IP Address: 172.31.100.212
      Gateway: 172.31.100.203

      The orcon's are simply OPT interfaces. Now I need to know what entries to put in NAT and firewall to make them connect to the Internet! I have no idea so if somebody could walk me through it I would appreciate it! I also need them to be loadbalancing so that every connection goes through a different gateway - and to give you a challenge I also need all POP3/SMTP connections to go through the WAN interface only and not any of the other connections…  :P

      If someone could give me clear instructions on what to add to NAT and firewall and rules etc etc that would be fantastico!  ;D

      1 Reply Last reply Reply Quote 0
      • W
        wifipn
        last edited by

        If it helps, my LAN IP is set at

        172.31.100.100
        255.255.0.0

        with DHCP allocation

        172.31.100.1 ~ 172.31.100.99

        1 Reply Last reply Reply Quote 0
        • H
          hoba
          last edited by

          I don't understand that network. It looks like all IPs are in the same subnet?

          1 Reply Last reply Reply Quote 0
          • W
            wifipn
            last edited by

            Yes I just figured that, heres the modification:

            WAN:
            IP Address: 40.40.40.1
            Gateway: 40.40.40.40
            Subnet Mask: 255.0.0.0

            Orcon1:
            IP Address: 10.10.10.1
            Gateway: 10.10.10.10
            Subnet Mask: 255.0.0.0

            Orcon2:
            IP Address: 20.20.20.1
            Gateway: 20.20.20.20
            Subnet Mask: 255.0.0.0

            Orcon3:
            IP Address: 30.30.30.1
            Gateway: 30.30.30.30
            Subnet Mask: 255.0.0.0

            LAN:
            IP Address: 172.31.100.100
            Subnet Mask: 255.255.0.0

            DHCP:
            172.31.100.1 ~ 172.31.100.99

            Hope thats better!  ;D
            Now can you assist me in putting in all the NAT/Firewall rules as above?

            1 Reply Last reply Reply Quote 0
            • W
              wifipn
              last edited by

              help help help! need some help!

              1 Reply Last reply Reply Quote 0
              • W
                wifipn
                last edited by

                If you need any more clarification:

                I need to setup NAT and firewall rules to allow Internet access from the LAN interface.
                My gateways are WAN and OPT1,2,3 (Orcon1,2,3).
                I need a loadbalancer for the gateways (consider this when helping me with NAT rules).
                I need all port 25 and 110 connections to be directed through WAN interface only.

                1 Reply Last reply Reply Quote 0
                • S
                  sullrich
                  last edited by

                  Your question has already been answered.  Search the archives.

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post
                  Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.