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

    Simple address forwarding

    Scheduled Pinned Locked Moved NAT
    21 Posts 2 Posters 1.7k 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
      WiringHarness
      last edited by johnpoz

      whiteboard photo

      Thanks for your responses so far

      Mod edit:
      Attached photo so easier to see
      0_1551472010822_image.jpg

      W 1 Reply Last reply Reply Quote 0
      • W
        WiringHarness @WiringHarness
        last edited by

        the OneDrive link crops the photo a bit, but if you click on "view original" the whole image is visible.

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

          So which interface is what in pfsense... 134 is wan or lan? If the 192.168.0. 200 is normal network then pfsense has gateway on this pointing to your normal gateway which makes this pfsense WAN? And out of hte box pfsense will nat traffic from its lan to is wan.

          For wan to get to lan you would have to seutp port fowards, or you would need to turn off natting and then just firewall, etc.

          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

          W 1 Reply Last reply Reply Quote 0
          • W
            WiringHarness @johnpoz
            last edited by

            @johnpoz said in Simple address forwarding:

            So which interface is what in pfsense... 134 is wan or lan? If the 192.168.0. 200 is normal network then pfsense has gateway on this pointing to your normal gateway which makes this pfsense WAN? And out of hte box pfsense will nat traffic from its lan to is wan.

            For wan to get to lan you would have to seutp port fowards, or you would need to turn off natting and then just firewall, etc.

            I was calling 134 LAN so that I could use the web interface on that subnet but other than that I don't think I care. But I think most people would call it the WAN since it needs the kind of forwarding for which 99.9% of the rest of the world uses NAT. That's been part of the problem for me is mapping internal/external to my problem.

            I'm still parsing the rest of your sentence... thx.

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

              what did you set it in pfsense? We need to know which network is what in pfsense on your 2 interfaces.

              Also I attached your image to your post so its easier for the next guy.

              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
              • W
                WiringHarness
                last edited by

                @johnpoz what's the best way to share that?

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

                  also my first photo had a typo in the red ip address.
                  And the picture is slightly too big to upload so here is another link to the fixed version
                  https://1drv.ms/u/s!Aps0w-x8vFBjhS1M53ko07ebZFAj

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

                    Anyway the .134.200 is the LAN and .0.200 is the WAN. I can blow it all away and swap them if you think that would help.

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

                      You understand its childs play to save the image in such a way that is reasonable size ;) And not MB ;)

                      0_1551472640451_newpost.jpg

                      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
                      • johnpozJ
                        johnpoz LAYER 8 Global Moderator
                        last edited by johnpoz

                        So if 0.200 is WAN then for widget to get to 134 you would have to port forward.

                        But out of the box 134 could talk to 0 network. and to the 0 network it would look like it came from pfsense IP 0.200

                        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
                        • W
                          WiringHarness
                          last edited by

                          I think that means I should flip WAN and LAN because I want .0.25 to be able to get packets to a server at .134.x

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

                            Then yes flip them or port forward the ports you want widget to be able to send to 134.

                            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
                            • W
                              WiringHarness
                              last edited by

                              I flipped them but I am still stuck. Is there a config dump I can post?

                              W 1 Reply Last reply Reply Quote 0
                              • W
                                WiringHarness @WiringHarness
                                last edited by

                                Thing are looking more promising will check back with the board next week.

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

                                  Your going to run into all kinds of problems trying to route stuff when the stuff is on physical and doesn't use pfsense as its gateway.

                                  If pfsense is not going to be a gateway to the internet then these networks do not even need to be wan.. 1 could be pfsense lan, and the other could be opt network.

                                  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
                                  • W
                                    WiringHarness
                                    last edited by

                                    @johnpoz said in Simple address forwarding:

                                    Your going to run into all kinds of problems trying to route stuff when the stuff is on physical and doesn't use pfsense as its gateway.

                                    If pfsense is not going to be a gateway to the internet then these networks do not even need to be wan.. 1 could be pfsense lan, and the other could be opt network.

                                    But according to the docs, WAN is required so is it possible to run pfsense with only LAN and OPT interfaces?

                                    On a separate note, when I cloned the VM, the MAC addresses changed. Can I control the assignment of which mac address is bound to em0 and em1?

                                    update on last week, I didn't have any virtual IPs since I wrongly figured the pfsense could see them both and ping them, but then once I added virtual IPs my 1:1 NAT forwarding started working.

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