Re: [gentoo-user] iptables and servername

2005-06-11 Thread A. Khattri
On Thu, 9 Jun 2005, Patrick wrote:

 I'm having trouble with iptables and http.
 Before i have activated iptables i could access my server with a name in my 
 local /etc/hosts, after activating iptables i can only connect with the 
 ipaddress or his FQDN.
 This local name is different or does not exists in the host file on the 
 server.

 For ssh or ping i can use the server name.
 My rule:
 ACCEPT tcp  --  anywhere rivendell.arda.org  tcp 
 spts:1024:65535 dpt:http-alt state NEW
 ACCEPT tcp  --  192.168.123.0/24 rivendell.arda.org  tcp 
 spts:1024:65535 dpt:ssh state NEW

rivendell.arda.org doesn't seem to have a record on any DNS server I could
query for that domain. If the machine you firewalled is acting as a DNS
server then you should probably allow UDP and TCP traffic on port 53.


-- 

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] iptables and servername

2005-06-09 Thread Patrick
Hi,

I'm having trouble with iptables and http.
Before i have activated iptables i could access my server with a name in my 
local /etc/hosts, after activating iptables i can only connect with the 
ipaddress or his FQDN.
This local name is different or does not exists in the host file on the server.

For ssh or ping i can use the server name.
My rule:
ACCEPT tcp  --  anywhere rivendell.arda.org  tcp 
spts:1024:65535 dpt:http-alt state NEW
ACCEPT tcp  --  192.168.123.0/24 rivendell.arda.org  tcp 
spts:1024:65535 dpt:ssh state NEW


TIA
Patrick
-- 
gentoo-user@gentoo.org mailing list