Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. Install cups for local network

Install cups for local network

Scheduled Pinned Locked Moved Solved Support
6 Posts 2 Posters 1.1k Views 1 Watching
  • 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.
    • R Offline
      R Offline
      roru2k20
      wrote on last edited by
      #1

      Good evening,

      I know and read that I should not configure my firewall, but I run Cloudron at home as a server and on this machine and this place it is only possible to run my Dymo Labelwriter.

      How can I configure successfull the firewall to run this idea?

      At the moment netstat -tulpen said:

      ![b4b1104c-05be-43ee-9b31-82e2b40181c7-image.png](/assets/uploads/files/1634666270666-b4b1104c-05be-43ee-9b31-82e2b40181c7-image-resized.png) 
      

      Can anybody help?

      Have a nice evening!

      Axel

      R 1 Reply Last reply
      0
      • R roru2k20

        Good evening,

        I know and read that I should not configure my firewall, but I run Cloudron at home as a server and on this machine and this place it is only possible to run my Dymo Labelwriter.

        How can I configure successfull the firewall to run this idea?

        At the moment netstat -tulpen said:

        ![b4b1104c-05be-43ee-9b31-82e2b40181c7-image.png](/assets/uploads/files/1634666270666-b4b1104c-05be-43ee-9b31-82e2b40181c7-image-resized.png) 
        

        Can anybody help?

        Have a nice evening!

        Axel

        R Offline
        R Offline
        roru2k20
        wrote on last edited by
        #2

        Upppps wrong way for picture, but here 😉

        netstat -tulpen | grep :631

        R 1 Reply Last reply
        0
        • R roru2k20

          Upppps wrong way for picture, but here 😉

          netstat -tulpen | grep :631

          R Offline
          R Offline
          roru2k20
          wrote on last edited by
          #3

          I add 4 rules for iptables

          sudo iptables -A INPUT -p tcp -m tcp --dport 631 -j ACCEPT
          sudo iptables -A INPUT -p udp -m udp --dport 631 -j ACCEPT
          sudo iptables -A CLOUDRON -p tcp -m tcp --dport 631 -j ACCEPT
          sudo iptables -A CLOUDRON -p udp -m udp --dport 631 -j ACCEPT

          R 1 Reply Last reply
          1
          • R roru2k20

            I add 4 rules for iptables

            sudo iptables -A INPUT -p tcp -m tcp --dport 631 -j ACCEPT
            sudo iptables -A INPUT -p udp -m udp --dport 631 -j ACCEPT
            sudo iptables -A CLOUDRON -p tcp -m tcp --dport 631 -j ACCEPT
            sudo iptables -A CLOUDRON -p udp -m udp --dport 631 -j ACCEPT

            R Offline
            R Offline
            roru2k20
            wrote on last edited by
            #4

            Okay I add these rules, but I can't access cups webgui and can't see my printer.

            In which chain I must add the rule or what I have to do to access?

            R 1 Reply Last reply
            0
            • R roru2k20

              Okay I add these rules, but I can't access cups webgui and can't see my printer.

              In which chain I must add the rule or what I have to do to access?

              R Offline
              R Offline
              roru2k20
              wrote on last edited by
              #5

              Yeeesss it works....

              The following rule must be add additionally:

              sudo iptables -A CLOUDRON_RATELIMIT -p tcp -m tcp --dport 631 -j ACCEPT
              sudo iptables -A CLOUDRON_RATELIMIT -p udp -m udp --dport 631 -j ACCEPT
              

              And my cups conf has follow lines (only an excerpt)

              Listen *:631
              Listen /run/cups/cups.sock
              SystemGroup lpadmin
              

              After that I add my own user during the installation of Ubuntu to group lpadmin to administrate cups and now it works well.

              nebulonN 1 Reply Last reply
              3
              • R roru2k20

                Yeeesss it works....

                The following rule must be add additionally:

                sudo iptables -A CLOUDRON_RATELIMIT -p tcp -m tcp --dport 631 -j ACCEPT
                sudo iptables -A CLOUDRON_RATELIMIT -p udp -m udp --dport 631 -j ACCEPT
                

                And my cups conf has follow lines (only an excerpt)

                Listen *:631
                Listen /run/cups/cups.sock
                SystemGroup lpadmin
                

                After that I add my own user during the installation of Ubuntu to group lpadmin to administrate cups and now it works well.

                nebulonN Offline
                nebulonN Offline
                nebulon
                Staff
                wrote on last edited by
                #6

                @roru2k20 great that you found this out and thanks for sharing here 🙂

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • Bookmarks
                  • Search