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,585 of 138,051   
   Carlos E.R. to Mohan   
   Re: How to configure Iptables in OpenSus   
   01 Sep 22 21:59:50   
   
   From: robin_listas@es.invalid   
      
   On 2022-09-01 16:22, Mohan wrote:   
   > Hello Experts,   
   >   
   > I am using "openSUSE 12.3" and "iptables version : v1.4.16.3"   
      
   That's obsolete and out of support.   
      
   >   
   > 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   
      
   I don't think you can use iptables and SuSEfirewall2 simultaneously   
   unless you know better.   
      
   If you want to open those ports with SuSEfirewall2 alone, then I can help.   
      
   --   
   Cheers, Carlos.   
      
   --- 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