Daj taki skrypt maskarady
#!/bin/sh
echo "1" > =
/proc/sys/net/ipv4/ip_forward
iptables -F -t nat
iptables -X -t nat
iptables -F -t filter
iptables -X -t filter
iptables -t filter -P FORWARD DROP
iptables -t filter -A FORWARD -s 192.168.100.0 -j =
ACCEPT
iptables -t filter -A FORWARD -s 0/0 -j ACCEPT
iptables -t nat -A POSTROUTING -s 192.168.100.2 -j =
MASQUERADE
itd az do 12
modprobe ip_nat_ftp
modprobe ip_nat_irc
i juz
zapisz to jako rc.masq np daj prawa +x dodaj do = rc.local czy rc.M i juz