(no subject)
Feb. 2nd, 2005 11:52 am![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Ill. Firewall steadfastly refusing to accept incoming connections, even when told to. Since it's not logging the rejections, I can't even find out which part of the config is wrong. About to venture out of house in search of honey. Still hoping to be OK for cinema tonight. Illness has apparently caused highly terse writing style.
Re: I'm going to regret this...
Date: 2005-02-02 05:31 am (UTC)That includes the blank lines between chains (all 50 of them in the first case).
I'm using shorewall to create them.
That covers...
General policy rules: allow outgoing, block incoming etc. (I've actually got three zones, including the firewall as one. So there are 7 policies in total)
Specific overrides: redirect incoming SSH, DNS, SMTP.
And a whole load of "generic" modules that Shorewall creates, to control assorted "standard" options, such as SSH, DNS, SMB, etc. (So the DNS rule mentioned above actually just calls the generic DNS one. Which is two lines long).
1000 lines, for home use, seems excessive!
But possibly the best way to debug it is for somebody to walk through them by hand.
Re: I'm going to regret this...
Date: 2005-02-02 06:10 am (UTC)It hasn't helped that I've spend most of yesterday and today chasing a red herring that was nothing to do with the firewalling. I'm not even sure that the problem with the vpn software I use is firewall related either (it's just the most obvious thing that's changed since it stopped working). The vpn software is hand-rolled by technogods, and is thus a complete black box to me, and I have no real clue when it comes to debugging problems with it. All I can do is sit here rather lamely and go "but it doesn't work", and thus earn the derision of said techogod, which I'm not really up to coping with in my current ill state.
Re: I'm going to regret this...
Date: 2005-02-02 06:17 am (UTC)Re: I'm going to regret this...
Date: 2005-02-02 06:42 am (UTC)Given that I don't use FireHOL, I'm unable to debug it directly. OTOH, I can (or could: I'm rusty) write IPtables directly, so I might be able to tell you what's wrong, if I had the whole set of rules. And then we'd have to work out what FireHOL config was setting that up. Can't think of anything else to usefully suggest without access to the machine :)
Re: I'm going to regret this...
Date: 2005-02-02 09:47 am (UTC)It's probably a bad idea at this point (as in, don't change things at random until you know what went wrong), but you could try the other hand-rolled vpn software...
In protocol terms it places fewer requirements on a firewall than udptunnel; it only requires UDP connectivity on one fixed (incoming) port and doesn't need ssh, an account on the firewall machine for peer sites, etc.
I believe it's easier to get working than udptunnel, but I expect I'm very biased. Other users might give you a more useful opinion.