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

    Send syslogs out a different interface other than LAN?

    Scheduled Pinned Locked Moved General pfSense Questions
    5 Posts 3 Posters 482 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.
    • buggzB
      buggz
      last edited by buggz

      Hello,

      I have searched and searched, I cannot find this information.
      Is it possible to send syslog data out a different interface othe than LAN?

      I have an internal IF, em0, it is WAN
      Then I have an OEM i340 card with 4 ports,
      igb0 - LAN
      igb1 - OPT1
      igb2 - OPT2
      igb3 - OPT3

      Can I send the syslog data out to one of the OPT links?
      How?

      A 1 Reply Last reply Reply Quote 0
      • A
        akuma1x @buggz
        last edited by akuma1x

        @buggz I don't think it works quite like that...

        My understanding is that you set a host to send syslogs to, and if the host is local, no matter what interface it's plugged into, pfsense knows how to find it and send the data file(s).

        So, I think the answer to your question is yes, but no. Because you don't send data out the specific interface, like you said. But, rather to a host that pfsense can find. I believe you can even send syslog files to truly remote servers, out on the internet, but I don't know exactly how that works.

        Jeff

        1 Reply Last reply Reply Quote 1
        • buggzB
          buggz
          last edited by buggz

          Thanks for this!

          I have LAN as 192.168.2.2
          I will make OPT1 - 192.168.3.3
          I will configure a quick test box on the ...3.3 network and see if it works.

          1 Reply Last reply Reply Quote 0
          • buggzB
            buggz
            last edited by

            Sigh, it's beyond me to get this to work.

            All I want is for syslog-ng ONLY traffic to go out a network port other than LAN.

            1 Reply Last reply Reply Quote 0
            • bingo600B
              bingo600
              last edited by bingo600

              I'm quite sure that syslog traffic follows the normal routing rules.
              If you're telling pfSense to log to 192.168.3.3 , and ie. OPT1
              has the IP 192.168.3.1/24 , then the syslog packages will be sent out of OPT1.

              But all traffic to 192.168.3.3 would go out of OPT1 (best route) , not only syslog trafic

              /Bingo

              If you find my answer useful - Please give the post a šŸ‘ - "thumbs up"

              pfSense+ 23.05.1 (ZFS)

              QOTOM-Q355G4 Quad Lan.
              CPUĀ  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
              LANĀ  : 4 x Intel 211, DiskĀ  : 240G SAMSUNG MZ7L3240HCHQ SSD

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.