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

    Web server behind pfsense 2 firewall

    Scheduled Pinned Locked Moved NAT
    23 Posts 7 Posters 33.6k 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.
    • L Offline
      lankanatha
      last edited by

      change it..but notworking.
      @chpalmer:

      @lankanatha:

      Hi,
      i want setup web server behind firewall.please tell step by step instruction for fresh installation of pfsense 2.
      thank you.

      i have pc with two NIC
      wan–---> real ip(xxx.xxx.xx.xx/27)
      LAN----->172.16.1.1/24

      Make your LAN 172.16.1.0/12

      1 Reply Last reply Reply Quote 0
      • N Offline
        nahid
        last edited by

        lankanatha,

        WANIF should be the IP address of your web server as you are going to port forward the web traffic to send them to ur local web server.

        Try to follow this steps:

        1. First create an alias (for example BlaWebSeverExternal) with the External IP address of your Web Address
        2. Create another alias with the Internal IP address (For example BlaWebSeverInternal) of your Web Address
        3. Then create a port forward that will forward the web traffic on HTTP port from BlaWebSeverExternal to BlaWebSeverInternal
        4. If it works for HTTP port (80) then add another rule in the same that will forward the traffic on 81 and 82 port as well.
        1 Reply Last reply Reply Quote 0
        • L Offline
          lankanatha
          last edited by

          i did it,but it doesnt work.:-(

          @nahid:

          lankanatha,

          WANIF should be the IP address of your web server as you are going to port forward the web traffic to send them to ur local web server.

          Try to follow this steps:

          1. First create an alias (for example BlaWebSeverExternal) with the External IP address of your Web Address
          2. Create another alias with the Internal IP address (For example BlaWebSeverInternal) of your Web Address
          3. Then create a port forward that will forward the web traffic on HTTP port from BlaWebSeverExternal to BlaWebSeverInternal
          4. If it works for HTTP port (80) then add another rule in the same that will forward the traffic on 81 and 82 port as well.
          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.