Answer the question
In order to leave comments, you need to log in
Help with ipfw
Tolley skis do not go, roofing felts I stand on the pavement ...
The task is to prohibit access to the Internet without a VPN. As I see it:
- allow any traffic through tun0
- deny outgoing traffic on all other interfaces everywhere except 1.1.1.1 (vpn server)
All other interfaces cannot be listed in ipfw, because unknowns can be added (an iota for example)
I write:
100 allow ip from any to any via lo0
200 allow ip from any to any via tun0
300 allow ip from me to 1.1.1.1
1000 deny ip from me to any
The last line crosses out all previous and outgoing traffic is completely blocked.
UPDATE: The effect of the question asked. I found an error, I wrote the wrong IP) Xs how to delete a topic.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question