Flushing IPTables rule and allow all traffic for Debian or Ubuntu Rumi, March 20, 2023 Flushing all iptables chain rules shell script #!/bin/sh echo "Stopping IPv4 firewall and allowing everyone..." ipt="/sbin/iptables" ## Failsafe - die if /sbin/iptables not found [ ! -x "$ipt" ] && { echo "$0: \"${ipt}\" command not found."; exit 1; } $ipt -P INPUT ACCEPT $ipt -P FORWARD ACCEPT $ipt -P OUTPUT ACCEPT $ipt -F $ipt -X $ipt -t nat -F $ipt -t nat -X $ipt -t mangle -F $ipt -t mangle -X $ipt -t raw -F $ipt -t raw -X Make sure you can execute the script using the chmod command: # chmod +x /root/fw.stop Run the script as root user: # /root/fw.stop Verify that my firewall rules are flushed out? Type the following iptables command: # iptables -L -n -v Sample outputs: Chain INPUT (policy ACCEPT 0 packets, 0 bytes) pkts bytes target prot opt in out source destination Chain FORWARD (policy ACCEPT 0 packets, 0 bytes) pkts bytes target prot opt in out source destination Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes) pkts bytes target prot opt in out source destination Related Administrations Configurations (Linux) Debainiptablesiptables flushUbuntu
Install Softether VPN Client on Linux January 28, 2023January 28, 2023 Download and Install SoftEther VPN Client Download SoftEther VPN Client software from their official website (https://www.softether.org). Navigate to Download — > Download SoftEther VPN Click on Download SoftEther VPN link. Select Component : SoftEther VPN Client Select Platform : Linux Select CPU : Select the appropriate CPU from the Drop… Read More
Fixing Vesta CP Exim Email Incoming error with T=local_delivery defer (-1): Malformed value “0MM” December 24, 2021December 25, 2021 ******** Applicable for vesta cp 1.0.0-5 version) ******** If you lately encounter an issue with mail incoming with vesta cp after an auto update took place, your /var/log/exim/main.log shows something similar below- 2021-12-19 03:39:42 1mxheU-000374-0o == mail@domain.com R=localuser T=local_delivery defer (-1): Malformed value “0MM” (expansion of “${extract{6}{:}{${lookup{$l$…. Step-1 Finding vesta… Read More
When i installed Debian, i forgot to install GNOME! How to install? July 11, 2011 apt-get install x-window-system Once X installed proceed with gnome, following packages are minimum but gives you gnome gui based interface… so on it's easier to add other packages from synaptic. apt-get install gnome-core gdm synaptic Be careful on you /et/apt/source.list file- if the CDROm is un-commented then installation will begin… Read More