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

    Redirecting a LAN IP to Another LAN IP

    Scheduled Pinned Locked Moved NAT
    2 Posts 2 Posters 1.4k 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.
    • S
      subairsbr2000
      last edited by

      Hi,

      Thanks for the people behind pfSense. I am using it since 2 years.

      I have a question. Can I redirect internal LAN IP to another Internal LAN IP? I want redirect a blocked LAN IP and all PORT to a web server for displaying a warning page. Could you please help me which place do I have to go to configure,  like Port forwarding or firewall rules. I have tried it but no success. I am using pfSense 2.1.3

      Let say :

      From
      LAN - IP: 192.168.1.40
      **PORT:**Any
      TO
      LAN - IP: 192.168.1.50
      **PORT:**80

      Thanks
      Sabir

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

        Here is the thing, say 192.168.1.10 wants to go to 192.168.1.40

        Why would it go to pfsense IP?  192.168.1.?

        The only time pfsense is talked to is when your trying to leave your own network segment.  If your network segment is 192.168.1.0/24 – talking to any IP address on 192.168.1.1-254 would not talk to pfsense.  So your redirect doesn't work.

        Now if pfsense IP address is 192.168.1.40 - then sure you could redirect traffic to some other IP..  Or if the IP address is something other than pfsense address and on a different network segment, say internet, etc.  And traffic would go to pfsense then sure you can redirect it to where you want.  You could redirect say all dns queries this way, or you could say redirect http to your webserver that says hey you can not serf the web from here, 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.7.2, 24.11

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