Solved

iptable udp forword

Posted on 2007-03-27
4
332 Views
Last Modified: 2013-12-16
I have RedHat linux 10.0.0.202
i want to open up my iptables firewall on 10.0.0.202 to allow UDP Port 123 from 10.0.0.200
0
Comment
Question by:mukhtar2t
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 14

Accepted Solution

by:
pablouruguay earned 500 total points
ID: 18801901
this line

iptables -A INPUT -p udp -m udp -d 10.0.0.202 -s 10.0.0.200 --dport  123 -j ACCEPT
0
 
LVL 4

Author Comment

by:mukhtar2t
ID: 18802017
after i excute this line how i can show it is success.
is there any command to show the result
0
 
LVL 14

Expert Comment

by:pablouruguay
ID: 18802617

iptables -L

the letter L is in uppercase

root@sonysz:~# iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination        
ACCEPT     udp  --  10.0.0.200           10.0.0.202          udp dpt:ntp


that is the result of succes application
0
 
LVL 4

Author Comment

by:mukhtar2t
ID: 18802670
I hope my god give you a good
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

735 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question