home
-
all
|
technology
-
piracy
-
linux
-
memes
-
asklemmy
-
selfhosted
-
world
-
technology
-
nostupidquestions
-
mildlyinfuriating
-
technology
-
youshouldknow
-
games
-
programmerhumor
-
worldnews
-
privacy
-
opensource
-
gaming
-
showerthoughts
-
lemmyworld
-
more »
log in
or
sign up
|
settings
Torro@programming.dev
overview
[+]
[–]
Torro
joined 1 year ago
sorted by:
new
top
controversial
old
How can I prevent my PC from connecting to the internet without a VPN connection?
in
c/linux4noobs@programming.dev
[–]
Torro@programming.dev
1 points
6 months ago
iptables -I OUTPUT -o $NIC_IF ! -d $VPN_REMOTE -j DROP
permalink
fedilink
source
iptables -I OUTPUT -o $NIC_IF ! -d $VPN_REMOTE -j DROP