#!/bin/sh -e
## Clear All Tables ####
#
iptables -t nat -F
iptables -F
#
#### Masquarade ##
#
iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
#
#### Allow LoopBack network ###
#
iptables -A INPUT -i lo -j ACCEPT
#
##### ReMap Ports ####
#
# Torrent
iptables -t nat -A PREROUTING -i ppp0 -p tcp --dport x -j DNAT --to-destination 192.168.x.x:x
iptables -t nat -A PREROUTING -i ppp0 -p udp --dport x -j DNAT --to-destination 192.168.x.x:x
# SSH
iptables -t nat -A PREROUTING -i ppp0 -p tcp --dport x -j ACCEPT
# UltraVnc
iptables -t nat -A PREROUTING -i ppp0 -p tcp --dport x -j DNAT --to-destination 192.168.x.x:x
#
а так же правила касающиеся блокировки некоторых сайтов по типу
#----------------------------------------------eroklassniki.com-------------------------
iptables -A FORWARD -p tcp -s 192.168.x.x/24 -d 208.73.210.27 --dport 80 -j DROP
_______________________________________
вот правила фаервола тут у меня нет никаких пока блокирующих правил
-------------------------------------
У Windows тоесть у клиента VPN настроенно шифрование CHAP и MSCHHAP2 но врядли оно мешает