Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-17-2003, 04:17 PM   #1
LQ Newbie
Registered: Nov 2003
Location: Pittsburgh, PA
Distribution: Redhat 9
Posts: 8

Rep: Reputation: 0
IPTables err with TRACEROUTE

I get a confiuration error when setting up my firewall with IPTables. The lines that are causing the problems are:

# -------------------
# Commented this out to see if this was the issue 1
iptables -A OUTPUT -o $EXTERNAL_INTERFACE -p udp \
-s $IPADDR --source-port $TRACEROUTE_SRC_PORTS \
--destination-port $TRACEROUTE_DEST_PORTS -j LOG
iptables -A OUTPUT -o $EXTERNAL_INTERFACE -p udp \
-s $IPADDR --source-port $TRACEROUTE_SRC_PORTS \
--destination-port $TRACEROUTE_DEST_PORTS -j ACCEPT

I ended up commenting them out but want to figure out what the underlying issue is. The error states that there is a problem with the UDP --destination-port.

If you need the rest of the file I can post it - its big though.

Thanks in advance.
Old 11-17-2003, 04:58 PM   #2
Registered: Jan 2003
Location: Poland, Warsaw
Distribution: LFS, Gentoo
Posts: 591

Rep: Reputation: 32
post the values for all variable (mainly $TRACEROUTE_DEST_PORTS)
Old 11-18-2003, 07:50 AM   #3
LQ Newbie
Registered: Nov 2003
Location: Pittsburgh, PA
Distribution: Redhat 9
Posts: 8

Original Poster
Rep: Reputation: 0
No entry in code

I am using the tool to configure my iptables - it does not list a variable for the TRACEROUTE_DEST_PORTS or TRACEROUTE_SRC_PORTS. Not sure how I should code these variables.

The TRACEROUTE_DEST_PORTS would vary based on the traceroute inputted and the TRACEROUTE_SRC_PORTS would be either my internal (eth1) or external IP (eth0).



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
traceroute overproof Linux - Newbie 5 02-01-2015 05:30 PM
[IPTABLES] Traceroute wesleywestervel Linux - Security 3 06-30-2005 01:32 PM
Dual system boot err: rootnoverify(hd1,0),but the hd0 err msg existed befor shut down lilipeng24 Linux - General 3 06-25-2005 12:10 PM
Traceroute help sikandar Linux - Software 1 09-23-2003 12:15 AM
Traceroute for RH 7.3 aushelp Linux - Networking 2 08-11-2002 02:40 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:24 AM.

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