Linux Tutorial | Matt Cooper - Open Source Support
Linux Tutorial | Matt Cooper - Open Source Support
Smoothwall Troubleshooting

Smoothwall Express – unable to add Port Forwarding Rules or Multiple IP’s

I came accross this issue when the Port Forwarding rules reached roughly 200.

The problem I had was when I added new rules past 201 (201,202,203 etc.) the Firewall would add them to the interface but the IPtables actually ignored them.

As you can imagine this was incredibly frustrating to the point a second Smoothwall Firewall was installed but the same problem returned.

From chatting with the guys on the smoothwall community ( Smoothwall) they were able to point me in the direct and instructed me to run the following from commandline:


sed -i -e 's=t-/var/log=t/var/log=' /etc/syslog.conf
kill -SIGHUP `cat /var/run/syslogd.pid`

Essentially concluded that due to massive log traffic Smoothwall was struggling to write the new port forwarding changes. The above puts a hyphen before each log file name; this is supposed to tell syslogd not to wait for the entry to reach the disk (turns off O_SYNC). The second tells syslog to close, re-read its .conf and reinitialize. If it doesn’t work, you’ll have to reboot when convenient.

I can’t take any credit for this one, “fest3er” came up with the idea on the forum.

See here: http://community.smoothwall.org/forum/viewtopic.php?f=56&t=38789

August 21, 2013by Matt Cooper
FacebookTwitterPinterestGoogle +Stumbleupon

About me

Hi, I'm Matt Cooper. I started this blog to pretty much act as a brain dump area for things I learn from day to day. You can contact me at: matt@linuxtutorial.co.uk

Recent Comments

  • Andrew on Export list of Amazon EC2 Instances to CSV
  • Matt Cooper on Proxmox – add a second hard drive to node for Backups
  • karis on Proxmox – add a second hard drive to node for Backups
  • Matt Cooper on Remote MySQL Database – Slow Connection
  • Matt Cooper on Bash script to send public IP address to Email

Categories

  • AdvancedTomato
  • Amazon AWS
  • Amazon Linux
  • Amazon S3
  • Apache
  • Apache Kafka
  • Backup Tutorial
  • Bash Scripting
  • Centos Tutorial
  • CloudFlare
  • Command line Tutorial
  • CPanel Troubleshooting
  • CPanel Tutorial
  • Debian Troubleshooting
  • Debian Tutorial
  • DKIM
  • Docker
  • EC2
  • ESXi
  • Faildows
  • Google Adwords
  • Google Analytics
  • Google Chromebook
  • Google Mail
  • graylog
  • IAM
  • imapsync
  • iRedmail Tutorial
  • ISPConfig3 Tutorial
  • Java
  • ldap
  • letsencrypt
  • MyDNS
  • MySQL Troubleshooting
  • MySQL Tutorial
  • Nest Install
  • Netbeans
  • Nginx
  • Nginx Troubleshooting
  • openssl
  • PCI Compliance
  • Percona
  • PHP
  • Plex Media Server Tutorial
  • Postfix
  • Proxmox Tutorial
  • Pure FTPd
  • Resourcespace Tutorial
  • Route 53
  • Rsync Tutorial
  • Security
  • Smoothwall Troubleshooting
  • Smoothwall Tutorial
  • SSH
  • tcpdump
  • Thunderbird
  • Tomcat Troubleshooting
  • Ubuntu Tutorial
  • Uncategorized
  • Unison
  • vmware
  • vzdump
  • WHM
  • Wireshark
  • Wordpress Troubleshooting
  • WordPress Tutorial

“See, you not only have to be a good coder to create a system like Linux, you have to be a sneaky bastard too." Linus Torvalds

© 2017 copyright www.linuxtutorial.co.uk // All rights reserved