IPv6 Configuration on Ubuntu Linux [HowTo]

We have Ubuntu 8.10 Intrepid Ibex Server Edition, coming out to the network via PPP and working with the intranet IP through NAT. Task: to give him a real, white IPv6-address, and make its IPv6-based …
IPv6 Configuration on FreeBSD

IPv6 Configuration on FreeBSD

So, it’s time to make the IPv4-IPv6 gateway, to walk in “another Internet”, to whom he will soon. GO and register at http://go6.net/4105/register.asp The kernel supports IPv6, ie it built with options INET6 (GENERIC kernel …

ipfw nat on FreeBSD 7

In the kernel configuration add: options IPFIREWALL # firewall options IPFIREWALL_VERBOSE # enable logging to syslogd (8) options IPFIREWALL_DEFAULT_TO_ACCEPT # allow everything by default options IPDIVERT options IPFIREWALL_FORWARD options DUMMYNET options IPFIREWALL_NAT # ipfw kernel …
Internet gateway on FreeBSD

Internet gateway on FreeBSD

Building a gateway to the global network on FreeBSD – this is one of the most frequent cases using this system. The main pluses of this decision are: stability, scalability, resistance to high loads and …
Combining two network interfaces under FreeBSD 5.x

Combining two network interfaces under FreeBSD 5.x

The Combination of two 100 Mbit/c network cards into one virtual, with a 200 Mbit/s bandwidth. kldload /boot/kernel/ng_ether.ko kldload /boot/kernel/ng_one2many.ko ifconfig rl0 up ifconfig rl1 up ngctl mkpeer rl0: one2many upper one ngctl connect rl0: …
Alias for a network interface in FreeBSD

Alias for a network interface in FreeBSD

How to add or remove alias for a network interface in FreeBSD Add: ifconfig fxp1 inet 192.168.2.1 netmask 255.255.255.255 alias Hide: ifconfig fxp1 inet 192.168.2.1 netmask 255.255.255.255 -alias
Swap Management

Swap Management

Get swap mcedit /proc/swaps swapon -s Gem all memory (swap, RAM) /proc/meminfo Show logical volums mcedit /etc/fstab Create Swap File Create swap file 1 GB dd if=/dev/zero of=/swapfile bs=1024 count=1048576 Prepare the swap file using …
Installing software through Ports on FreeBSD

Installing software through Ports on FreeBSD

Update ports collection: Edit /usr/share/examples/cvsup/ports-supfile and run: cvsup-G-L 2 ports-supfile Search: make search Key = "line" - search package by keyword. make search name = "line"- search by name of the package. Installing the port: …
Network Security

[How To] Securing SSH Connection

This how to helps you to create secure connection via ssh between your unix and linux systems. All examples written for RedHat based systems. Also we assume that you already have installed openssh server and …