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


  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
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

Cloudron Forum

Apps | Demo | Docs | Install

Restoring default security setting

Scheduled Pinned Locked Moved Support
firewall
3 Posts 3 Posters 149 Views
    • 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.
  • 988uh9 Offline
    988uh9 Offline
    988uh
    wrote on last edited by girish
    #1

    I installed firewalld in Ubuntu 18.04. I then removed it.

    Now I am having errors trying to install wordpress app

    here is the error in debug

    server error: (HTTP code 500) server error - driver failed programming external connectivity on endpoint 95c92eae-9ce4-4d12-b61c-b29eee7a5a2c (bdcc609663953b1bd386a347ee9781c62140f856b7deb46c3405b08ce69f5fd3): (iptables failed: iptables --wait -t nat -A DOCKER -p tcp -d 127.0.0.1 --dport 45039 -j DNAT --to-destination 172.18.0.5:8000 ! -i br-05f6896894d2: iptables: No chain/target/match by that name. (exit status 1))

    1 Reply Last reply
    0
  • girishG Offline
    girishG Offline
    girish Staff
    wrote on last edited by girish
    #2

    @988uh If you reboot the server, the firewall settings should be back. I think the issue is that firewalld overwrites docker's firewall chains. I did a quick search and found https://roosbertl.blogspot.com/2019/06/securing-docker-ports-with-firewalld.html and https://unrouted.io/2017/08/15/docker-firewall/. Do any of those help? For Cloudron itself, you just have to do this to get it's rules back (but I think the issue you are facing is that docker's chains are gone. maybe re-install docker?):

    /home/yellowtent/box/setup/start/cloudron-firewall.sh
    
    1 Reply Last reply
    0
  • nebulonN Offline
    nebulonN Offline
    nebulon Staff
    wrote on last edited by
    #3

    @988uh is there any update on this from your side?

    1 Reply Last reply
    0

  • Login

  • Don't have an account? Register

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

  • Don't have an account? Register

  • Login or register to search.