I'm not familiar with that OS in particular, but yes, IPTables can restrict egress to certain IP space very simply.
this post was submitted on 27 Nov 2023
1 points (100.0% liked)
Homelab
380 readers
9 users here now
Rules
- Be Civil.
- Post about your homelab, discussion of your homelab, questions you may have, or general discussion about transition your skill from the homelab to the workplace.
- No memes or potato images.
- We love detailed homelab builds, especially network diagrams!
- Report any posts that you feel should be brought to our attention.
- Please no shitposting or blogspam.
- No Referral Linking.
- Keep piracy discussion off of this community
founded 1 year ago
MODERATORS
It's like openwrt or freshtomato firmware but specifically for asus routers. Do you happen to know how to do this? I've tried normal rules, but that seems to only apply the router itself rather than the network traffic routing through it.
Ah. I'm not sure on that specific setup sorry, but sounds like you may need to check what chains already exist and see if there are ones for the right network interfaces. I'm familiar with IPTables itself only, not the Asus openwrt!
If there's no (usable) iptable option you can always just route the IPs/subets to a non existing gateway.