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

    Using Public IPs on LAN

    Scheduled Pinned Locked Moved NAT
    16 Posts 3 Posters 10.9k 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.
    • G
      Genjitsu
      last edited by

      The hosts on Lan can't reach internet after disabled nat. If nat is enable hosts can reach outside. I didn't check filter logs. I will check it for some rule problem but I added a rule on LAN tab of pfsense panel.  Source WAN protocol port etc any. target LAN pass,  source lan protocol port etc any target LAN pass.  And Added to WAN tab too Source wan protocol port etc any to LAN.

      1 Reply Last reply Reply Quote 0
      • D
        danswartz
        last edited by

        Did you clear the state table after making these changes?  Reboot is probably a good idea too.  It would be helpful to post the actual rules rather than describe them.

        1 Reply Last reply Reply Quote 0
        • G
          Genjitsu
          last edited by

          it is really interesting with this configuration. I can't ping 95.0.128.5 from pfsense shell. But i can ping pfsense lan interface 95.0.128.1 from  95.0.128.5's shell.  This may be my problem. But I don't know why.. I think I checked all rules. couldn't see anything …

          1 Reply Last reply Reply Quote 0
          • K
            kpa
            last edited by

            Does the cisco router know that 94.0.128.0/24 network should be routed to the WAN address of pfSense (94.0.88.210) ?

            1 Reply Last reply Reply Quote 0
            • D
              danswartz
              last edited by

              I assume so, or the traceroute would not have stopped at the WAN port.  also, as i said, you can post the actual rules?  not what you think you are doing…

              1 Reply Last reply Reply Quote 0
              • G
                Genjitsu
                last edited by

                I'm sure I have no problem at router side of the system. Because It works without pfsense.  Also pfsense work as well when NAT is ENABLE!. I have two rules on Each interface. First WAN interface rule:  Interface : WAN,  Source : Any,  Dest : Any, Proto : Any, Action : PASS.
                Second WAN interface rule :  Interface WAN,  Source WAN Address, Dest : LAN addresss, Proto : any , Action : PASS.

                First LAN interface rule :  is default  source LAN subnet  dest internet action PASS  <– this rule generated automatically.
                I added second one to the LAN interface :  interface LAN , source : any,  Dest : any, Proto : any, action : PASS.

                These are my rule settings.
                And AON selected on NAT TAB and all automatically generated NAT rules has removed. <-- FAQ on Pfsense docs page.
                All other settings are default.  The clients reach internet only When NAT Enable. they reach but with not thair public ips..
                when you disable the nat  the clients can't reach internret. Let me tell you something about tracerouting. When i try traceroute from WAN to LAN  the packets can reach only the wan port of firewall not more.  When i try traceroute from LAN to WAN the packets only reach WAN port of the firewall again.  and there are something interesting ..  I can ping LAN port of Pfsense from a inside server. But Pfsense can't ping same server from its lan interface. I can ping pfsense WAN port from lan server  but I can't ping Cisco router ..

                I also tried some other ways  .. I cleaned up the state table. tried some static route tried all possible rule combinations. are you sure that pfsense supports this task?  or What should i set more. thank you

                1 Reply Last reply Reply Quote 0
                • K
                  kpa
                  last edited by

                  The CISCO router is probably doing ARP queries for 94.0.128.0/24 network on it's own LAN interface, that's why it works without pfSense in the mix. You'll probably have to change the CISCO configuration to forward 94.0.128.0/24 to pfSense's WAN address.

                  1 Reply Last reply Reply Quote 0
                  • D
                    danswartz
                    last edited by

                    Hmm, I had assumed he was routing that /24 already.  Is that the case?

                    1 Reply Last reply Reply Quote 0
                    • G
                      Genjitsu
                      last edited by

                      Cisco router is only routing  default 0.0.0.0 to 212.156.88.1(WAN side IP of Cisco MetroEthernet)  do i need to add  source 94.0.128.0/24 to GW 94.0.88.210(WAN of pfsense.) to the cisco router?

                      1 Reply Last reply Reply Quote 0
                      • D
                        danswartz
                        last edited by

                        Yes, otherwise it has no idea where to send packets for the subnet.

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