Find the answer to your Linux question:
Results 1 to 2 of 2
my mail server is trying to access other computers 22 port. how can i create a firewall rule to ristrict above access, i.e i wanted, no one can access others ...
  1. #1
    Just Joined!
    Join Date
    Jul 2005
    Location
    Sri Lanka
    Posts
    23

    About ssh and iptables

    my mail server is trying to access other computers 22 port.
    how can i create a firewall rule to ristrict above access, i.e i wanted, no one can access others ssh port from my mail server.

  2. #2
    Linux Engineer
    Join Date
    Apr 2005
    Location
    Buenos Aires, Argentina
    Posts
    908
    iptables -A INPUT -p tcp -s your_mail_server_ip -j DROP
    serzsite.com.ar
    "All the drugs in this world won\'t save you from yourself"

Posting Permissions

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