Find the answer to your Linux question:
Page 2 of 2 FirstFirst 1 2
Results 11 to 12 of 12
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #11

    Nice! Thanks for the great link, and your assistance. Have a great weekend.


  2. #12
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    The Keystone State
    The stuff in that link is an over kill. Simple and gets the job done;

    iptables -A INPUT --dport 53 -state --state NEW -j ACCEPT
    iptables -A OUTPUT -state --state ESTABLISHED,RELATED -j ACCEPT
    By just using the port and not the protocol all traffic on port 53 TCP or UDP is accepted. Source ports are not required and can be skipped. The second line is just ensuring that the reply traffic is allowed out. The above lines are only for DNS you still would need to configure rules for other traffic.

    Do not forget to start with a locked down system and then open only the ports that are required.


    The adventure of a life time.

    Linux User #296285
    Get Counted

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts