Help on ipfw

Toli skis do not go whether I'm standing on the pavement...

The task is to deny access to the Internet without a VPN. As I see it:
— allow all traffic through tun0
— deny outgoing traffic on all other interfaces except 1.1.1.1 (the VPN server)

All other interfaces to transfer to ipfw is impossible, since it can be added is unknown (e.g. iota)

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 negates all previous and outbound traffic is completely blocked.

UPDATE: the effect of a given issue. Found the error, not the IP), and XS how to remove the topic.
October 8th 19 at 00:19
0 answer

Find more questions by tags ipfirewall* nix-like systems