iptables questions
From: uncle_seb (uncle_seb@hushmail.com)Date: 01/04/02
- Next message: Billy Jiggs: "Re: IPChains bug or DoS?"
- Previous message: Dean Thompson: "Re: How to allow Pcanywhere client to go through iptables firewall"
- Next in thread: Tim Haynes: "Re: iptables questions"
- Reply: Tim Haynes: "Re: iptables questions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: uncle_seb@hushmail.com (uncle_seb) Date: 4 Jan 2002 05:48:30 -0800
Hello,
I'm transitionning from ipchains to iptables and everything has been
alright so far (though tedious), but I still have a couple of
unanswered questions. To my sense, there is a lack of readable/useful
documentation. My questions specifically concern masquerading
firewalls.
- Can I assume that '-m state --state ESTABLISHED' has no sense in the
FORWARD chain because if no connection has been established from my
LAN to the outside world, the packet will be handled by the INPUT
chain (considering its destination IP address is that of the outside
world interface and there is no such connection in the masquerading
table) ?
- How does UDP forwarding work? Is it protocol-driven? With INPUT and
FORWARD default policies set to DROP and unconditional LAN <-->
Internet FORWARD/MASQUERADE, DNS seems to work ok. Is this because
ipchains has knowledge of the DNS protocol and considers an outgoing
datagram to port 53 as a connection? If so, what protocols are
supported and how would I go about having other protocols recognised?
- My masqueraded Internet connection uses ADSL, i.e. the channel
between my outside world interface and my ISP is private. Does it make
sense to implement PREROUTING rules in the NAT table to refuse
non-routable IP addresses? I expect my ISP would not route packets
originating from such addresses and I thought about removing these
rules for performance reasons. What do you think?
- Last but not least: is it really impossible to combine a DROP and a
LOG target? The fact that you have to match the same pattern twice to
log and drop a packet because the LOG target does not stop chain
iteration does not make sense to me. I had to write a SORT chain to
sort between packets that should or should not be logged and I find it
really dumb.
Thanks for any suggestion !
uncle seb.
- Next message: Billy Jiggs: "Re: IPChains bug or DoS?"
- Previous message: Dean Thompson: "Re: How to allow Pcanywhere client to go through iptables firewall"
- Next in thread: Tim Haynes: "Re: iptables questions"
- Reply: Tim Haynes: "Re: iptables questions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|