Ysurac / openmptcprouter

OpenMPTCProuter is an open source solution to aggregate multiple internet connections using Multipath TCP (MPTCP) on OpenWrt
https://www.openmptcprouter.com/
GNU General Public License v3.0
1.8k stars 258 forks source link

Block IP Adress on Raspberry Pie #3376

Closed jansiebks closed 3 weeks ago

jansiebks commented 3 months ago

Expected Behavior

Hello Community, I provide a private IPTV server after my Raspberry PI with openmptcprouter. The server streams to the Internet via port forwarding. This works perfectly. I want to set the option to only allow IP addresses from 37.0.0.0 to 38.0.0.0 to access the server. Other IP addresses should be blocked.

Can you give me a tip on how I can set this up on the Raspberry Pie?

Ysurac commented 3 months ago

On the VPS, in /etc/shorewall/rules find the line with the forward rule, and in net column, replace net by net:37.0.0.0.-38.0.0.0 Then systemctl restart shorewall

github-actions[bot] commented 3 weeks ago

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 5 days