• Weird routing issue

    3
    0 Votes
    3 Posts
    1k Views
    P

    @johnpoz:

    "10.1.0.0/16"

    Really – why???  For what possible reason could you have to use a /16 on a lan segment??  That is a summary route type of mask, not a something you would put on actual network.

    Well AFAIK there is no performance impact or any other negative unless you actually put 65k devices (read: many devices) on such a subnet.  We have way more than 254 devices, so a class C subnet is not going to work.  I guess /20 would have been better, but it makes the IP address ranges harder to read and I wanted the new IT person to be able to quickly understand the network without having to figure out netmasks. Not an excuse, but since we only have about 700 or so devices I do not see an issue?

    @johnpoz:

    "LAN2 GW?"

    Why would lan2 have a gateway??  If it has a gateway its not a lan interface but a wan interface..  Do you mean you created a gateway in pfsense?  Or you actually put gateway on lan2 interface?

    Perhaps we have different reference points, hence our terminology does not align.  LAN2 GW referred to the point of view of a device attached to the LAN subnet.  It would see the LAN2 interface (IP) on the pfSense as its gateway for its subnet.  The LAN2 interface in pfSense does not have an upstream gateway as it is a LAN interface as you correctly mentioned.

    @johnpoz:

    If you do in fact have downstream router then pfsense should be connected to such a router with a transit network, or you run into asynchronous routing issue when devices from lan between pfsense and your downstream and devices in the downstream network talk to each other.

    I think this might be the issue.  Unfortunately I do not (yet) know the internals of what is behind LAN2 (Sonicwall firewall in my case, in your picture - the 192.168.1/24 network is unknown to me), I just know that LAN2 of my FW is attached to a Sonicwall firewall that has behind it some network 10.5.1.0/24.

    I fixed this by adding a static route - seems like the ping responses were a fluke and it did not work reliably as per your explanation.  A static route from 10.1.0.0/16 to 10.5.1.0/24 via LAN2 was the key.

    Thanks for your assistance.

  • 0 Votes
    3 Posts
    936 Views
    I

    Solving the connection problems would be the best solution, but this isn't possible at the moment as there are no alternatives for a more stable connection here.

    The side with the connection problems is the openvpn server side.
    I have now changed my openvpn configuration according to the "Multi-WAN OpenVPN" documentation.
    I should have found this document earlier.
    This setup allows the pfsense openvpn client boxes to connect to whatever connection is currently available and would not result in connection drop if the other connection comes back online again. This seems to work.

  • Routing from one Virtual IP to OpenVPN

    1
    0 Votes
    1 Posts
    638 Views
    No one has replied
  • Multi wan with squid not working

    1
    0 Votes
    1 Posts
    472 Views
    No one has replied
  • How to Merge 2 Networks using Routing Table

    2
    0 Votes
    2 Posts
    668 Views
    johnpozJ

    Where is your multiwan?

    Connect your comcast into 1 wan interface in pfsense, and your other wan into another pfsense interface.  Create whatever networks you want behind pfsense.

    https://doc.pfsense.org/index.php/Multi-WAN

  • Routing when pfSense is being used as a "bridge"

    4
    0 Votes
    4 Posts
    1k Views
    G

    I guess that 10.1.1.251 is not the default gateway for that network. I'm sure the pings are getting to the destination but are not getting back. If this is case, you need a static route on the default gateway of that network, routing 10.27.x.x through 10.1.1.251

    Anyway, don't you have a VLAN capable switch? Can't you move one PC at a time by switching them to a different VLAN? Having several layer3 domains within the same layer2 domain is never a good idea

  • Routing traffic from static public IP across a different WAN connection

    1
    0 Votes
    1 Posts
    533 Views
    No one has replied
  • PfSense - VLAN (Layer 2 or Layer 3 Switch)

    6
    0 Votes
    6 Posts
    4k Views
    D

    Sure thing! :)

    I've used R7000 in AP, but, recently i purchased/ordered UAP-AC-PRO.

    UAP-AC-PRO should support VLAN configuraiton.

  • How to set-up MultiWAN so one client traffic uses the 1 WAN?

    2
    0 Votes
    2 Posts
    785 Views
    X

    Define your gateways (under system > routing > gateways tab), create a permit rule on your LAN interface that matches your private IP address 10.0.0.2, under this rule in the advanced option, select gateway, choose your gateway you want the rule to use.

    Make sure that this rule you created is listed ABOVE the permit any rule at the bottom of the interface rules.  (this is essentially a policy route matching 10.0.0.2 route out WAN2)

    There are other quirks you gotta watch out for as well such as making sure you have a NAT rule in place for allowing 10.0.0.2 to be natted out the 2nd internet connection.  This is really a basic configuration you're asking for, it gets complex once you start placing VPN's and DMZ interfaces in the mix, but not so bad once you start to understand WHY it is the way it is.

  • UDP Proxy / Steam Link Routing

    2
    0 Votes
    2 Posts
    1k Views
    Z

    This is what a packet capture looks like

    15:11:02.074448 IP 10.3.3.3.27036 > 255.255.255.255.27036: UDP, length 52
    15:11:04.074080 IP 10.3.3.3.27036 > 255.255.255.255.27036: UDP, length 52
    15:11:09.073963 IP 10.3.3.3.27036 > 255.255.255.255.27036: UDP, length 52

  • 0 Votes
    7 Posts
    2k Views
    M

    Ah, perfect. I managed to follow tutorials on how to get Local Port Forwarding to work in Putty on Windows and it worked a treat.

    Thanks for the tip

  • PPoE gateway in different subnet

    2
    0 Votes
    2 Posts
    692 Views
    G

    After updating my draytek 130 to firmware 3.7.9 the issue was solved and PPoE pass-through was possible.

  • How to route a /30 subnet

    2
    0 Votes
    2 Posts
    898 Views
    DerelictD

    Generally, yes. You would assign the /30 to an inside interface which would chew up 3 of the 4 addresses in the /30 leaving one for the device. You would make sure outbound NAT rules do not match the traffic so no NAT is performed out WAN.

    pfSense understands /31 netmasks so you could do two /31 interfaces and be able to use two of the addresses. The hosts involved would need to be good with /31 addressing too.

    You could, perhaps, make one /31 interface and route the other /31 to the host on that interface. That way you might be able to use 3 publics on that server (think http virtual hosts, etc). I've never tried it.

  • VLAN Routing

    6
    0 Votes
    6 Posts
    2k Views
    jahonixJ

    You don't have two separated VLANs anymore if you extend the netmask to /22 and serve all hosts from there. That's one big broadcast domain.
    If you want or need to separate segments then your setup is wrong.

    BTW, subnetting has nothing to do with your router (pfSense or Smoothwall). They both just serve what you configured.

  • UDP Source Port rule doesn't match at first.

    1
    0 Votes
    1 Posts
    456 Views
    No one has replied
  • Routing web traffic based on source ip to two different web servers

    2
    0 Votes
    2 Posts
    570 Views
    DerelictD

    Just use those source networks as source networks in your port forward rules. Source networks in port forwards are hidden under the advanced button (for good reason). Leave the source port as any.

  • Multiwan lte?

    1
    0 Votes
    1 Posts
    507 Views
    No one has replied
  • How to have a redundant VPN setup natively supported by Windows clients?

    3
    0 Votes
    3 Posts
    901 Views
    R

    Thank you so much for you answer, jimp. You're always very helpful.

    "3. The mobile IPsec tunnel would need to be set to use the same failover group as the dyndns entry"

    I've tried setting it up just as you said in this topic:
    https://forum.pfsense.org/index.php?topic=58784.msg315915#msg315915

    Everything works fine, except that the ipsec.conf won't reload automatically when the DynDNS is updated (https://forum.pfsense.org/index.php?topic=58784.msg628621#msg628621). I had to manually reload configs/service in order for it to acknowledge the group's new active IP. I'd appreciate if you could help me out with that too.

    Anyway, there's no way to make the VPN accessible simultaneously through 2 different IPs when using mobile Ipsec, right? Is OpenVPN the only way I can make it work in pfSense?

    4. You'll probably need to activate default gateway switching under System > Advanced on the Misc tab

    I don't think that's needed. I configured a gateway group in load-balance mode (same tiers) and set it up as the Ipsec "interface". Obviously it wouldn't work, as there can only be one IP at a given time in my ipsec.conf's "left=" parameter, but I could see that the traffic always leaves through the same interface in which it came in. Needless to say, it works just the same when in failover mode. Not that it really matters, just saying that pfSense handles it very well.

  • Static Routing changes

    2
    0 Votes
    2 Posts
    651 Views
    jimpJ

    It depends on what you did. If you added a static route that overlapped something used by another service such as OpenVPN, then removed it, you should be able to save/apply in the relevant section that originally created the route to get it back. In the case of OpenVPN, just restart the VPN with an edit/save to bring that back.

  • 0 Votes
    8 Posts
    12k Views
    C

    Thanks!
    Exactly what I wanted. :D

    (Now I'll have to duplicate some firewall rules to outgoing NAT module)

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