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

    External ips and internal ips

    Scheduled Pinned Locked Moved General pfSense Questions
    8 Posts 2 Posters 2.1k 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
      TestUser007
      last edited by

      HI, im using pf sense for some time now and it works GREAT!
      Till now i had 1 static IP…
      Now i got 2 additional static IPS...and now the things get interesting :)
      I have set virtual IPS and changed outbound rules.....
      my local server have local IP addres...
      Ping/wget workgs ok....
      When i wget some page that resolves my IP i see my external IP is (one of the two new IPS)
      BUT
      I want to install DirectAdmin and have some problems...
      Seems like my external IP is still the 1 old one....
      Can anyone help me?

      1 Reply Last reply Reply Quote 0
      • M
        Metu69salemi
        last edited by

        make us picture where you show your topology with internal addresses, don't show full public ip's
        some screenshots from rules will help also

        1 Reply Last reply Reply Quote 0
        • T
          TestUser007
          last edited by

          Have attached the diagram… it simple :)
          OK...
          the external IP i have for some time...
          Server A is working for a good year now... PERFECT!!
          NOW i have additional 2 external IPs and i want to setup a webserver, becouse i want to have my websites on it
          What i want to do?
          on Server B i want to install directadmin (cpanel) for hosting....
          The thing is i don't know how to make the configuration to work :)
          i have:

          • setup virtual ips
          • set NAT rulles
          • set port forwarding rulles

          diagram.gif
          diagram.gif_thumb
          virtual_ip.gif
          virtual_ip.gif_thumb
          firewall_rulles.gif
          firewall_rulles.gif_thumb
          port_forwarding.gif
          port_forwarding.gif_thumb

          1 Reply Last reply Reply Quote 0
          • M
            Metu69salemi
            last edited by

            I prefer carp or virtual ip's

            but your picture also showed, that you have dmz on new server. do you want to have dmz or is that intended ip to use from wan side?

            1. Create virtual ip's
            2. Create manual outbound nat rules
            • from your new server ip to anywhere with intended outside ip-address
            • do this same with any ip you want
            • last rule is the default any, so this is the ip what any else clients is using
            1. Create portforwards
            2. Test from outside network if you're able to do it
            1 Reply Last reply Reply Quote 0
            • T
              TestUser007
              last edited by

              @Metu69salemi:

              I prefer carp or virtual ip's
              but your picture also showed, that you have dmz on new server. do you want to have dmz or is that intended ip to use from wan side?

              1. Create virtual ip's
              2. Create manual outbound nat rules
              • from your new server ip to anywhere with intended outside ip-address
              • do this same with any ip you want
              • last rule is the default any, so this is the ip what any else clients is using
              1. Create portforwards
              2. Test from outside network if you're able to do it

              hmmmm no i don't want dmz….
              have upgradet PfSense to newer version...
              now this is my setup
              but... it's still not working like i want it to  ::)

              nat_port_forwarding.gif
              nat_port_forwarding.gif_thumb
              nat_outbound.gif_thumb
              nat_outbound.gif

              1 Reply Last reply Reply Quote 0
              • M
                Metu69salemi
                last edited by

                @TestUser007:

                but… it's still not working like i want it to  ::)

                In what parts?

                1 Reply Last reply Reply Quote 0
                • T
                  TestUser007
                  last edited by

                  @Metu69salemi:

                  @TestUser007:

                  but… it's still not working like i want it to  ::)

                  In what parts?

                  It's all good… my lack of knowledge..... thanx for help!
                  Working superb!

                  1 Reply Last reply Reply Quote 0
                  • M
                    Metu69salemi
                    last edited by

                    Then you can edit first posts subject with [SOLVED]

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