• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
sharadchhetri

sharadchhetri

Tutorials On Linux, Unix & Open Source

  • Home
  • Linux Commands
  • Resources
    • Learn Linux
  • My WordPress plugins

Allow wget and yum in iptable

June 28, 2013 by Sharad Chhetri Leave a Comment

Allow wget in iptable

Today when I was trying to do wget from my server I found it did not allow me to do it. Then I check with yum command also and found the error message "Couldn't resolve host 'some.domainname.com'". It seems the iptables rule in Server is not allowing to wget and yum.
I set new allow rule for DNS i.e port no. 53 and it works.

IPTABLE version : iptables-1.4.7-9.el6.x86_64

iptables -A OUTPUT -p udp -m udp --dport 53 -j ACCEPT

Share this:

  • Twitter
  • Facebook
  • More
  • Print
  • Email
  • LinkedIn
  • Reddit
  • Tumblr
  • Pinterest
  • Pocket
  • Telegram
  • WhatsApp
  • Mastodon

Related posts:

  1. wget : continue download of the file
  2. Allow only members of Wheel group to use su command on RHEL/CentOS
  3. Allow root ssh login in FreeBSD 9.0
  4. Installing Nagios-3.5.0 in CentOS 6.4 using yum
  5. Install libjpegtran by using yum command in CentOS 6.x
  6. Yum Error database disk image is malformed
  7. Yum command to download rpm file without installing in linux system
  8. There are unfinished transactions remaining. You might consider running yum-complete-transaction
  9. Install MariaDB Server 10 on CentOS 7 and RHEL 7 by using yum
  10. Install php 5.4 on CentOS 6 with yum command

Filed Under: Linux, Tips And Tricks Tagged With: iptable

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

Our Social Media Presence

  • Facebook
  • GitHub
  • Twitter

Linux Command

What is Linux Internal And External Command

Linux Basic Commands With Examples For Every Beginner

tr command to convert lines to space , tab and vertical tab

smbpasswd command not found on CentOS 7 and RHEL 7

Solution : semanage command not found

Unix / Linux : How to print duplicate lines from file

More Posts from this Category

You Might Like These Articles!

simplecodesyntax wordpress plugin

SimpleCodeSyntax : My Another WordPress Plugin

Install Nginx

How To Install Nginx On Ubuntu 22.04 LTS

Install Latest Git package in Ubuntu Operating System

How To Always Install Latest Git Package In Ubuntu Operating System

Bash script for installing VirtualBox on Ubuntu 22.04 LTS Desktop

Install VirtualBox On Ubuntu 22.04 LTS Desktop (Bash Script)

libfuse

dlopen(): error loading libfuse.so.2 – Got Error On Ubuntu

Failed to open/create the internal network

VirtualBox Error: Failed to open/create the internal network

Always Useful Tips And Tricks

How to empty Trash through command line in Ubuntu

AttributeError: ‘WSGIRequest’ object has no attribute ‘session’ Django python web framework

df command not showing correct free space in linux

Error: Could not stat() command file ‘/var/lib/nagios3/rw/nagios.cmd’!

How to change smtp port number 25 in postfix

Install libjpegtran by using yum command in CentOS 6.x

How to see system load average in terminal with graphical representation

Explore 90+ Article On "Linux Tips And Tricks"

Copyright © 2023 ยท
The material in this site cannot be republished either online or offline, without our permission.
Proudly Blogging From Bharat.

  • Contact
  • About Me
  • My WordPress plugins
  • Privacy Policy