iptables firewall

Discussion in 'Server Operation' started by admins, Dec 5, 2010.

  1. admins

    admins Member

    Hi all
    I need help with writing a iptables firewall for my server.

    Rules:

    Monitoring System= $IP1
    Remote System= $IP2
    Heartbeat System= $IP3

    Dissalow all inbound traffic,

    eth0 + eth0:0
    Allow inbound:
    Allow UDP Port 161 from $IP1
    Allow TCP Port 80 from all
    Allow TCP Port 443 from all
    Allow TCP Port 222 from $IP2
    Allow UDP Port 694 from $IP3

    How could show the result?

    Thanks
    admins
     

Share This Page