mirror of
https://github.com/MarkusMcNugen/docker-qBittorrentvpn
synced 2024-11-22 18:45:25 +00:00
Update iptables.sh
This commit is contained in:
parent
818d894fe9
commit
4690315f67
@ -39,7 +39,7 @@ if [[ $iptable_mangle_exit_code == 0 ]]; then
|
||||
echo "[info] iptable_mangle support detected, adding fwmark for tables"
|
||||
|
||||
# setup route for deluge webui using set-mark to route traffic for port 8112 to eth0
|
||||
echo "8112 webui" >> /etc/iproute2/rt_tables
|
||||
echo "8080 webui" >> /etc/iproute2/rt_tables
|
||||
ip rule add fwmark 1 table webui
|
||||
ip route add default via $DEFAULT_GATEWAY table webui
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user