Skip to content

Custom ip rule switcher allowing diffrent gateway and routes for selected IP addresses

Notifications You must be signed in to change notification settings

Bram-diederik/ip-rule-switcher

Repository files navigation

broken will publish a better replacement very soon.

ip-rule-switcher

allows management of internet access for IPV4 devices. to deny internet access or use an alternative gateway like a vpn.

start up.

edit /etc/systemd/system/ip-rule-switcher.service

[Unit]
Description=IP Rule Switcher
After=network.target

[Service]
ExecStart=/usr/bin/php /opt/ip-rule-switcher/start.php
ExecStart=/usr/bin/php /opt/ip-rule-switcher/start_ha.php

[Install]
WantedBy=multi-user.target
sudo chmod 644 /etc/systemd/system/ip-rule-switcher.service
sudo systemctl daemon-reload
sudo systemctl enable ip-rule-switcher.service

About

Custom ip rule switcher allowing diffrent gateway and routes for selected IP addresses

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published