Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
kuckucksmuehle:hackerspace:firewall [2018/02/26 19:02] – kimparker | kuckucksmuehle:hackerspace:firewall [2018/03/22 18:20] (current) – add information how to handle network disturbance kimparker | ||
---|---|---|---|
Line 28: | Line 28: | ||
Outbound Nat Rules make sure that no traffic from the internal network is sent to the internet when the VPN is not up | Outbound Nat Rules make sure that no traffic from the internal network is sent to the internet when the VPN is not up | ||
- | =============================== | + | ==== Handle Network Disturbances |
- | We have at the moment a Debain running on a Z-Box (will be changed in the future). And configured the rules with " | + | |
- | There are several configurations in the ''/ | + | Sometimes it is required to check which device is responsible for traffic. In rare circumstances it is also required to shut that device off. |
- | '' | + | - Login to https://192.168.1.1 |
- | + | - Open " | |
- | This file is loaded every time the VPN connection state changes with a udev rule. It ensures that traffic is only forwarded through the VPN and never leaves the box unless it is VPN traffic or DNS traffic to a limited set of servers. | + | - Open " |
- | + | - Open " | |
- | '' | + | - Find the device causing traffic, look up the IP in the arp-table (gives more info like manufacturer) |
- | + | - Open " | |
- | This file is used to unlock | + | - Duplicate |
- | + | ||
- | '' | + | |
- | + | ||
- | This script is used to switch between uplinks (satellite or DSL) using a cron job. It is configured to shut down the VPN, set a different configuration (TCP for satellite, UDP for DSL) and trigger | + | |
- | + | ||
- | '' | + | |
- | + | ||
- | At the moment the router switches at night to the satelite, to use the flatrate of the satelite between 0: | + | |