Linux Support Pages

SSH Key-Pair Generation for use in ssh/rsync

ssh-keygen -b 1024 -N "" -t rsa

Some good instructions for rysnc using ssh.

/etc/sysconfig/network-scripts/ifcfg-ethx samples

Static Setting Dynamic Setting

Iptables & NAT
NAT Network Address Translation, Masquerading

To view NAT entries:

To enable NAT'ing where eth0 is the outside interface:

Firewall Tuning

I found an excellent single server firewall script.

I added a few modifications, based upon some reading about the RELATED option. Take a look at the modified script.

You may view existing connections with the following command:

Redhat 9.0 VLAN Capability

802.1q VLAN capability is built in to Redhat 9.0. This capability comes in handy when used in conjunction with a managed switch which also is 802.1q ready. A number of things that VLAN's can help with include network isolation, security, voice traffic QoS, traffic congestion management, and using Linux to route between VLAN's.

To show how simple it is, we provide an example.

An MTU of 1496 is used on the interface as 802.1q has a four byte overhead on packets, and some equipment may not pass frames larger than the standard 1500 bytes.

On a Cisco switch, the following configuration works in conjuction with the Linux computer.

switch1#sho run inter f0/1
interface FastEthernet0/1
 duplex full
 speed 100
 switchport trunk encapsulation dot1q
 switchport mode trunk

On Cisco Switches, vlan 1 is already enabled and is the 'native' vlan. A native vlan does not have the 4 byte packet overhead.

The 3Com 3c59x.c doesn't handle the vlan properly. It needs to be patched. I can't remember where I found the following patch file. A manual fix needs to be done after running it.

Some assistance can be found at this driver page and this summary page.

Some support info is found here. <%method title> Linux Support Pages