Archive for the ‘Networking’ Category

How to disable Ipv6 on GNU / CentOS, Fedora, Debian, Redhat

In this tutorial you will learn how to disable IPv6 on Debian and other linux distributions (RHEL, CentOS, Fedora, Ubuntu). I have few servers, which have automatically enabled IPv6 protocols (IPv6 gets automatically enabled on Debian), as well as on most latest Linux distribituions nowdays. Incoming search terms:disable ipv6 centos 6 2 (5)rhel 6 2 [...]

Configure Linux To Accept Remote Desktop Connections Over SSH

Recently I needed to configure a solution for remote desktop on a Linux server. I decided to give XRDP a shot which uses TigerVNC Server by forwarding the standard RDP port of 3389 to a port VNC is listening on. The end result is to set up a SSH tunnel that forwards local port 3389 [...]

How to port forwarding with iptables between 2 hosts on different networks in Linux

Problem: How to port forwarding with iptables between 2 hosts on different networks in Linux? I’ve been reading for about 2 days iptables forwarding examples and I cannot do a simple port forwarding. I got 2 machines on different networks. server1 (S1 with ip 195.21.2.41) is at my house and server2 (s2 with ip 10.234.141.126) [...]

How to passwordless connect SSH without authentication keys

How to passwordless connect/login SSH without authentication keys. Imagine ever wanted to avoid the hassle of typing in the password while connecting to servers using ssh? Here is a really simply neat trick that will demonstrate how easy it is to accomplish it so it does not ask for password. And as a bonus, you [...]

How to create map of local network (LAN) using Lanmap

There is this cool little that helps us create map of local area network. As a bonus, we get the mac and the IP addresses of all the devices in the network. It passively listens for all network traffic and creates a image file for the network map. Well, the utility is called lanmap. if [...]

How to create an ip-ip tunnel among three Networks

This kind of tunneling has been available in Linux for a long time. It requires 2 kernel modules, ipip.o and new_tunnel.o. Let’s say you have 3 networks: Internal networks A and B, and intermediate network C (or let’s say, Internet). Incoming search terms:3 THREE TUNNEL IP (1)build ipip tunnel on centos (1)centos 6 2 network [...]

How to modify iptables during Kickstart Install of CentOS 6

Problem  I’m having trouble modifying iptables configuration during a customized kickstart installation of CentOS 6. The kickstart process is installing several custom RPMs on top of a minimal ISO image. One of the rpms attempts to modify the iptables rules but after Anaconda completes the installation, the original default rules are still set in /etc/sysconfig/iptables. [...]

How to Create tun/tap devices on Ubuntu/ Linux

Problem: I am trying to create tap devices on the host machine using the command: sudo ip tuntap add mode tap br0p0 but I get the following error message: Object “tuntap” is unknown, try “ip help”. What should I do? I am working on Ubuntu 10.04 Incoming search terms:ubuntu tun/tap (2)tun tap ubuntu (2)linux tun [...]

Powered by WordPress | Designed by: best suv | Thanks to trucks, infiniti suv and toyota suv