Port Forwarding to local IP/PORT Type the following value into a Terminal window to enter this port forwarding rule. bash /ip firewall nat add action=dst-nat chain=dstnat disabled=no dst-port=80 in-interface=ether1-gateway protocol=tcp to-addresses=192.168.1.20 to-ports=80 In the above MikroTik NAT forwarding rule add through MikroTik RouterOS terminal what I am doing with the above command?We are just forwarding any kinds of request to our main IP in 80 and forwarding that connection to 192.168.1.20 ip which is in my local network and port …
Blog Posts
Write configuration data in a .ini file in PHP. It’s important for large application to store global configurations about the whole/partial system for applications.
To enable the passive port range for Pure-FTPd, perform the following via the command line as the root user: Open the /etc/pure-ftpd.conf configuration file in your preferred text editor. Remove the comment (#) from the beginning of the line which contains the PassivePortRange option. Change that line to the following: PassivePortRange 49152 65534 Save the changes to the configuration file. Run the sudo /usr/local/cpanel/scripts/restartsrv_ftpserver command to restart the server. These configuration changes may be overwritten by system updates. To make …
After clicking on any navigation link in navgation and whenever that page will be open then one active class will be added in that element. $(document).ready(function(){ var a = $('.navbar-nav a'); a.each(function(){ if(window.location.href == $(this).attr('href')){ $(this).closest('li').addClass('active'); } }) })
Typically windows server has no built-in backup transfer system via SSH or FTP/SFTP. They can only take backup and transfer to another windows machine. But in the age of cloud computing we need portablity of data. Anywhere I can put or get data. So from this sense I tried to get some handy tools which will do a perfect trick for me. For my windows server I love rsync very much. It’s lovely. I like it’s awesomeness. Also for windows …