Pegasi Wiki

This wiki acts as a memo for our own work so why not share them? Feel free to browse and use out notes and leave a note while at it.

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
opensuse_iptables [2017/11/06 10:11]
127.0.0.1 external edit
opensuse_iptables [2020/03/09 09:42] (current)
Pekka Kuronen
Line 1: Line 1:
 ====== Replace SuSE Firewall with /​etc/​sysconfig/​iptables ====== ====== Replace SuSE Firewall with /​etc/​sysconfig/​iptables ======
 +
 +Updated 09.03.2020 for OpenSuse Leap 15.1. I needed to allow all access from my local virtual guest to my Linux box. Why an earth would I go through multiple steps and custom scripts when I can accomplish my access with a one simple line in /​etc/​sysconfig/​iptables?​ All in all my iptables config is just a few lines, compared to multiple files and custom scripts of SuSEFirewall.
  
 I tried to say it in a decent manner but I just cannot keep this inside me. SuSEfirewall is just terrible. But that is just me who has used /​etc/​sysconfig/​iptables since its arrival to CentOS / RHEL. I am sure it manages to do well when in client use but still I think it is important to learn to use iptables so you know what you're really doing. And if you're ever into servers then you must do it like this anyway. I tried to say it in a decent manner but I just cannot keep this inside me. SuSEfirewall is just terrible. But that is just me who has used /​etc/​sysconfig/​iptables since its arrival to CentOS / RHEL. I am sure it manages to do well when in client use but still I think it is important to learn to use iptables so you know what you're really doing. And if you're ever into servers then you must do it like this anyway.
  
-===== Remove ​SuSEfirewall and install iptables =====+===== Disabled ​SuSEfirewall and install iptables =====
  
 <​code>​ <​code>​
-zypper rm SuSEfirewall2+systemctl stop firewalld 
 +systemctl disable firewalld
 zypper in iptables zypper in iptables
 </​code>​ </​code>​

  //check if we are running within the DokuWiki environment if (!defined("DOKU_INC")){ die(); } //place the needed HTML source codes BELOW this line