Find the answer to your Linux question:
Page 2 of 2 FirstFirst 1 2
Results 11 to 12 of 12
Nice! Thanks for the great link, and your assistance. Have a great weekend. Gary...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #11
    Just Joined!
    Join Date
    Jun 2006
    Posts
    10

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

    Gary

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

    Code:
    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.

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

Page 2 of 2 FirstFirst 1 2

Posting Permissions

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