pfSense firewall rules for WhatsApp Rumi, January 28, 2023 For simplicity, you can also follow the step by step instructions from your pfSense WebGUI below: 1. Create a PORT alias: Firewall -> Aliases -> Ports -> + AddName: WhatsAppPortsTCP Port: 443 -> + Add PortPort: 5222 Save (bottom) -> Apply Changes (top right) 2. Create a URL alias: Firewall -> Aliases – URLs -> + AddName: WhatsAppIPv4_URL Type: URL Table (IPs) URL Table (IPs): https://adamnetworks.dev/pub/fwaliases/raw/master/ips/whatsapp.txt /(update frequency): 1 Save (bottom) -> Apply Changes (top right) 3. Create an IP alias: Firewall -> Aliases – IP -> + AddName: Facebook_IPv4_STUN Type: Network(s) Network or FQDN: 31.0.0.0 / 8 Save (bottom) -> Apply Changes (top right) 4. Create a TCP-based firewall rule: Firewall -> Rules -> LAN -> Add Under Edit Firewall RuleProtocol: TCP Under DestinationChange any to Single host or alias Destination Address: WhatsAppIPv4_URL (alias) Custom (From Port): WhatsAppPortsTCP Custom (To Port): WhatsAppPortsTCP Under Extra OptionsDescription: adam:ONE Enabler for WhatsApp for Android App compatibility Save (bottom) -> Apply Changes (top right) 5. Create a UDP-based firewall rule: Firewall -> Rules -> LAN -> Add Under Edit Firewall RuleProtocol: UDP Under DestinationChange any to Single host or alias Destination Address: Facebook_IPv4_STUN (alias) From (Port): STUN (3478) To (Port): STUN (3478) Under Extra OptionsDescription: adam:ONE Enabler for WhatsApp Audio and Video Save (bottom) -> Apply Changes (top right) Note: If you have existing “block” rules, make sure to place or drag this rule above them.te that we should define at some point. Src: https://support.adamnet.works/t/pfsense-firewall-rules-for-whatsapp-on-android/224 Related Administrations pfsenseWhatsApp
Install and configure fail2ban January 4, 2015 Servers do not exist in isolation, and those servers with only the most basic SSH configuration can be vulnerable to brute force attacks. fail2ban provides a way to automatically protect the server from malicious signs. The program works by scanning through log files and reacting to offending actions such as… Read More
Get rid of esm-apps while ubuntu updates September 15, 2023 If you ever encounter similar issue like below- Get more security updates through Ubuntu Pro with ‘esm-apps’ enabled: libavformat58 libavfilter7 ffmpeg mc sntp libswresample3 lynx-common libzmq5 fail2ban mc-data redis lynx libpostproc55 ntp ntpdate libgsasl7 redis-tools cpanminus libavcodec58 libavutil56 libavdevice58 libswscale5 libsdl2-2.0-0 libmysofa1 redis-server libavresample4 And don’t like to be financially… Read More
Linux Rescue Mode, recovering from boot July 2, 2011 When things go wrong, there are ways to fix problems. However, these methods require that you understand the system well. This chapter will describe the ways that you can boot into rescue mode and single user mode, where you can use your own knowledge to repair the system. What is… Read More