Koozali.org: home of the SME Server

recent update stopped port forwarding working

Offline jameswilson

  • *
  • 818
  • +0/-0
    • Security Warehouse, professional security equipment
recent update stopped port forwarding working
« on: February 24, 2026, 01:51:20 AM »
As title really. Ive done a post upgrade etc but still not working as expected.

Not sure where to start?

Thanks James

Offline Stefano

  • *
  • 10,903
  • +3/-0
Re: recent update stopped port forwarding working
« Reply #1 on: February 24, 2026, 10:34:16 AM »
since SME 11 isn't yet stable, it should be reported in bugzilla

Offline ReetP

  • *
  • 4,028
  • +6/-0
Re: recent update stopped port forwarding working
« Reply #2 on: February 24, 2026, 10:03:38 PM »
And James has an account Rocket.

He can ask there as well.

Logs will be useful.
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline jameswilson

  • *
  • 818
  • +0/-0
    • Security Warehouse, professional security equipment
Re: recent update stopped port forwarding working
« Reply #3 on: February 24, 2026, 10:53:48 PM »
since SME 11 isn't yet stable, it should be reported in bugzilla
True

Ill add a bug, its intermittent though but was previously solid. I stupidly applied all updates as i was going away. Live and learn.
Ill raise a bug but as usual i dont know what logs or where to look.

Offline jameswilson

  • *
  • 818
  • +0/-0
    • Security Warehouse, professional security equipment
Re: recent update stopped port forwarding working
« Reply #4 on: March 28, 2026, 03:15:13 PM »
Update on this
Its not the update as such that stops port forwarding.
perfoming the signal event post upgrade / reboot causes a service called masq to sit at the top of 'top' and port forwarding doesnt work until whatever it is doing finishes. Once masq isnt using as much processor time port fording functions as expected

Offline ReetP

  • *
  • 4,028
  • +6/-0
Re: recent update stopped port forwarding working
« Reply #5 on: March 28, 2026, 04:16:52 PM »
"masq" is your firewall service.
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline Jean-Philippe Pialasse

  • *
  • 2,970
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: recent update stopped port forwarding working
« Reply #6 on: March 28, 2026, 06:55:06 PM »
only reason for masq to be slow is having thousand of entries like with a huge fail2ban list

Offline jameswilson

  • *
  • 818
  • +0/-0
    • Security Warehouse, professional security equipment
Re: recent update stopped port forwarding working
« Reply #7 on: March 30, 2026, 07:26:33 PM »
only reason for masq to be slow is having thousand of entries like with a huge fail2ban list
Yes i do have fail2ban but would it go through the full list again on a reconfigure reboot? WOuld it not be upto date and already processed them?

Offline ReetP

  • *
  • 4,028
  • +6/-0
Re: recent update stopped port forwarding working
« Reply #8 on: March 31, 2026, 06:28:00 AM »
Goes through things repeatedly all the time. Check your logs.

If you have a lot of attacks it is extremely heavy overload all the time.

I switched to using xt_geoip for most stuff. Much faster and easier.


...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline ReetP

  • *
  • 4,028
  • +6/-0
Re: recent update stopped port forwarding working
« Reply #9 on: March 31, 2026, 07:33:51 AM »
Note - on geoip I have a set of default blocks for all services.

Global == CN,RU,VN etc

I then have say sshd only permit from a couple of countries - deny all except GB,ES

sshd !=GB,ES

I set sqpsmptd & imaps the same because ny users only ever send login from a coulle of countries.

qpsmtp (receiving mail) gets it's own list but with specific bans eg RU,KR

You check the lists to see what gets the hits and modify to suit.

It is highly effective and far less overhead.

The only issue is if you travel and want to permit access from another country be careful with country codes.

On Saturday I found MD is not the Maldives :lol:

After a long struggle I managed to get access back ;-)
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation