Answer the question
In order to leave comments, you need to log in
How to allow access to the Internet from only one IP address?
Hello. I'm trying to make it so that you can only access the Internet using vpn -
sudo iptables -A INPUT ! -s АЙПИ -j DROP
sudo iptables -A OUTPUT ! -s АЙПИ -j DROP
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