# Can't find libiptc or iptables-legacy in Rocky 10

**URL:** <https://forums.rockylinux.org/t/cant-find-libiptc-or-iptables-legacy-in-rocky-10/19542>\
**Category:** Rocky Linux Help & Support\
**Created:** [August 29, 2025, 3:47am UTC](https://forums.rockylinux.org/t/cant-find-libiptc-or-iptables-legacy-in-rocky-10/19542 "2025-08-29T03:47:58Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![davidvoisonics](https://avatars.discourse-cdn.com/v4/letter/d/c89c15/32.png) [@davidvoisonics](https://forums.rockylinux.org/u/davidvoisonics)\
**Post date:** [August 29, 2025, 3:47am UTC](https://forums.rockylinux.org/t/cant-find-libiptc-or-iptables-legacy-in-rocky-10/19542/1 "2025-08-29T03:47:58Z")

</div>

We’re compiling some software that requires libiptc.h, which in Rocky 8 was provided by the iptables-devel package.

As best I can tell, libiptc hasn’t been part of iptable-devel since Rocky 9 when it was moved to iptables-legacy in the EPEL, at least according to Google search. There was a discussion about removing it from RHEL here:

> **[1817265 – \[spec\] Disable libiptc support in RHEL8](https://bugzilla.redhat.com/show_bug.cgi?id=1817265)**

If it was available in iptables-legacy in the EPEL that would be fine for us, but for Rocky 10 at least there doesn’t seem to be any iptables-legacy package in the EPEL.

Can anyone help us answer the question of whether and where libiptc might be available for Rocky 10? Thanks in advance!

---

<div class="post-metadata">

**Author:** ![Ritov](https://avatars.discourse-cdn.com/v4/letter/r/3ec8ea/32.png) [@Ritov](https://forums.rockylinux.org/u/Ritov)\
**Post date:** [August 29, 2025, 12:39pm UTC](https://forums.rockylinux.org/t/cant-find-libiptc-or-iptables-legacy-in-rocky-10/19542/2 "2025-08-29T12:39:27Z")

</div>

> **[Requesting a new package in EPEL](https://docs.fedoraproject.org/en-US/epel/epel-package-request/)**
>
> Learn more about Fedora Linux, the Fedora Project & the Fedora Community.

---

<div class="post-metadata">

**Author:** ![iwalker](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/iwalker/32/2599_2.png) [@iwalker](https://forums.rockylinux.org/u/iwalker)\
**Post date:** [August 29, 2025, 1:34pm UTC](https://forums.rockylinux.org/t/cant-find-libiptc-or-iptables-legacy-in-rocky-10/19542/3 "2025-08-29T13:34:25Z")

</div>

You can also get the iptables source rpm from Fedora 42 which is the same version in EL10 and it should be possible to build that using mock.

See: [iptables-1.8.11-8.fc42 | Build Info | koji](https://koji.fedoraproject.org/koji/buildinfo?buildID=2717430) for the source rpms. Otherwise, it will require as @Ritov has suggested by making a package request to EPEL so that they build it. For a one-off, I’d probably try building myself, but sometimes it doesn’t always work due to lack of dependencies or whatnot.

---

<div class="post-metadata">

**Author:** ![davidvoisonics](https://avatars.discourse-cdn.com/v4/letter/d/c89c15/32.png) [@davidvoisonics](https://forums.rockylinux.org/u/davidvoisonics)\
**Post date:** [August 29, 2025, 9:26pm UTC](https://forums.rockylinux.org/t/cant-find-libiptc-or-iptables-legacy-in-rocky-10/19542/4 "2025-08-29T21:26:01Z")

</div>

> [@davidvoisonics](#):
>
> iptables-legacy

Thanks everyone! It’s not a one-off build so I’ve opened a request for an EPEL package:

> **[2391956 – Please branch and build iptables-legacy and iptables-legacy-devel...](https://bugzilla.redhat.com/show_bug.cgi?id=2391956)**

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/rockylinux/original/1X/91b7219eec10e30013422e4df76c1d898711a5d5.svg) [@system](https://forums.rockylinux.org/u/system)\
**Post date:** [October 28, 2025, 9:26pm UTC](https://forums.rockylinux.org/t/cant-find-libiptc-or-iptables-legacy-in-rocky-10/19542/5 "2025-10-28T21:26:40Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
