home
-
all
|
technology
-
piracy
-
linux
-
selfhosted
-
world
-
memes
-
asklemmy
-
privacy
-
games
-
nostupidquestions
-
opensource
-
mildlyinfuriating
-
youshouldknow
-
fediverse
-
showerthoughts
-
technology
-
programmerhumor
-
technology
-
lemmyshitpost
-
worldnews
-
more ยป
log in
or
sign up
|
settings
Torro@programming.dev
overview
How can I prevent my PC from connecting to the internet without a VPN connection?
by
Torro
in
c/linux4noobs@programming.dev
[-]
Torro@programming.dev
1 points
2 years ago
iptables -I OUTPUT -o $NIC_IF ! -d $VPN_REMOTE -j DROP
permalink
fedilink
source
Torro
0
post score
0
comment score
joined 3 years ago
iptables -I OUTPUT -o $NIC_IF ! -d $VPN_REMOTE -j DROP