Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Nov 2023 12:52:58 +0200
From:      Oleksandr Kryvulia <shuriku@shurik.kiev.ua>
To:        freebsd-ipfw@freebsd.org
Subject:   Re: how to allow printing while ipfw is on
Message-ID:  <95ac513b-e042-4fea-920d-b497b91ad870@shurik.kiev.ua>
In-Reply-To: <CAEYFr1Dz7%2B1eT81TbtnjBEr2HUJ6_0VwUAjUG6OWHqSgXvJxog@mail.gmail.com>
References:  <CAEYFr1A0sHKwntnRO7HWBXaDn1WxUh1SB3CxJXD0z9V6%2Ba_Qyw@mail.gmail.com> <57084efd-e3e0-46c5-9a61-b87ead42cc79@shurik.kiev.ua> <CAEYFr1Dz7%2B1eT81TbtnjBEr2HUJ6_0VwUAjUG6OWHqSgXvJxog@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------zesk5fc00DEZtSjZm3pceN0B
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit

While sending job to your printer with disabled firewall

netstat -n | grep 192.168.x.x

where 192.168.x.x - IP of your printer.

15.11.23 12:10, Dr. Amr Osman:
> Is there an easy way to know the correct port, I am new to freeBSD
>
> On Wed, Nov 15, 2023, 10:38 AM Oleksandr Kryvulia 
> <shuriku@shurik.kiev.ua> wrote:
>
>     15.11.23 02:58, Dr. Amr Osman:
>>     I have ipfw on as workstation and I have to disable it to be able to
>>     connect to my network printer, is there a way to connect printer while
>>     ipfw is on
>
>     In the general case you need to pass IP traffic to/from your printer.
>
>     Please show output from:
>      - ipfw show
>      - ifconfig
>     and which IP your printer has?
>

--------------zesk5fc00DEZtSjZm3pceN0B
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    While sending job to your printer with disabled firewall<br>
    <br>
    netstat -n | grep 192.168.x.x<br>
    <br>
    where 192.168.x.x - IP of your printer.<br>
    <br>
    <div class="moz-cite-prefix">15.11.23 12:10, Dr. Amr Osman:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAEYFr1Dz7+1eT81TbtnjBEr2HUJ6_0VwUAjUG6OWHqSgXvJxog@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="auto">Is there an easy way to know the correct port, I
        am new to freeBSD </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Wed, Nov 15, 2023, 10:38 AM
          Oleksandr Kryvulia &lt;<a href="mailto:shuriku@shurik.kiev.ua"
            moz-do-not-send="true" class="moz-txt-link-freetext">shuriku@shurik.kiev.ua</a>&gt;
          wrote:<br>
        </div>
        <blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <div> 15.11.23 02:58, Dr. Amr Osman:<br>
            <blockquote type="cite">
              <pre>I have ipfw on as workstation and I have to disable it to be able to
connect to my network printer, is there a way to connect printer while
ipfw is on
</pre>
            </blockquote>
            <br>
            In the general case you need to pass IP traffic to/from your
            printer. <br>
            <br>
            Please show output from:<br>
             - ipfw show<br>
             - ifconfig<br>
            and which IP your printer has?<br>
          </div>
        </blockquote>
      </div>
    </blockquote>
    <br>
  </body>
</html>

--------------zesk5fc00DEZtSjZm3pceN0B--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?95ac513b-e042-4fea-920d-b497b91ad870>