• 0 Votes
    11 Posts
    24k Views
    S

    Well,

    Turns out that what I wanted to do according to the network diagram posted above, did not quite work the way I expected.  Technically this is a Multi-WAN setup but with 1 cable modem/router, since I am using 2 public IP's, both in the same network/broadcast domain and thusly both sharing the same gateway.

    I was lucky enough to find out that the way my Comcast cable modem/router is configured allows me to use private or public addresses without having to change anything major.

    So, first I connected both the WAN and WAN2 ports directly to my cable modem/router's built in switch.  Then I setup pfSense with the WAN port having a public IP statically set on the interface, e.g. 98.x.x.1, and then I set up WAN2 with a DHCP address, which in turn gave the interface a 10.x.x.1 address off the modem/router's DHCP server.

    After that, I made sure to set up the correct DNS servers for both WAN and WAN2.  Then I configured LAN with 192.168.1.1/24 and DMZ with 192.168.2.1 and I made sure to add rules on the firewall to allow the correct traffic protocols between LAN and DMZ.

    Now, since I wanted to have LAN go out on WAN2, I set up the default gateway for outgoing connections for LAN to be 10.x.x.1, which is WAN2's address.
    Also, I wanted traffic from DMZ to go out on WAN, so I set up the default gateway for outgoing connections for DMZ to be 98.x.x.1, which is WAN's address.

    To reiterate, the setup is:

    WAN IP: 98.x.x.1
    WAN2 IP: 10.x.x.1
    LAN IP: 192.168.1.1
    DMZ IP: 192.168.2.1

    Default gateway for LAN is 10.x.x.1
    Default gateway for DMZ is 98.x.x.1

    Hope this makes sense and thanks everyone for your help!

    Luis

  • Blocking ports for IPs

    Locked
    4
    0 Votes
    4 Posts
    2k Views
    D

    go to firewall => nat => outbound.  click the radio button to select AON.  after you hit save, an auto-generated allow/any rule will appear for LAN => outside will appear.  go from there.

  • IP dependent NAT forwarding

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    D

    pf does support this, afaik, but i don't think the gui currently gives you the ability to check based on the source IP.

  • Server failover setup

    Locked
    7
    0 Votes
    7 Posts
    3k Views
    B

    Kage, it actually is a little confusing in that failover only applies to outbound load balancing (multi-WAN). While it is true that inbound load balancing is round-robin only, you can "fake" a failover when you're only using two servers. Simply add the primary server only to the pool, and then when you create the "server" put the secondary server into the "Pool down server" field.

  • Nat rule based on url request?

    Locked
    5
    0 Votes
    5 Posts
    5k Views
    R

    i noticed that Pound (http://www.apsis.ch/pound/index_html) can apparently handle this task for me, do you know if there is a module for pfsense?

  • Port Forwarding / Nat Redirection (LAN to WAN to LAN)

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    C

    I had this problem, you can see my solution here: http://forum.pfsense.org/index.php/topic,19957.0.html (close to the bottom)

  • 1:1 NAT not working, disables outbound access

    Locked
    3
    0 Votes
    3 Posts
    3k Views
    Y

    Solved
    Now that I know what to search for: http://forum.pfsense.org/index.php?topic=13825.0

  • Portforward Issues

    Locked
    4
    0 Votes
    4 Posts
    2k Views
    GruensFroeschliG

    He fixed it with this:
    http://doc.pfsense.org/index.php/Static_Port

  • NAT 1:1 with multi WAN subnets

    Locked
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • NAT not Translating to webserver?

    Locked
    7
    0 Votes
    7 Posts
    3k Views
    X

    windows server 08

  • SIP Coned NAT - Assistance

    Locked
    8
    0 Votes
    8 Posts
    3k Views
    GruensFroeschliG

    How exactly do the frames coming from the pfSense differ in comparison to the frames sent when connected directly to the modem?

  • Problem with portforward on 1.2.3-release?

    Locked
    4
    0 Votes
    4 Posts
    2k Views
    F

    I've tried both against the QNAP NAS, and a SLES 10 Linux. No change.
    I've also tried towards a HTTP server running some survaillance on a QNAP VS-101.
    Same results.
    This is an upgrade of an upgrade. I'm wondering if I should try a fresh start.
    My only worry is that I've had some problems in moving part of config's over (I would hate to reenter all the staticly defined DHCP leases, etc.).

    And I also have a 'lot' of nat's previously defined, that works fine. But if I create a new one, then noooo.

  • Outbound NAT using Interface IP instead of VIP

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Static Port Oubound NAT not working [it's working]

    Locked
    4
    0 Votes
    4 Posts
    3k Views
    M

    Looks like you're right. Sorry about the confusion!

    I had assumed it wasn't working because the desired behavior (allowing some gaming consoles behind the pfsense box to nat properly) wasn't working. It turned out to be a problem with allowing multicast traffic on the subnet for UPnP.

    Thanks for your help.

  • MOVED: pfsense squid not redirecting 80 to 3128 in transperant mode

    Locked
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Port forward from necessary sources

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    E

    @GruensFroeschli:

    This is not possible.

    Is it going to be fixed in 2.0?

  • FTP-Helper working?

    Locked
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Forwarding RTP ports 20000-20011 not working

    Locked
    5
    0 Votes
    5 Posts
    5k Views
    R

    sounds like static ports will resolve this. the problem was that the ports were getting re-written, 1:1 nat resolved this.

    if static ports didn't require enabling advance outbound nat, I'd do it. it's too bad I can't have both automatic nat and advanced nat at the same time.

    UPDATE:

    I've removed the 1:1 nat and setup static port. RTP works perfectly. the problem of course was that the port number was being changed in the nat process and my VoIP provider didn't like this.

    advanced outbound nat is incredibly simple. If I new how easy it was to setup, I would have done this on day 1.

  • MOVED: PfSense transparent proxy bridge + trafficshaper possible?

    Locked
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Nat + Wan failover causing problems on wan fail

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    F

    hmm, strange, since the wan link is physically always up, its either the ppp session that dies, or an upstream router, so that there is no more dataconnectivity, but physical link stays up.

    Offcourse, if bsd looks at the PPOE session, than that could be the cause.

    Anyway, i can live with it untill 2.0 comes out.

Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.