Witam wszystkich piszę ponieważ nigdzie nie mogę znaleźć odpowiedzi na moje pytanie a jest tak LMS zainstalowany wszystko smiga tak jak powinno no może nie do końca ;) mam ustawione tak: to dane serwera od strony lanu eth0 ip: 192.168.1.1/24 brama: 192.168.1.1 dns 192.168.1.1 to jest główna pula adresowa I teraz skończyły mi się ipki w tej puli więc dodaje kolejną z tym że nie przepuszcza z tej puli poza serwer adresy dhcp ładnie przyznaje kolejna pula wygląda tak: eth0 192.168.2.0/24 brama 192.168.2.1 dns 192.168.1.1 rozgłoszeniowy 192.168.2.255 LMS wygenerował takowy rc.masq: root@serwer:/etc/rc.d# cat rc.masq #!/bin/bash /sbin/iptables -t nat -F /sbin/iptables -t filter -F /sbin/iptables -P FORWARD DROP /etc/rc.d/rc.masq-pre /sbin/iptables -t filter -A FORWARD -s 192.168.1.0/255.255.255.0 -d 192.168.1.0/255.255.255.0 -j ACCEPT /sbin/iptables -t nat -A POSTROUTING -s 192.168.1.0/255.255.255.0 -d 192.168.1.0/255.255.255.0 -j ACCEPT /sbin/iptables -t nat -A PREROUTING -s 192.168.1.0/255.255.255.0 -d 192.168.1.0/255.255.255.0 -j ACCEPT /sbin/iptables -t filter -A FORWARD -s 192.168.1.0/255.255.255.0 -d 192.168.2.0/255.255.255.0 -j ACCEPT /sbin/iptables -t nat -A POSTROUTING -s 192.168.1.0/255.255.255.0 -d 192.168.2.0/255.255.255.0 -j ACCEPT /sbin/iptables -t nat -A PREROUTING -s 192.168.1.0/255.255.255.0 -d 192.168.2.0/255.255.255.0 -j ACCEPT /sbin/iptables -t filter -A FORWARD -s 192.168.2.0/255.255.255.0 -d 192.168.1.0/255.255.255.0 -j ACCEPT /sbin/iptables -t nat -A POSTROUTING -s 192.168.2.0/255.255.255.0 -d 192.168.1.0/255.255.255.0 -j ACCEPT /sbin/iptables -t nat -A PREROUTING -s 192.168.2.0/255.255.255.0 -d 192.168.1.0/255.255.255.0 -j ACCEPT /sbin/iptables -t filter -A FORWARD -s 192.168.2.0/255.255.255.0 -d 192.168.2.0/255.255.255.0 -j ACCEPT /sbin/iptables -t nat -A POSTROUTING -s 192.168.2.0/255.255.255.0 -d 192.168.2.0/255.255.255.0 -j ACCEPT /sbin/iptables -t nat -A PREROUTING -s 192.168.2.0/255.255.255.0 -d 192.168.2.0/255.255.255.0 -j ACCEPT /sbin/iptables -t filter -A FORWARD -s 192.168.2.2 -j ACCEPT /sbin/iptables -t filter -A FORWARD -d 192.168.2.2 -j ACCEPT /sbin/iptables -t nat -A POSTROUTING -s 192.168.2.2 -j MASQUERADE /etc/rc.d/rc.masq-post może wy dopatrzycie się ty jakiegoś błędu będę bardzo wdzięczny za pomoc. -- grzelak96@gmail.com !DSPAM:4a07dc2151334062814199!