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

Port forwarding not functioning

Scheduled Pinned Locked Moved NAT
2 Posts 2 Posters 1.5k 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.
  • K
    kennethdammyr
    last edited by Aug 1, 2011, 3:44 PM

    Hi

    I have two public IPs. Now I want my pfsense-router to have one and my webserver to have the other.

    I've set up the webserver with a virtual IP (IP alias) and mapped it with NAT 1:1. It seems to be working as my public IP on the webserver is correct. I've also created some rules in the firewall to allow for, amongst others, HTTP traffic. This too seems to be working.

    The only problem seems to be when I try to access the webserver using its public IP: I'm redirected to the router!

    To solve this I created a port forward like this:

    Interface: WAN
    Destination: "Public IP of webserver"
    Destination port: From HTTP to HTTP
    Redirect target IP: 192.168.100.6 "Local IP of webserver"
    Redirect target port: HTTP

    I don't think such a port forwarding is necessary and still it doesn't work; I keep hitting the router.

    Appreciate any help!

    1 Reply Last reply Reply Quote 0
    • M
      Metu69salemi
      last edited by Aug 1, 2011, 4:23 PM

      Only to http is needed, but in both source and destination.
      Are you trying to access from outside or inside network?
      can you view screenshots of your wan rules and port forwarding?

      1 Reply Last reply Reply Quote 0
      2 out of 2
      • First post
        2/2
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
        This community forum collects and processes your personal information.
        consent.not_received