• Share between the lan and WAN

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    P
    I have done this on odd occasions where the WAN side has an "ADSL modem & WiFi AP device" and the small site had no other WiFi AP. They wanted to be able to connect laptops to the WAN-side WiFi and still see resources on the LAN as well as get out to the internet. I think these were roughly the steps: a) Add a firewall rule on WAN to pass traffic from 192.168.2.0/24 b) Turn off any DHCP on the real internet modem/router that is between the WAN and real internet. c) Give DHCP on the pfSense WAN, so it gives clients on the WAN side an IP address with gateway and DNS of the pfSense WAN IP. (e.g. pfSense WAN IP = 192.168.2.1) d) Add a NAT rule to NAT from 192.168.2.0/24 to the pfSense WAN IP 192.168.2.1 - this will NAT your WAN-side clients when they browse the real internet, so replies will come back through pfSense, which can keep track of the states. e) Put something reasonable in the DNS forwarder - e.g. a domain override that refers requests for internal names (like *.internal.mycompany.com) to a DNS server on the DC on the LAN side that can resolve the names. pfSense will happily route between the LAN and WAN subnets in both directions. You can't browse the LAN, but you can use the names of LAN servers to reach them.
  • IPSec forwarding from one subnet to another

    Locked
    4
    0 Votes
    4 Posts
    2k Views
    C
    Very stable
  • Port forwarding to the multiple addresses on same port

    Locked
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Port Forwarding - Step-by-Step - Demystified - pfSense 2 [SOLVED]

    Locked
    12
    0 Votes
    12 Posts
    222k Views
    C
    Hello, I know this is marked as closed, but Im having trouble forwarding a port. Port 8081 to be exact. Here is my setup: I am running VirtualBox with two guests. Guest one is pfsense with two nics (WAN and LAN). Guest two is Windows 2008. pfsense WAN gets an IP from my HOST network, and pfsense LAN is set to a different network. WAN = 192.168.1.35 LAN = 192.168.2.4 The other Guest has an IP of 192.168.2.1 with a gateway of the pfsense LAN(192.168.2.4) This allows my windows 2008 internet access from VirtualBox internal network. I have apache installed on windows 2008 running on port 8081. If I change Windows2008 Nic type to Bridged Mode allowing it to be on the same network as my Host, I am able to connect to the apache server, so i know its running and works. With windows 2008 Back on VirtualBoxes internal network, I am trying to get port 8081 to be forwarded through but cannot. Attached is a picture of my settings. Its not working, can someone help me with what I am doing wrong? EDIT: I must have messed something up else where in the settings while playing with this. I reset to factory defaults, disabled the "Block Private networks" and its connecting just fine now. ![Port Forward.jpg](/public/imported_attachments/1/Port Forward.jpg) ![Port Forward.jpg_thumb](/public/imported_attachments/1/Port Forward.jpg_thumb)
  • UDP NAT Problem : Random NAT bug ?

    Locked
    14
    0 Votes
    14 Posts
    6k Views
    I
    I've just checked the file content, i'm sorry, but /tmp/rules.debug contains way to much private data, i'm sure you will understand that i can't send it to someone without some serious NDA. In order to let you investigate properly, i will try to reproduce my problem in a lab, i'll come to this topic as soon as possible. Sorry for the delay.
  • Problem with SIP softphone behind router

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    I
    This might be something manual outbound nat can solve. Have your tried using this?
  • Retain ports for VOIP

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    I
    Might it be the case that you are doing double nat with the router (192.168.1.1) in front of your pfsense? If so, you need to disable NAT on your router or even better, use pfsense as your router instead.
  • WAN Public /24 LAN Public /24 LAN NATed private /16 172.16.xxx.xxx ?

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    P
    Thanks for the solutions!
  • Cannot access inside global address.

    Locked
    5
    0 Votes
    5 Posts
    1k Views
    J
    I appear to already have this set. http://imgur.com/6YkdwFJ
  • NAT with large number of subnets/IPs?

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Forward Port to different Internal IP's based on Source IP

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    C
    Yes, that's the purpose of source in port forwards.
  • NAT Reflection + Inbound Load Balancing

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    jimpJ
    For that you need extra NAT. The problem is that if your clients and servers are on the same subnet, the servers will respond directly back to the client, bypassing the load balancing, it doesn't really have much of anything to do with NAT reflection. What you need to do is go to Firewall > NAT and switch to manual outbound NAT. Then add a rule to translate on the LAN interface with a source of your LAN subnet and a destination of your LB pool servers, so it will alter the traffic so it looks like it comes from the source address of the firewall.
  • Redirect traffic from internal ip to external ip directly to server

    Locked
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Outbound Port Forwading

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • NAT66

    Locked
    7
    0 Votes
    7 Posts
    3k Views
    I
    //And completely miss the point of IPv6. Just route it. If you need multiple internal subnets, give up doing local SLAAC and use subnets smaller than a /64 and use NPt to map them to segments of your routed /64. Or find a non-stingy ISP that will give you a few prefixes (a /60, /56, or /48 are also common).// Well, I don't think it's a option to drop SLAAC by going smaller subnet sizes. Static addresses are no option in roaming environments and most devices don't even support DHCPv6 :-( I'll probably change my ISP and live with the lower bandwidth (my current ISP is switching to DS lite and dropping native IPv4 as well). What speaks for NAT66 is that you could at least run one subnet via NAT66. e.g. : ISP hands out an IP6 Adress to the WAN interface and delegates a /64 via prefix delegation. I could use the /64 for one subnet and the IPv6 WAN adress via NAT66 for another subnet with ULAs. So only one subnet would have to live with NAT… Complicated stuff. But I'm glad pfSense supports IP6 so well at this moment. I've looked at other "ready to use router distributions" and a lot don't even support iPv6 in any way...
  • NAT with TWO WAN interfaces [SOLVED]

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    C
    Problem solved: OPT1 was missing gateway declaration in OPT1 Interface settings. Once I defined the next hop router (towards cloud) as the gateway, NAT worked. doh. ;D
  • Mail server outbound traffic

    Locked
    3
    0 Votes
    3 Posts
    1k Views
    C
    Thank you. No, I don't need to use a VIP (I have one static IP per WAN). I need the mail server to use the specific WAN to send mail outside and if this line is down, it will not send. So I need a LAN to WAN rule. Best regards Kostas
  • Pfsense blocking some clients

    Locked
    1
    0 Votes
    1 Posts
    878 Views
    No one has replied
  • Https svn access via dyn from LAN

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    S
    disabling "Disable NAT Reflection for port forwards" fixed the issue Is there any downside to this?
  • Cannot ping webserver from inside PFsense network

    Locked
    5
    0 Votes
    5 Posts
    2k Views
    A
    Okay…. Seeing something different here. My trouble IP 187 gives me this readout $ route -n get xxx.187   route to: xxx.187 destination: xxx.184       mask: 255.255.255.252   interface: em1       flags: <up,done>recvpipe  sendpipe  ssthresh  rtt,msec    mtu        weight    expire       0        0        0        0      1500        1        0 when the good one that is routing correctly does this... $ route -n get xxx.188   route to: xxx.188 destination: default       mask: default     gateway: xxx.185   interface: em1       flags: <up,gateway,done,static>recvpipe  sendpipe  ssthresh  rtt,msec    mtu        weight    expire       0        0        0        0      1500        1        0 Thank you for all your help</up,gateway,done,static></up,done>
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.