Networking Forums

Networking Forums > Computer Networking > Linux Networking > appropriate iptables rules for a website with dynamic DNS

Reply
Thread Tools Display Modes

appropriate iptables rules for a website with dynamic DNS

 
 
Wenjie
Guest
Posts: n/a

 
      09-08-2003, 11:37 AM
Hello again,


I have an apache server with a router and then the ADSL modem
connected
to the internet. I have a domain name for the website and use a dyn
DNS
service. Now I wonder if my redhat 8.0 iptables setting is good or not
since my friends experience freezing problems when they surf the
website
with 'forward' 'back' 'refresh' of IE6.x buttons:

/sbin/iptables --list
Chain INPUT (policy ACCEPT)
target prot opt source destination
RH-Lokkit-0-50-INPUT all -- anywhere anywhere

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

Chain RH-Lokkit-0-50-INPUT (1 references)
target prot opt source destination
ACCEPT udp -- MY_ISP_DNS_SERVER1 anywhere udp
spt:domain dpts:1025:65535
ACCEPT udp -- MY_ISP_DNS_SERVER2 anywhere udp
spt:domain dpts:1025:65535
ACCEPT tcp -- anywhere anywhere tcp
dpt:http flags:SYN,RST,ACK/SYN
ACCEPT tcp -- anywhere anywhere tcp
dpt:ssh flags:SYN,RST,ACK/SYN
ACCEPT all -- anywhere anywhere
REJECT tcp -- anywhere anywhere tcp
flags:SYN,RST,ACK/SYN reject-with icmp-port-unreachable
REJECT udp -- anywhere anywhere udp
reject-with icmp-port-unreachable


I actually don't add the following entries to the iptables:
ACCEPT udp -- MY_ISP_DNS_SERVER1 anywhere udp
spt:domain dpts:1025:65535
ACCEPT udp -- MY_ISP_DNS_SERVER2 anywhere udp
spt:domain dpts:1025:65535

Anyway, could you please verify whether my iptables setting is
appropriate
for a web sever? If not, how could I change it properly?


Thanks and best regards,
Wenjie
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Iptables: rules not applied? julien Linux Networking 2 08-03-2008 05:05 PM
Iptables and rules from database ? snowi@ras.pl Linux Networking 0 10-16-2005 11:20 AM
Looking for iptables applications code (iptables.c) to run some rules to forward packets tvnaidu@yahoo.com Linux Networking 2 01-17-2005 05:01 PM
Dynamic DNS and website development Adrian P. Ireland Linux Networking 3 01-26-2004 07:44 PM
iptables rules for vonage Rob Ristroph Linux Networking 0 10-02-2003 06:44 AM



1 2 3 4 5 6 7 8 9 10 11