Answer the question
In order to leave comments, you need to log in
How to reconfigure IPTABLES?
Good afternoon.
We have:
Ubuntu latest version.
Unsecured public WIFI, through which, supposedly, you can get to my files on the computer.
iptables:# Generated by iptables-save v1.6.0 on Fri Apr 22 21:46:29 2016
*filter
:INPUT DROP [0:0]
:FORWARD DROP [0:0]
:OUTPUT DROP [0:0]
-A INPUT -s 192.168.1.0/24 -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A INPUT -s 8.8.8.8/32 -j ACCEPT
-A INPUT -p udp -m udp --sport 1194 -j ACCEPT
-A INPUT -i tun0 -j ACCEPT
-A OUTPUT -d 192.168.1.0/24 -j ACCEPT
-A OUTPUT -o lo -j ACCEPT
-A OUTPUT -d 8.8.8.8/32 -j ACCEPT
-A OUTPUT -p udp -m udp --dport 1194 -j ACCEPT
-A OUTPUT -o tun0 -j ACCEPT
COMMIT
# Completed on Fri Apr 22 21:46:29 2016
# Generated by iptables-save v1.6.0 on Fri Apr 22 21:46:29 2016
*nat
:PREROUTING ACCEPT [0:0 ]
:INPUT ACCEPT [0:0]
:OUTPUT ACCEPT [15:994]
:POSTROUTING ACCEPT [15:994]
COMMIT # Completed
on
Fri Apr 22 21:46:29 2016
______
from two IP addresses (let's make them in the template as 1.1.1.1 and 2.2.2.2) + block access to all other ip addresses (VPN leak protection) + block access to the computer via WIFI or wire (generally deny access to the local network by any means )?
I will be grateful for your answers.
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