Solved

iptable udp forword

Posted on 2007-03-27
4
341 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

Optimum High-Definition Video Viewing and Control

The ATEN VM0404HA 4x4 4K HDMI Matrix Switch supports 4K resolutions of UHD (3840 x 2160) and DCI (4096 x 2160) with refresh rates of 30 Hz (4:4:4) and 60 Hz (4:2:0). It is ideal for applications where the routing of 4K digital signals is required.

Question has a verified solution.

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

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
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 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.:
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

636 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