mirror of
https://github.com/hwdsl2/setup-ipsec-vpn.git
synced 2026-05-17 08:05:45 +03:00
Update docs
This commit is contained in:
@@ -29,7 +29,7 @@ rm -f /etc/init/ipsec.conf /lib/systemd/system/ipsec.service \
|
||||
|
||||
`apt-get purge xl2tpd`
|
||||
|
||||
### CentOS/RHEL, Rocky Linux & Amazon Linux 2
|
||||
### CentOS/RHEL, Rocky Linux, AlmaLinux & Amazon Linux 2
|
||||
|
||||
`yum remove xl2tpd`
|
||||
|
||||
@@ -39,11 +39,11 @@ rm -f /etc/init/ipsec.conf /lib/systemd/system/ipsec.service \
|
||||
|
||||
Edit `/etc/iptables.rules` and remove unneeded rules. Your original rules (if any) are backed up as `/etc/iptables.rules.old-date-time`. In addition, edit `/etc/iptables/rules.v4` if the file exists.
|
||||
|
||||
### CentOS/RHEL, Rocky Linux & Amazon Linux 2
|
||||
### CentOS/RHEL, Rocky Linux, AlmaLinux & Amazon Linux 2
|
||||
|
||||
Edit `/etc/sysconfig/iptables` and remove unneeded rules. Your original rules (if any) are backed up as `/etc/sysconfig/iptables.old-date-time`.
|
||||
|
||||
**Note:** If using Rocky Linux or CentOS/RHEL 8 and firewalld was active during VPN setup, nftables may be configured. Edit `/etc/sysconfig/nftables.conf` and remove unneeded rules. Your original rules are backed up as `/etc/sysconfig/nftables.conf.old-date-time`.
|
||||
**Note:** If using Rocky Linux, AlmaLinux or CentOS/RHEL 8 and firewalld was active during VPN setup, nftables may be configured. Edit `/etc/sysconfig/nftables.conf` and remove unneeded rules. Your original rules are backed up as `/etc/sysconfig/nftables.conf.old-date-time`.
|
||||
|
||||
## Fourth step
|
||||
|
||||
|
||||
Reference in New Issue
Block a user