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
Solved

iptable udp forword

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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Linux boot cd to do hardware report on PC? 3 53
Can't ping New Linux Servers 40 89
lunix and unix command 21 85
RHEL installation problems on HP Proliant DL 360 G6 server 20 59
Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

809 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