proxy

All posts tagged proxy by Linux Bash
  • Posted on
    Featured Image
    This article explains how to configure Apache as a WebSocket proxy, focusing on Linux Bash setups. It provides a guide for enabling required Apache modules, configuring Virtual Hosts for WebSocket forwarding, and troubleshooting common issues to enable real-time web communication.
  • Posted on
    Featured Image
    Learn to enhance website security and scalability by setting up a reverse proxy with `mod_proxy` on Apache in Linux. This guide covers installing Apache, configuring `mod_proxy`, and testing the setup to ensure superior performance and security through effective traffic management and SSL encryption. Get insights into system preparation, module activation, and detailed configurations for successful implementation.
  • Posted on
    Featured Image
    This article explains how to accurately log client IP addresses from the `X-Forwarded-For` header in environments using proxies, utilizing Linux Bash. It covers the basics of the header, parsing methods using Bash, and addresses challenges such as IP spoofing and multi-IP headers to enhance security and user privacy in web development and system administration.
  • Posted on
    Featured Image
    Learn how to boost PHP performance with Apache using PHP-FPM and `mod_proxy_fcgi`. This setup allows efficient management and scaling of PHP processing, significantly improving resource efficiency and response times for high-traffic websites. Key optimization steps include installing modules, configuring Apache and PHP-FPM settings, and monitoring system performance to ensure optimal operation.
  • Posted on
    Featured Image
    Learn how to use `mod_proxy_balancer` for effective load balancing in web applications using Linux Bash. This blog details configuring and managing the Apache module to distribute user requests across multiple servers to enhance responsiveness and scalability. Essential steps include enabling necessary modules, configuring proxy settings, and regular monitoring.
  • Posted on
    Featured Image
    This blog article explains using the `curl` command-line tool to bypass proxy settings with the `--socks5-hostname` option. This approach directs requests through a SOCKS5 proxy, resolving hostnames at the proxy, unlike `--socks5` which resolves locally. Useful for avoiding restrictive proxies or testing server connections directly, it enhances control without altering global settings. An example and script demonstrate this method's application.
  • Posted on
    Featured Image
    The article discusses using `socat` for proxying traffic between ports with TLS termination, highlighting its role in secure communication. It explains the setup for a secure listening socket on port 443 that forwards decrypted traffic to port 8080 using specified commands. The versatility of `socat` in tasks like creating virtual serial ports and basic TCP relays is also covered, emphasizing its benefits in network traffic management.
  • Posted on
    Featured Image
    Learn how to set up proxy configurations for APT, DNF, and Zypper on various Linux distributions. This guide provides detailed, step-by-step instructions for editing key configuration files like `/etc/apt/apt.conf.d/02proxy`, ensuring seamless software updates and installations in network-restricted areas. Essential reading for optimizing Linux package management behind a firewall.