home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.os.linux.suse      Suse is actually not that bad      138,051 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 137,584 of 138,051   
   Bit Twister to Mohan   
   Re: How to configure Iptables in OpenSus   
   01 Sep 22 09:41:38   
   
   From: BitTwister@mouse-potato.com   
      
   On Thu, 1 Sep 2022 07:22:56 -0700 (PDT), Mohan wrote:   
   > Hello Experts,   
   >   
   > I am using "openSUSE 12.3" and "iptables version : v1.4.16.3"   
   >   
   > I am trying to enable the iptables rules to allow `22` port for all IPs and   
   `80` & `443` for specific IP addresses with the below commands.   
   >   
   > 1)  iptables -A INPUT -p tcp -s 0/0 --dport 22 -j ACCEPT   
   > 2) iptables -A INPUT -p tcp -s 10.11.12.50 --dport 80 -j ACCEPT   
   > 3) iptables -A INPUT -p tcp -s 10.11.12.50 --dport 443 -j ACCEPT   
   >   
   > Then i have restarted the iptables service with below command,   
   >   
   > service SuSEfirewall2 restart   
   >   
   > However from `10.11.12.50` address web server with `80` & `443` are not   
   accessible.   
      
   I do not know iptables enough to point out where you have the problem, but   
   I have seen that kind of message when a prior rule prevented the new rule   
   from being accessed.   
      
   Solution for that user was to move the new rule above the rule causing the   
   conflict.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca