🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: demon.tech.unix
Article #458

Stuffed ICMP masquerading

#458
From: Nigel Cole
Date: Tue, 07 Mar 2000 00:00
33 lines
1727 bytes
OK, got my Linux gateway box set up (Redhat 6.1), with an ipchains
firewall. Everything's working fine (OK, except that it's stuck in EST
at the moment :-), but...

I'm getting strange masquerading errors while playing Everquest.

For example:

Mar  7 14:11:51 moat kernel: Packet log: output REJECT ppp0 PROTO=1
192.168.0.4:3 192.215.54.49:3 L=56 S=0x00 I=45612 F=0x0000 T=127 (#3) 

(192.168.0.4 is the internal IP for the machine being used for
Everquesting. 'moat' is the name of my gateway box.)

If I've read the output correctly, the REJECT was caused by output rule
#3, and the rejected connection was an ICMP "Host unreachable" error.
This rule is:

# outgoing from local net on remote interface, stuffed masquerading
ipchains -A output -i $extint -s $intnet -d 0.0.0.0/0 -l -j REJECT

($extint is ppp0, $intnet is 192.168.0.0/24)

Yet my masquerading rules are:

ipchains -A forward -i $extint -s $intnet -d 0.0.0.0/0 -j MASQ
ipchains -A forward -s 0.0.0.0/0 -d 0.0.0.0/0 -l -j REJECT

I must be missing something obvious; can someone point me in the right
direction?
-- 
Dr. Nigel Cole
Address 'spamtin' is valid, but 'nhcole' is read more often.
Technical Details
Message-ID: <xuWD+XAfrVx4EwkW@zebekia.demon.co.uk>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fac57,e9cef78eb261a0c1,start
X-Google-Attributes: gidfac57,public
From: Nigel Cole <spamtin@zebekia.demon.co.uk>
Subject: Stuffed ICMP masquerading
Date: 2000/03/07
Message-ID: <xuWD+XAfrVx4EwkW@zebekia.demon.co.uk>
X-Deja-AN: 594383388
X-NNTP-Posting-Host: zebekia.demon.co.uk:158.152.10.198
X-Trace: news.demon.co.uk 952458005 nnrp-04:4334 NO-IDENT zebekia.demon.co.uk:158.152.10.198
MIME-Version: 1.0
Newsgroups: demon.tech.unix
X-Complaints-To: abuse@demon.net