• How to CARP WAN-subnet (/29)?

    Locked
    6
    0 Votes
    6 Posts
    3k Views
    P
    Is this the right way to do it? /- 192.168.202.11 xx.xxx.xxx.178 = 192.168.202.10 (VIP7)                                                       - 192.168.202.12 /- 192.168.203.11 xx.xxx.xxx.179 = 192.168.203.10 (VIP8)                                                       - 192.168.203.12 /- 192.168.204.11 xx.xxx.xxx.180 = 192.168.204.10 (VIP9)                                                       - 192.168.204.12 /- 192.168.205.11 xx.xxx.xxx.181 = 192.168.205.10 (VIP10)                                                       - 192.168.205.12 (where .11 is for fw1 and .12 for fw2)
  • LAN VIPs - multiple subnets

    Locked
    4
    0 Votes
    4 Posts
    3k Views
    jimpJ
    Having two subnets on the same switch offers you -zero- security gain. There is nothing stopping anyone from simply coding in an IP on the other subnet and using it to talk to those machines. Security by obscurity is not effective against anyone who really wants to get in. You also cannot run DHCP on multiple subnets on the same interface/broadcast domain. You really need to separate them physically or by VLANs if you want to achieve any of this effectively. That said - in 2.0 you can add an IP Alias VIP on the LAN to act as the "gateway" of the second subnet, and then hardcode people into that subnet using that as their gateway/dns. Adjust your firewall rules to let the traffic through, and make sure they're covered by your outbound NAT rules, and it should work. It's possible, yes, but not recommended, especially not for security.
  • Second subnet on same OPT interface

    Locked
    3
    0 Votes
    3 Posts
    4k Views
    jimpJ
    If your ISP is routing that additional subnet to your OPT1 CARP VIP, then you need only add them as "other" type VIPs, not CARP VIPs. Then they can be used for NAT. If it's delivered directly, where the ISP gear expects you to have "real" IPs there, you'll need to upgrade to 2.0. Then you can make an IP alias VIP on each firewall in the new subnet, and then you can add CARP IPs for that subnet.
  • 0 Votes
    3 Posts
    3k Views
    jimpJ
    You will need at least a /29 on WAN, each machine needs an IP in that subnet, plus the CARP IP. There isn't enough room in a /30. How it normally works is that you have the IPs as above, and your ISP routes your /24 to the CARP IP on your WAN. I'm not sure how much help that other thread might be in your case since I'm not sure how many, if any, modems like that could handle static routes. The modem would have to terminate the /30, you'd need a privately numbered subnet on the inside of the modem, and the modem would have to forward that /24 back to the CARP VIP in what is now your firweall's WAN subnet.
  • RC1, Failover, and Loadbalancer

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    marcellocM
    check if you have a carp on dmz and if the server's gateway on dmz are set for this carp.
  • Virtual IPs explained in terms of eth aliasing (for a Linux visitor)

    Locked
    2
    0 Votes
    2 Posts
    3k Views
    marcellocM
    First of all: Do not forget to backup config on both boxes before and after config changes. Answers: 1)2)3)If you have two boxes, use only carps for fail-over. Configure a full redundant firewall configuration. all ips on each interface(vlan or real) must be on same subnet too. The vhid must be unique for each virtual ip and it is used to check health between boxes on each interface(vlan or real) with carp enabled. If it is a layer2 switch, you will not be able to route between vlans. you will need a layer3 switch. Create vlans as much as you need at pfsense, vmware and switch. create carps on each interface for fail-over between firewalls. Set these virtual ips as gateways on each vlan/virtual machine. Considerations: Do not forget to configure a sync interface between boxes. After all carp settings done, use firewall rules do block/permit what you need(ping, www, ssh,etc). Read this if you want to setup a first level DOS prevention on your network. http://forum.pfsense.org/index.php?topic=38273.0
  • Multiple Subnets on Same port…

    Locked
    7
    0 Votes
    7 Posts
    4k Views
    marcellocM
    If you have carps, the best way(in my opinion) is to separate these gateways on pfsense. If you can't enable another interface on pfsense, create some vlans on your switch and configure it on pfsense. If both of your links are internet links, this will be very hard to set two 'default' gateways on same interface. att, Marcello Coutinho
  • PfSense redundancy with 4 public IP:s

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    marcellocM
    If you have only one ip on each subnet, you can do it combining forces with you router(s). ;D see (http://forum.pfsense.org/index.php/topic,35281.msg200865.html#msg200865) for a detailed explanation of how to do this. after nat on router, at pfsense: You can't have two subnets on same interface, you need to create a interface for each subnet. the minimun amount of ips for it will be 4 on the same subnet. 1 for the router 1 for pfsense1 1 for pfsense2 1 to be published as a carp ip between two pfsenses. (this can be as much as you need 1, 2,…10 ips) If you plan to have each pfsense pluged into different switches, you will must have a dedicated interface between both for sync. My suggestion is to plug all interfaces of each firewall in only one swtich(using vlans), this prevents some carp mistakes between master and slave when not all interfaces are offline. FIREWALL1 <-> SWITCH 1 FIREWALL2 <-> SWITCH 2 FIREWALL1 <-CROSSOVER-> FIREWALL2 If you have two gigabit interfaces on each firewall you can do everything. one for sync and other with a lot of vlans. att, Marcello Coutinho
  • Single IP + Failover + 2.0 RC1 ?

    Locked
    5
    0 Votes
    5 Posts
    3k Views
    F
    i anxiously followed that carpdev porting idea a while back. I used to have multiple IPs from my provider and a sweet pfsense failover setup, but not anymore. What I've done as a poor mans substitute is to configure my DSL modem(ancient westell 6100) nat feature to "static nat" traffic to a single 192.168.x.y ip. I then use that ip as the carp/vip IP and then assign 192.168.x.y+1 and 192.168.y+2 to the wan ports on the A and B pfsense machine respectively.  the westell still seems to allow other 192.168.x.z ips to talk and not hit the static nat rule, which allows both pfsense boxes to talk to the internet doing normal NAT, and anything unknown coming in, it sends to the CARP ip. with the carp ip active on a machine it should be used as the src ip, so that traffic will come back to the same machine or in the event of a failover, the other pfsense box will take over  the carp ip and get the traffic. i was worried that the mac/ip changing at failover would confuse the modem but it seems to handle it in my testing. in the end it has worked out fairly well for my purposes although i dont do any of the problematic type applications like video conferenceing, voip etc and i have no incoming services other than openvpn tunnels. the openvpn tunnels are just setup on the dsl modem as specific nat rules that map different UDP ports to each firewall. the openvpn client has two remote ip entries, oen with each port and it will rotate through them if one goes down… but that means it goes down and reconnects. but i'm just doing simple road-warrior type vpn tunnels so it's not a problem. anyway, i've been happy with it.
  • VIP type for FiOS 5 external static block?

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    M
    as you mentioned that your block is in same subnet you may use carp version of vip and that allows you to use those vip's in firewall
  • Alias IP for loopback lo0

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    jimpJ
    There probably isn't a good way to do that in the GUI for lo0. You could install the shellcmd package and then add a shellcmd in there, those get run at bootup and it may do what you need. In the shellcmd just add the ifconfig command you would normally run by hand.
  • Carp deleting sync problem

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Multiple Public IP

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    jimpJ
    [FYI- don't address a forum post to anyone specific - let everyone in on the fun] If you have one of those IPs as your WAN, and their device as the gateway, then you can use either CARP or Proxy ARP (or on 2.0, IP Alias) VIPs. They would all work to use the additional IPs.
  • Make a LAN machine appear on the DMZ with VIP?

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    I
    Thanks for the reply! I have been testing this out for some time now and it will not work for me. Have found out that the the packets sent to and from the server to IP 239.255.255.250 are SSDP protocol over UDP. Those are non routeble protocol. I got the IGMP broadcast through with the proxy as you said but I could not get the SSDP through. I think the only solution to this is to connect a second NIC on the Mediaserver and connect it to DMZ. /illern.
  • Only the master is reachable via PPTP, never the backup

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    P
    The testing continued today and finally I got so desperate that I decided to take my very simple Sitecom 5 port switch and connected both LAN interfaces of the firewalls to that. To my total surprise: it worked! So there has got to be something in the configuration of my DLINK DGS-3024 switches. This topic can be closed with a wise lesson for everyone: never underestimate the power of your switches, they can *** up everything…
  • Pfsync via serial interface?

    Locked
    5
    0 Votes
    5 Posts
    3k Views
    J
    Wow.  Thanks!  Ok, I am happy!  Thank you for your information!
  • exchange Identity Protection not allowed in any applicable rmconf

    Locked
    3
    0 Votes
    3 Posts
    44k Views
    T
    YAAA you fixed me!  Thanks a bunch!
  • Resolving DNS names on CARP Backup

    Locked
    11
    0 Votes
    11 Posts
    6k Views
    T
    Guess I celebrated too fast. It worked yesterday, but after coming back to work today it doesn't work anymore. Will do some more testing later on. EDIT: I updated both machines to 2.0RC3. After the subsequent reboot it's working again, even after coming back to work the next morning. Let's see how it goes.
  • Public IP's / Carp or Other

    Locked
    5
    0 Votes
    5 Posts
    3k Views
    T
    I have 2.0 installed here at home but just for a little while longer I am going to wait to install 2.0 in a production environment. Thanks for all your advice I'll read about Proxy ARP I could of swore I remembered reading something about trouble with FTP.
  • Windows shared folder issue

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    M
    have you tried to add computername\username format or just username?
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.