Goline It Services Logo

News

  • GOLINE SA is excited to announce a new partnership with NetApp, a global leader in cloud data services and storage solutions. This collaboration aims to help organizations modernize their IT infrastructure, streamline data management, and enhance performance across cloud and hybrid environments. Modern Data Solutions for Businesses Through this partnership, GOLINE integrates advanced data management solutions, enabling businesses to securely store, manage, and access critical information across cloud, on-premises, or hybrid setups. Clients can benefit from: Flexible and scalable storage solutions to meet growing data needs Simplified management of cloud and on-premises environments Enterprise-grade security for sensitive and mission-critical data...
  • GOLINE SA is proud to announce a new strategic partnership with Omnissa, a global leader in digital workspace platforms and Horizon Cloud Service solutions. This collaboration marks a significant step forward in helping organizations embrace secure, flexible, and high-performance work environments. Why Choose Omnissa for Your Business? The platform enables virtual desktops, applications, and unified endpoint management. Organizations can deploy scalable workspaces across cloud, hybrid, or on-premises setups. Key benefits include: Easy access to desktops and apps on any device Centralized management for Windows, macOS, iOS, Android, and ChromeOS Strong security with access controls and multi-factor authentication Automated scaling to...
  • Goline is proud to announce a strategic partnership with Cloudflare, the world leader in web performance and security solutions. This collaboration aims to provide goline.ch customers with state-of-the-art protection against cyber threats while delivering lightning-fast website performance. Through this partnership, Goline integrates Cloudflare’s advanced services, including DDoS protection, CDN caching, DNS security, and edge computing, allowing businesses to secure and optimize their websites effortlessly. Users will benefit from improved page load speed, enhanced reliability, and robust defense against malicious attacks. This partnership with Cloudflare enables goline to offer unmatched security and performance solutions to clients. By leveraging Cloudflare’s cutting-edge technology,...

Sophos UTM: usefull shell commands

Paolo Caparrelli Sophos 22 June 2022
Sophos UTM Shell Commands Guide

Sophos UTM Shell Commands

Remember:

Direct configuration of Astaro from the shell is unsupported unless directed by Astaro Support staff or official documentation.
For paid licenses, unauthorized shell modifications may void your support agreement.

Run Astaro HTTP Proxy Database Locally

  1. SSH to ASG and log in as loginuser.
  2. Switch to root with su - root.
  3. Run: cc set http sc_local_db [disk|mem|none]
  4. Restart proxy: /var/mdw/scripts/httpproxy restart

Note: Web surfing will be slow until the database has downloaded completely.

Check Link Speed

Run ifstat to view interface link speed.

Bandwidth Usage – IFTOP

Use iftop to view live traffic statistics by source, destination, and port.

Example:

root # iftop -i eth1

IFTOP Keyboard Shortcuts:

  • n – Toggle DNS host resolution
  • p – Pause display
  • t – Cycle line display mode
  • q – Quit

Concurrent Connections

Set TCP timeout:

sysctl -w net.ipv4.netfilter.ip_conntrack_tcp_timeout_established=86400

Check established connections:

less /proc/net/ip_conntrack | grep ESTA | wc -l

Check all connections:

less /proc/net/ip_conntrack | wc -l

Check WAIT status connections:

less /proc/net/ip_conntrack | grep WAIT | wc -l

Automatic TOP Snapshots

Create a cron job:

top -b -n 1 >> /tmp/top-report.txt

To view CPU details:

cat /proc/cpuinfo

Restart HTTP Proxy

Stop and start commands:

/var/mdw/scripts/httpproxy stop
/var/mdw/scripts/httpproxy start

Restart Middleware

From root:

service mdw restart

Warning: Causes HA failover and interrupts VoIP calls and downloads.

Check Disk Usage

  • df -h – Check disk usage
  • du -sh * – Find large directories

Example:

cd /var/storage && du -sh *

Check CPU Type

cat /proc/cpuinfo

Determine Disk Load

Monitor disk I/O every 5 seconds:

vmstat -d 5

For a specific disk (e.g., hda or sda):

vmstat -d | head -2; vmstat -d 5 | grep hda

View Ethernet Details

  • ethtool eth1
  • mii-diag eth1

Reset Lost WebAdmin Password

  1. Run cc
  2. Enter RAW
  3. Execute system_password_reset
  4. Press Ctrl + C to exit

Then log in to WebAdmin and reset all passwords.

DNS Flush Cache Missing in V7

Restart the DNS proxy manually:

/var/mdw/scripts/named restart

Change Version Number

  1. Login as loginuser
  2. Switch to root: su -
  3. Edit version file: vi /etc/version
  4. Save and restart ASG

Change NIC Order

  1. Login as loginuser
  2. Switch to root: su -
  3. Edit file: /etc/udev/rules.d/70-persistent-net.rules
  4. Restart ASG to apply changes

Recover from Lockout

  1. Shutdown the firewall and connect screen + keyboard.
  2. On boot, press ESC in GRUB.
  3. Select Astaro Security Gateway 7.2.
  4. Edit boot line with init=/bin/bash.
  5. Reboot and reset passwords for loginuser and root.

Reset to Factory Settings

  1. Login as loginuser
  2. Switch to root
  3. Run the following:
cc
RAW
system_factory_reset
  

The system will automatically shut down after the reset completes.

7 / 100 SEO Score
0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
| Reply