Thread: Help, revived.
View Single Post
Violet CLM Violet CLM's Avatar

JCF Éminence Grise

Joined: Mar 2001

Posts: 10,993

Violet CLM has disabled reputation

Mar 24, 2001, 01:29 PM
Violet CLM is offline
Reply With Quote
As my topic is not here I wish to revive it. Whenever I join a internet server after about 30 seconds it says: Network Error. Connection timed out. Visit www.jazzjackrabbit.com for more information. End of error message.



The "network administrator" is my Dad, who's not ashamed to admit he's

making it up as he goes along and could use some help. The "firewall" is

his Linux machine, which runs NAT for the ADSL modem that hangs off the

network hub (ie, NOT attached to eth1 on the Linux machine - eth1

doesn't seem to want to run SMP, only UP). The ipchains calls are

cobbled together from HOWTO's &c.



Kernel is 2.2.16-22smp (Redhat 7), MASQ/firewall script is as follows:



# 1) Flush the rule tables.



/sbin/ipchains -F input

/sbin/ipchains -F forward

/sbin/ipchains -F output



# 2) Set the MASQ timings and allow packets in for DHCP configuration.



/sbin/ipchains -M -S 7200 10 60



# 3) Deny all forwarding packets except those from local network.

# Masquerade those.



/sbin/ipchains -P forward DENY

/sbin/ipchains -A forward -s 192.168.1.0/24 -j MASQ



# 4) Load forwarding modules for special services.

/sbin/modprobe ip_masq_ftp

/sbin/modprobe ip_masq_raudio



# 5) (Experimental) Jazz JackRabbit 2 networking setup

/sbin/ipchains -A forward -p tcp -s 0/0 10052:10054 -j MASQ

/sbin/ipchains -A forward -p udp -s 0/0 10052 -j MASQ