Enable 1:1 NAT in Iptables Rumi, April 17, 2015 1:1 NAT maps a single Public IP Address to one of your computer within your local area network (LAN). Unlike port forwarding, 1:1 NAT forwards all ports from one external IP to one internal IP. iptables -t nat -A POSTROUTING -o eth0 -s 192.168.1.2 -j SNAT --to-source 83.229.64.2 iptables -t nat -A PREROUTING -i eth0 -d 83.229.64.2 -j DNAT --to-destination 192.168.1.2 iptables -A FORWARD -s 83.229.64.2 -j ACCEPT iptables -A FORWARD -d 192.168.1.2 -j ACCEPT Related Administrations Configurations (Linux) Networking iptablesNAT
How to Update SSH & MOTD Banner on CentOS 6 December 7, 2015December 7, 2015 For legal reasons, Some people need to display a warning banner on their Linux machine before login so that a person requires to acknowledge the contents of the banner before entering the password. To do this, edit a/etc/issue.net file and fill it with the desired context. Edit the /etc/issue.net file: sudo… Read More
Install Zimbra on Centos 5 Step by step August 24, 2012August 24, 2012 Zimbra is a suite of tools for Unix/Linux/MacOS systems, which includes a secure mail server, web mail, anti-spam/anti-virus controls, a Web management interface, integrated calendaring, mobile device sync, and more. In many ways, Zimbra is the Unix equivalent to Microsoft Exchange. In this post, I will be installing Zimbra… Read More
Install Rainloop on PHP 5.6 on Debian 8 LAMP February 12, 2021 Step-1: Install LAMP on Debian I’ve used a bash script to install LAMP. You may find it useful. #!/bin/bash ######################################################## ### This script is created by Hasn T. Emdad Rumi <h.t.emdad@gmail.com>. ### Released under GPL 2.0 licensing ### Date: 12-Aug-2016 ######################################################## echo “Updating Debian Repository…” apt-get install debian-keyring debian-archive-keyring -y… Read More