, 24 2017 . 15:02
+
, , ssh tunnel.
:
( ) , ( eth0).
:
openssh-client ssh linux.
autossh ssh , .
sshpass ssh .
redsocks socks- .
isc-dhcp-server dhcp .
iptables , .
, . DHCP .
:
apt install isc-dhcp-server
:
nano /etc/network/interfaces
# IP DHCP wlan0:
auto wlan0
iface wlan0 inet static
address 192.168.1.100
netmask 255.255.255.0
broadcast 192.168.1.255
gateway 192.168.1.1
:
ip a
DNS:
nano /etc/resolv.conf
# DNS Google:
nameserver 8.8.8.8
nameserver 8.8.4.4
# ( DNS )
→
https://habrahabr.ru/post/345418/
:
author old2young
linux
linux
admin
ssh
tunnel
socks
tor
wifi
proxy
server
iptables
redsocks