Skip to content

IT Blog

Vyacheslav Gapon – personal blog, manuals, articles, notes, development

  • Русский
  • Popular categories
  • YouTube

Tag Archives: IPTables

Port forwarding in iptables on NAT server

Once I needed to forward a port to a VPN server that had a gray IP address and was behind NAT.

Continue reading “Port forwarding in iptables on NAT server”
Posted byVyacheslav06.11.202406.11.2024Posted inLinux, NetworksTags: IPTables, NATLeave a comment on Port forwarding in iptables on NAT server

Setting up nftables

In this article I will give examples of setting up nftables to replace the outdated iptables.

Continue reading “Setting up nftables”
Posted byVyacheslav13.02.202423.12.2024Posted inLinuxTags: firewall, IPTablesLeave a comment on Setting up nftables

IPTables. Blocking by MAC address

In this article, I will show examples of blocking MAC addresses in IPTables.

Continue reading “IPTables. Blocking by MAC address”
Posted byVyacheslav22.09.202002.05.2022Posted inLinuxTags: IPTablesLeave a comment on IPTables. Blocking by MAC address

How to save IPTables rules

In this article, I will describe several options for saving IPTables rules so that they load when the operating system starts.

Continue reading “How to save IPTables rules”
Posted byVyacheslav03.07.202003.07.2020Posted inLinuxTags: IPTablesLeave a comment on How to save IPTables rules

IPTables Rules for BGP

I will give an example of IPTables rules for BGP.

Continue reading “IPTables Rules for BGP”
Posted byVyacheslav11.03.202018.10.2022Posted inLinuxTags: BGP, IPTablesLeave a comment on IPTables Rules for BGP

IPTables rules for SNMP

In this article, I will give an example of IPTables rules for SNMP.
Let’s say “iptables -P INPUT DROP” is the default, which is very desirable.

Continue reading “IPTables rules for SNMP”
Posted byVyacheslav28.08.201928.08.2019Posted inLinuxTags: IPTables, SNMPLeave a comment on IPTables rules for SNMP

IPTables quick setup script

Sometimes it is necessary, for example, to delete all IPTables rules and to add only the necessary, so for convenience, you can specify them in the script, and then execute it.

Continue reading “IPTables quick setup script”
Posted byVyacheslav20.06.201912.04.2022Posted inLinux, ScriptsTags: IPTablesLeave a comment on IPTables quick setup script

How to configure IPTables

IPTables is a command line utility that is the standard interface for managing the firewall.

Continue reading “How to configure IPTables”
Posted byVyacheslav06.03.201906.11.2024Posted inLinux, SecurityTags: IPTablesLeave a comment on How to configure IPTables

IPTables rules for Asterisk AMI

Suppose the default “iptables -P INPUT ACCEPT” for all connections (and if DROP, which is very desirable, then we do not use all the DROP rules below, we only perform ACCEPT).

Since Asterisk AMI usually works on TCP port 5038, in order to open it we will execute:

Continue reading “IPTables rules for Asterisk AMI”
Posted byVyacheslav06.03.201906.03.2019Posted inAsteriskTags: IPTablesLeave a comment on IPTables rules for Asterisk AMI

Installing and using ipset

ipset – a tool consisting of a kernel module, libraries and utility, allowing you to organize a list of networks, IP or MAC addresses, etc., which is very convenient to use for example with IPTables.

Installation command in Ubuntu:

Continue reading “Installing and using ipset”
Posted byVyacheslav30.11.201818.06.2020Posted inLinux, NetworksTags: ipset, IPTablesLeave a comment on Installing and using ipset

Posts pagination

1 2 3 Older posts

Categories

Contacts
About it
Privacy
Subscribe by Email (EN)
Подписаться по Email (RU)
YouTube

При использовании материалов, активная ссылка на сайт ixnfo.com обязательна!
When using materials, an active link to ixnfo.com is required!

IT Blog © 2013-2025 Privacy Policy