manintheit.org

manintheit.org


  • Apache as a Forward Proxy

    Proxy Server is a intermediary server that resides between client and  server. All requests originated by client send to the web server through  proxy server.  You can see below diagram with tcpdump analysis. Create a file forward_proxy.conf under the /etc/httpd/conf.d and put the below lines into the configuration file. Allow port 7777/tcp on the proxy server to the client make connections.… Continue reading

  • Ansible Sample Scripts

    Hello Folks! In this post I will share you some playbooks. Actually, I wrote it before some purposes. You can change it and tweak it :). 1- Apache2 Virtual Host  deployment. It deploys new Virtual Host configuration, enables configuration and checks syntax. If it is everything is all right then restarts an apache2, otherwise rollback. Apache Virtual… Continue reading

  • Syslog Server Configuration

    Basic Syslog Server Configuration In rsyslogd, different types of modules can be used: Minimal Configuration of Syslog Server Rsyslog can also send logs to the mysql database.  For this we need to import ommysql modules. For more information about the rsyslog configuration, please visit gentoo. Continue reading

  • GNS3 couldn’t run /usr/bin/dumpcap in child process: Permission Denied.

    Ubuntu 16.04 LTS GNS3: Problem: couldn’t run /usr/bin/dumpcap in child process: Permission Denied. Solution Enable non-root user to capture network traffic by reconfiguring wireshark. Add wireshark group to the user that you want to start GNS3 program. Logout and Login again. Continue reading

  • VMware Hot-Add RAM on Rhel 5

    Last week, I  confronted a problem. Even though virtual guest which is rhel5.11(Tikanga) enabled for hot-add RAM, It did not update the new memory size,  after adding 4 GBs of RAM without power off the machine. Solution: Finally, I have found the solution. We need to apply some couple of commands to hit the kernel force rescan… Continue reading

  • SOCKS

    SOCKS stands for Socket Secure. It exchanges data packets between client and server via proxy. It operates on the Session Layer of the OSI model. It allows users to surf on the Internet anonymously. More than that It gives you accessibility of applications only one secure port connection. In this post, I will implement fundamental… Continue reading

  • Sample Expect Script

    Expect is a programming language for automating systems which expose interactive text terminal such as telnet, ssh, ftp, scp etc,. It is extension to Tcl language. It is created by Don Libes. In this post I will share you sample expect script, which connects list of servers over ssh, executes command and prints it out… Continue reading

  • Screen & Rsync

    Rsync To send a file with rsync over ssh protocol(ssh key); You can apply below command. Continue reading

  • Connect to Real World With GNS3

    GNS3 is a GPL licenced cross-platform network simulation program. It enables us both virtual and physical networks operate together. It emulates Cisco IOS, doing so we have real Cisco device capability in a Virtual Machine. You can also analyze the packets with Wireshark. One exception that GNS3 has limited device capability as some Cisco devices impossible… Continue reading

  • Port Forwarding on Windows 10

    Hi Folks! Port Forwarding is a way of making  computer, in which located private LAN, accessible on the Internet. Even though it is behind the router. It is used for gaming, surveillance IP cameras, accessing your personnel computer on the Internet. Actually, in this post port forwarding is used for accessing a web page that… Continue reading