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

    NAT with VLAN

    Scheduled Pinned Locked Moved NAT
    4 Posts 2 Posters 807 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.
    • A
      aymanoz
      last edited by

      just I have one HTTP server and I need to publish this server with port 80

      I need 77.88.99.235 to be maped for the server 10.10.10.10 on port 80

      I tryed all these topics

      • https://forum.pfsense.org/index.php?topic=6630.0

      • https://doc.pfsense.org/index.php/Port_Forward_Troubleshooting

      • Youtube Video

      • Youtube Video

      bothe server and LAN they have internt access without problems , but NAT is not working.
      please what I can do?

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

        If you went over the troubleshooting doc then you would know what your problem is..

        Sniff as you send traffic - its in the doc.  Does pfsense see the inbound traffic on its wan?  Does it send it on?

        Common problem is firewall on host your trying to forward to, or it using a different gateway then pfsense - if traffic doesn't get back to pfsense never going to work.  Other common problem is traffic never even gets to pfsense to forward.

        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
        • A
          aymanoz
          last edited by

          Thank you johnpoz
          I just add on siwtch

          ip route 0.0.0.0 0.0.0.0 172.20.2.20

          Thnk you

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

            How is it that your downstream clients would have internet via pfsense if your downstream switch didn't have default route pointing to pfsense?

            Lets say client sent ping to 8.8.8.8 to its gateway on the switch at say 10.50.50.1, if switch didn't have default route how would of it sent that traffic to pfsense for those clients to have internet?  So when you say your client and server had internet - how was that working without switch having route?  Where they set to use a proxy on pfsense at 172.20.2.20?  So the switch knew how to get there?

            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
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.