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

    NAt to server

    Scheduled Pinned Locked Moved NAT
    5 Posts 3 Posters 4.5k 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.
    • B
      boss_001
      last edited by

      Hi.
      I have som problems gettint a 1:1 nat to work.
      I´m sure i´m dooing something wrong and not sure to use 1:1 or some else?

      My setup: with madeup IPaddresses.

      Wan 130.10.20.1
      Lan 10.10.12.1

      Want to binde an aditional IP for my mail server ie 130.10.20.5 this IP is ONLY for my mail server, how do i do this?

      Cheers Henrik

      1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator
        last edited by

        Well you would add a vip to your wan of that .5 address and then why do you want 1:1??  Why would you not just port forward the specific ports you need.  Like mail server would be 25 for smtp, do users use imap or pop etc to access their mails on this server.

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.8, 24.11

        1 Reply Last reply Reply Quote 0
        • B
          boss_001
          last edited by

          Hi.

          I´m sure that is my lack of expirence that made me tink 1:1 Nat.
          Vip would probaly work too.

          I need to hae my mail ser at a dedicated IP thus i have a fiew mail servers and other i like to make them work on ther own IP addresses.

          Wan 130.10.20.1 – Web, RDP, VPN and so on.
          Mail gate1 130.10.20.2
          Mail gate2 130.10.20.3
          Exchange 130.10.20.4

          1 Reply Last reply Reply Quote 0
          • B
            boss_001
            last edited by

            If i want to use vip, what type do i use and how do i make roules in the firewall and/or outgooing NAT?

            Type  ?
            IP Alias, CARP, Proxy ARP or Other?

            1 Reply Last reply Reply Quote 0
            • C
              cmb
              last edited by

              @boss_001:

              If i want to use vip, what type do i use and how do i make roules in the firewall and/or outgooing NAT?

              Type  ?
              IP Alias, CARP, Proxy ARP or Other?

              Depends on your situation. Usually IP alias.
              https://doc.pfsense.org/index.php/What_are_Virtual_IP_Addresses

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