LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-09-2003, 02:21 PM   #1
countcobolt
LQ Newbie
 
Registered: Nov 2002
Location: Belgium
Distribution: Slackware
Posts: 25

Rep: Reputation: 15
ntpdate + firewall + no update


Hi Everybody,

I've been working on a webserver which has firewalling on it.
I really need to get ntpdate up and running, as the shop software uses date to confirm when something was ordered.
Now, when I try to do ntpdate ntp.pandora.be I get
no server suitable for synchronization found
When dropping the firewall everything's ok.
I have a kernel log on iptables and this give me the following output:
Dec 9 21:16:48 webserver kernel: UDP DROPIN=eth0 OUT= MAC=macaddress SRC=195.13.23.5 DST=192.168.0.74 LEN=76 TOS=0x00 TTL=52 PROTO=UDP SPT=123 DPT=123 LEN=56

I have opened input and output for udp port 123
Can anyone help me?
thx
Steve
 
Old 12-09-2003, 03:03 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Re: ntpdate + firewall + no update

Quote:
Originally posted by countcobolt
I have opened input and output for udp port 123
Can anyone help me?
Bearing in mind that iptables traverses the rules
in top -> bottom order? Is your allow 123 before
the generic UDP drop? :)


Cheers,
Tink
 
Old 12-09-2003, 03:08 PM   #3
countcobolt
LQ Newbie
 
Registered: Nov 2002
Location: Belgium
Distribution: Slackware
Posts: 25

Original Poster
Rep: Reputation: 15
yes, that was the problem
thx for helping
put it after that rule and all is ok
 
Old 12-09-2003, 03:50 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Pleasure mate :} .... feel free to give me an affero
if it's not too much of a hassle ;)



Cheers,
Tink (pushy bastard - wants another gift from affero :})
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cronjob ntpdate error rubella Linux - General 2 11-09-2005 09:40 AM
NTPDATE will *NOT* work jon_k Linux - Software 8 01-02-2005 05:41 AM
ntpdate and port adcripps Linux - General 2 09-06-2002 04:38 AM
ntpdate installation. Oberon_sedai Linux - Newbie 1 12-06-2001 10:27 AM
ntpdate/system freezing ctwarchol Linux - General 0 10-18-2001 09:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration