OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • Rspamd webGUI
« previous next »
  • Print
Pages: [1]

Author Topic: Rspamd webGUI  (Read 4652 times)

olest

  • Jr. Member
  • **
  • Posts: 54
  • Karma: 1
    • View Profile
Rspamd webGUI
« on: June 07, 2020, 09:45:18 am »
Installed rspamd and created NAT rule to access port 11334 from LAN but how do I set the rspamd webgui password?
Logged

fabian

  • Hero Member
  • *****
  • Posts: 2770
  • Karma: 199
  • OPNsense Contributor (Language, VPN, Proxy, etc.)
    • View Profile
    • Personal Homepage
Re: Rspamd webGUI
« Reply #1 on: June 07, 2020, 09:56:51 am »
On CLI using its admin utility.
Logged

olest

  • Jr. Member
  • **
  • Posts: 54
  • Karma: 1
    • View Profile
Re: Rspamd webGUI
« Reply #2 on: June 07, 2020, 10:09:18 am »
Used: rspamadm pw and changed /etc/rspamd/local.d/worker-controller.inc

Is there a CLI command set set it directly?
Logged

fabian

  • Hero Member
  • *****
  • Posts: 2770
  • Karma: 199
  • OPNsense Contributor (Language, VPN, Proxy, etc.)
    • View Profile
    • Personal Homepage
Re: Rspamd webGUI
« Reply #3 on: June 07, 2020, 10:49:12 am »
nothing else
Logged

muhyal

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
Re: Rspamd webGUI
« Reply #4 on: June 18, 2020, 02:23:17 am »
Quote from: olest on June 07, 2020, 09:45:18 am
Installed rspamd and created NAT rule to access port 11334 from LAN but how do I set the rspamd webgui password?

Hi,

I cannot access the Rspamd local IP address with port 11334. My firewall local IP address is 10.10.1.1

Can you explain how you set the NAT rule or share the rule.

Thanks.
« Last Edit: June 18, 2020, 02:25:05 am by muhyal »
Logged

fabian

  • Hero Member
  • *****
  • Posts: 2770
  • Karma: 199
  • OPNsense Contributor (Language, VPN, Proxy, etc.)
    • View Profile
    • Personal Homepage
Re: Rspamd webGUI
« Reply #5 on: June 18, 2020, 07:29:30 am »
It is bound to 127.0.0.1 so you cannot reach it from an external host without DNAT or a local reverse proxy
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6405
  • Karma: 446
    • View Profile
Re: Rspamd webGUI
« Reply #6 on: June 18, 2020, 08:33:53 am »
Portforward on interface LAN, source LAN net, destination LAN address, tcp, port 11334, redirect target 127.0.0.1
Logged
Twitter: mimu_muc
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

muhyal

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
Re: Rspamd webGUI
« Reply #7 on: June 18, 2020, 11:28:55 am »
Quote from: mimugmail on June 18, 2020, 08:33:53 am
Portforward on interface LAN, source LAN net, destination LAN address, tcp, port 11334, redirect target 127.0.0.1

Thank you, great. But i couldn't change the password despite all my attempts.

Login IP:
10.10.1.1:11334

I use this command (With root user on SSH):
rspamadm pw

And copy hash to:
/usr/local/etc/rspamd/worker-controller.inc

Hash:
Code: [Select]
count = 1;
password = "HASH";
secure_ip = "127.0.0.1";
secure_ip = "::1";
static_dir = "${WWWDIR}";


Logged

fabian

  • Hero Member
  • *****
  • Posts: 2770
  • Karma: 199
  • OPNsense Contributor (Language, VPN, Proxy, etc.)
    • View Profile
    • Personal Homepage
Re: Rspamd webGUI
« Reply #8 on: June 18, 2020, 04:48:34 pm »
password is blank.
Logged

muhyal

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
Re: Rspamd webGUI
« Reply #9 on: June 18, 2020, 06:22:35 pm »
Quote from: fabian on June 18, 2020, 04:48:34 pm
password is blank.

Hi,

I changed hash to q1 and try blank but cannot login.

https://prnt.sc/t26kn2
Logged

jchavezb

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
    • View Profile
Re: Rspamd webGUI
« Reply #10 on: September 28, 2021, 05:18:38 am »
Quote from: mimugmail on June 18, 2020, 08:33:53 am
Portforward on interface LAN, source LAN net, destination LAN address, tcp, port 11334, redirect target 127.0.0.1

The NAT rule not working

LAN   TCP   LAN red   *   LAN dirección   11334   127.0.0.1   11334   RSPAMD GUI      
Result: ERR_CONNECTION_TIMED_OUT
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6405
  • Karma: 446
    • View Profile
Re: Rspamd webGUI
« Reply #11 on: September 28, 2021, 07:55:35 am »
Screenshots please
Logged
Twitter: mimu_muc
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

purpleax

  • Newbie
  • *
  • Posts: 1
  • Karma: 1
    • View Profile
Re: Rspamd webGUI
« Reply #12 on: December 05, 2021, 05:23:06 am »
Quote from: muhyal on June 18, 2020, 06:22:35 pm
Quote from: fabian on June 18, 2020, 04:48:34 pm
password is blank.

Hi,

I changed hash to q1 and try blank but cannot login.

https://prnt.sc/t26kn2

I am sure you have figured this out by now, but for future people searching for the answer to this - you need to run the configwizard and it will set the password. I have just found this out today.

so ssh into the firewall and run: rspamadm configwizard

During this process it will ask you to set the password. Thats what worked for me.
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6405
  • Karma: 446
    • View Profile
Re: Rspamd webGUI
« Reply #13 on: December 05, 2021, 07:06:02 am »
Oh nice, also new to me, thx for sharing :)
Logged
Twitter: mimu_muc
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • Rspamd webGUI
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2